* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-color: #fe4d35;
    --brand-dark: #e63a20;
    --brand-light: #ff6b52;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    /* display: flex;
    align-items: center;
    justify-content: center; */
    padding: 20px;
    color: var(--text-primary);
}

.checkoutflow-page {
    display: block;
    width: 100%;
    animation: fadeIn 0.3s ease-in;
}

.checkoutflow-page.checkoutflow-active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkoutflow-checkout-container {
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 48px;
    max-width: 500px;
    width: 100%;
    margin: 0px auto;
}

.checkoutflow-checkout-header {
    margin-bottom: 40px;
    text-align: center;
}

.checkoutflow-checkout-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkoutflow-checkout-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Form Styles */
.checkoutflow-form-container {
    /*margin-bottom: 32px;*/
}

.checkoutflow-form-group {
    margin-bottom: 24px;
}

.checkoutflow-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkoutflow-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.checkoutflow-input-prefix {
    position: absolute;
    left: 16px;
    color: var(--brand-color);
    font-weight: 600;
    font-size: 16px;
    pointer-events: none;
}

input[type="text"],
input[type="email"],
.checkoutflow-coupon-input {
    width: 100%;
    padding: 14px 14px 14px 32px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.checkoutflow-input-wrapper input {
    padding-left: 32px;
}

input[type="text"]:focus,
input[type="email"]:focus,
.checkoutflow-coupon-input:focus {
    outline: none;
    border-color: var(--brand-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(254, 77, 53, 0.1);
}

input::placeholder {
    color: #99999a;
}

.checkoutflow-form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.checkoutflow-form-info {
    background: rgba(254, 77, 53, 0.05);
    border-left: 4px solid var(--brand-color);
    padding: 12px 14px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.checkoutflow-info-icon {
    width: 20px;
    height: 20px;
    color: var(--brand-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkoutflow-form-info p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Button Styles */
.checkoutflow-btn-primary,
.checkoutflow-btn-secondary,
.checkoutflow-btn-apply {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkoutflow-btn-primary {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(254, 77, 53, 0.3);
}

.checkoutflow-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(254, 77, 53, 0.4);
}

.checkoutflow-btn-primary:active {
    transform: translateY(0);
}

.checkoutflow-btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.checkoutflow-btn-secondary:hover {
    background: var(--border-color);
    border-color: var(--text-secondary);
}

.checkoutflow-btn-apply {
    background: var(--brand-color);
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    width: auto;
    margin-left: 8px;
}

.checkoutflow-btn-apply:hover {
    background: var(--brand-dark);
}

.checkoutflow-btn-change {
    background: none;
    border: none;
    color: var(--brand-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0;
}

.checkoutflow-btn-change:hover {
    color: var(--brand-dark);
}

/* Order Summary */
.checkoutflow-order-summary {
    margin-bottom: 32px;
}

.checkoutflow-summary-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.checkoutflow-summary-section:last-child {
    border-bottom: none;
}

.checkoutflow-summary-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.checkoutflow-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.checkoutflow-summary-row .checkoutflow-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.checkoutflow-summary-row .checkoutflow-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Followers Box */
.checkoutflow-followers-box {
    background: linear-gradient(135deg, rgba(254, 77, 53, 0.05) 0%, rgba(254, 77, 53, 0.02) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkoutflow-followers-stat {
    display: flex;
    flex-direction: column;
}

.checkoutflow-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.checkoutflow-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-color);
}

.checkoutflow-followers-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.checkoutflow-followers-icon svg {
    width: 32px;
    height: 32px;
}

/* Package Box */
.checkoutflow-package-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkoutflow-package-content {
    display: flex;
    flex-direction: column;
}

.checkoutflow-package-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.checkoutflow-package-price {
    font-size: 14px;
    color: var(--brand-color);
    font-weight: 700;
}

/* Coupon Toggle */
.checkoutflow-coupon-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.checkoutflow-toggle-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--brand-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0;
}

.checkoutflow-toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.checkoutflow-toggle-btn.checkoutflow-active .checkoutflow-toggle-icon {
    transform: rotate(180deg);
}

.checkoutflow-coupon-section {
    max-height: 500px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

.checkoutflow-coupon-section.checkoutflow-hidden {
    max-height: 0;
    animation: slideUp 0.3s ease;
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        max-height: 500px;
        opacity: 1;
    }
    to {
        max-height: 0;
        opacity: 0;
    }
}

.checkoutflow-coupon-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.checkoutflow-coupon-input {
    flex: 1;
    padding: 12px 14px;
}

.checkoutflow-coupon-message {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

.checkoutflow-coupon-message.checkoutflow-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.checkoutflow-coupon-message.checkoutflow-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.checkoutflow-coupon-message.checkoutflow-hidden {
    display: none;
}

/* Price Breakdown */
.checkoutflow-price-breakdown {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
}

.checkoutflow-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.checkoutflow-breakdown-row.checkoutflow-total {
    border-top: 2px solid var(--border-color);
    padding-top: 14px;
    margin-top: 14px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.checkoutflow-breakdown-row.checkoutflow-total span:last-child {
    color: var(--brand-color);
    font-size: 24px;
}

.checkoutflow-breakdown-row.checkoutflow-discount {
    color: var(--success-color);
}

.checkoutflow-breakdown-row.checkoutflow-discount.checkoutflow-hidden {
    display: none;
}

/* Checkout Buttons */
.checkoutflow-checkout-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.checkoutflow-checkout-buttons .checkoutflow-btn-secondary {
    flex: 1;
}

.checkoutflow-checkout-buttons .checkoutflow-btn-primary {
    flex: 1;
}

/* Progress Indicator */
.checkoutflow-progress-indicator {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.checkoutflow-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 16px;
}

.checkoutflow-step.checkoutflow-active {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    border-color: var(--brand-color);
    color: white;
}

/* Responsive */
@media (max-width: 600px) {
    .checkoutflow-checkout-container {
        padding: 32px 20px;
    }

    .checkoutflow-checkout-header h1 {
        font-size: 28px;
    }

    .checkoutflow-followers-box {
        flex-direction: column;
        align-items: anchor-center;
        text-align: center;
    }

    .checkoutflow-followers-icon {
        align-self: flex-end;
        margin-top: 12px;
        display: none;
    }

    .checkoutflow-coupon-input-group {
        flex-direction: column;
    }

    .checkoutflow-btn-apply {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .checkoutflow-checkout-container {
        padding: 24px 16px;
    }

    .checkoutflow-checkout-header h1 {
        font-size: 24px;
    }

    .checkoutflow-checkout-header p {
        font-size: 14px;
    }

    .checkoutflow-form-group {
        margin-bottom: 20px;
    }
}

.pymt-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 886px;
    width: 100%;
    /* display: grid; */
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    margin: 0px auto;
    margin-bottom: 100px;
}

.pymt-form-section {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pymt-summary-section {
    background: linear-gradient(to bottom, #e8f5f0 0%, #f3e5f5 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.pymt-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.pymt-logo-icon {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 2px solid #333; */
}

.pymt-form-group {
    margin-bottom: 25px;
}

.pymt-form-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #000;
}

.pymt-form-description {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.pymt-form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.pymt-form-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transition: border-color 0.2s;
}

.pymt-form-input:focus {
    outline: none;
    border-color: #333;
}

.pymt-card-icon {
    margin-right: 12px;
}

.pymt-input-icon {
    position: absolute;
    right: 12px;
    color: #999;
}

.pymt-checkbox-icon {
    color: #00c986;
}

.pymt-expiry-group {
    display: grid;
    grid-template-columns: 1fr 30px 1fr;
    gap: 10px;
    align-items: end;
}

.pymt-expiry-input {
    width: 100%;
    text-align: center;
}

.pymt-expiry-separator {
    text-align: center;
    font-weight: bold;
    color: #333;
    padding-bottom: 5px;
}

.pymt-expiry-input-year {
    background-color: #000;
    color: white;
}

.pymt-password-dots {
    letter-spacing: 6px;
    font-size: 18px;
    font-family: 'Courier New', monospace;
}

.pymt-edit-link {
    color: #666;
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    float: right;
    margin-top: -25px;
    margin-bottom: 15px;
}

.pymt-edit-link:hover {
    color: #000;
}

.pymt-pay-button {
    width: 100%;
    padding: 16px;
    background: #000;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s;
}

.pymt-pay-button:hover {
    background: #333;
}

.pymt-footer-text {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    text-align: center;
}

.pymt-footer-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

/* Summary Section Styles */
.pymt-credit-card-display {
    background: linear-gradient(to bottom, #e8f5f0 0%, #f3e5f5 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pymt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pymt-card-type {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.pymt-card-bank {
    font-size: 12px;
    color: #999;
}

.pymt-card-icon-display {
    width: 35px;
    height: 25px;
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
    border-radius: 4px;
}

.pymt-card-number-display {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
    tracking-letter: 3px;
}

.pymt-card-date {
    font-size: 12px;
    color: #ccc;
}

.pymt-cardholder-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-top: 15px;
}

.pymt-order-details {
    background: linear-gradient(135deg, rgba(254, 77, 53, 0.05) 0%, rgba(254, 77, 53, 0.02) 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
}

.pymt-order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 12px; */
    font-size: 13px;
}

.pymt-order-label {
    /* color: #666; */
    color: #000;
}

.pymt-order-value {
    color: #333;
    font-weight: 500;
}

.pymt-vat-row {
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.pymt-payment-methods {
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pymt-payment-logo {
    width: 80px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
}

.pymt-visa-logo {
    background: linear-gradient(135deg, #1434cb 0%, #1434cb 100%);
    color: white;
}

.pymt-mastercard-logo {
    background: linear-gradient(135deg, #eb001b 0%, #f79e1b 100%);
    color: white;
}

.pymt-amex-logo {
    background: linear-gradient(135deg, #006fcf 0%, #006fcf 100%);
    color: white;
}

.pymt-paypal-logo {
    background: linear-gradient(135deg, #003087 0%, #009cde 100%);
    color: white;
}

.pymt-total-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pymt-pay-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.pymt-total-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-color);
}

.pymt-amount-currency {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .pymt-container {
        grid-template-columns: 1fr;
    }

    .pymt-form-section,
    .pymt-summary-section {
        padding: 30px;
    }
}