/* Checkout Page Styles */
.checkout-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    height: 100vh;
    color: white;
    overflow: hidden;
}

/* Two Column Layout */
.checkout-layout {
    display: block;
    height: calc(100vh - 40px);
    overflow: hidden;
    margin-right: 440px;
    min-width: 0; /* Prevent overflow */
}

.checkout-left {
    min-width: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    max-width: calc(100vw - 600px); /* Ensure it doesn't exceed available space */
}

.checkout-right {
    height: 100vh;
    width: 600px;
    align-self: stretch;
    background-color: rgba(27, 77, 255, 0.02);
    border: 1px solid rgba(26, 26, 26, 0.1);
    position: fixed;
    right: 0;
    top: 0;
}

/* Product Selection Banner */
.product-banner {
    padding: 24px;
    width: 100%;
    display: block !important;
    position: sticky;
    padding: 115px;
}

.banner-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-details {
    flex: 1;
}

.product-details .product-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(26, 26, 26, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.product-details .product-name {
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.product-details .product-description {
    margin: 0;
    font-size: 16px;
    padding-top: 10px;
    color: rgba(26, 26, 26, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.product-banner .product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    margin-top: 20px;
}

.product-banner .price-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.product-banner .price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

/* Plan Features in Banner */
.product-banner .features-section {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.product-banner .features-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(26, 26, 26, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.product-banner .plan-features {
    margin-top: 0;
}

.product-banner .plan-features .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 16px;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.product-banner .plan-features .benefits-check {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
}

.background-light {
    background: white !important;
}

/* Vertical Steps Container */
.steps-container {
    width: 100%;
}

.step-item {
    border-radius: 12px;
    margin-bottom: 20px;
    background: white;
    transition: all 0.3s ease;
}

.step-item.completed {
    border-color: #00c851;
    background: rgba(0, 200, 81, 0.02);
}

.step-header-row {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    gap: 16px;
    border: 1px solid rgba(26, 26, 26, 0.1);
    background:rgba(27, 77, 255, 0.02);
}

.step-header-row:hover {
    background: rgba(27, 77, 255, 0.02);
}

.step-circle {
    width: 40px;
    height: 40px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-item.active .step-circle {
    color: #1a1a1a
}

.step-item.completed .step-circle {
    /* Remove green background, keep default styling */
    background: transparent;
    color: #666;
}

/* Keep step number visible in completed steps - remove these rules */

.step-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.step-item.active .step-title {
    color: #1a1a1a
}

.step-status {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.step-item.active .step-status {
    color: rgb(98, 91, 246);
}

.step-item.completed .step-status {
    color: rgb(98, 91, 246);
    padding: 4px 8px;
}

.step-item.completed .step-status::before {
    content: '✓';
    font-size: 24px;
    font-weight: 600;
}

.step-item.completed .step-status:not(:empty) {
    font-size: 0; /* Hide text content */
}

.step-content {
    padding: 0 20px 20px 20px;
    margin-top: 20px;
    display: none;
}

.step-item.active .step-content {
    display: block;
    animation: slideDown 0.3s ease;
}

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

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

.hidden-steps {
    display: none !important;
}

.step-header {
    text-align: left;
    margin-bottom: 40px;
}

.step-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.step-header p {
    color: rgba(26, 26, 26, 0.7);
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
    font-weight: 400;
}

/* Hide step headers (h2) for steps 2 and 3 */
#step-2 .step-header h2,
#step-3 .step-header h2 {
    display: none !important;
}

/* Hide verification code label in step 2 */
#step-2 .form-group label[for="otp-input"] {
    display: none;
}

/* Form Styles */
.checkout-form {
    max-width: 600px;
    width: 100%;
    margin: 0;
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color:rgba(26, 26, 26, 0.7);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    color: #1a1a1a;

border-bottom-color: rgba(25, 25, 25, 0.9);
border-bottom-style: none;
border-bottom-width: 0px;
border-image-outset: 0;
border-image-repeat: stretch;
border-image-slice: 100%;
border-image-source: none;
border-image-width: 1;
border-left-color: rgba(25, 25, 25, 0.9);
border-left-style: none;
border-left-width: 0px;
border-right-color: rgba(25, 25, 25, 0.9);
border-right-style: none;
border-right-width: 0px;
border-top-color: rgba(25, 25, 25, 0.9);
border-top-style: none;
border-top-width: 0px;
box-shadow: rgb(224, 224, 224) 0px 0px 0px 1px, rgba(0, 0, 0, 0.07) 0px 2px 4px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1.5px 0px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(255, 68, 248, 0.5);
    box-shadow: rgba(50, 151, 211, 0.7) 0px 0px 0px 1px, rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(50, 151, 211, 0.3) 0px 0px 0px 4px;

}

.form-group input::placeholder {
    color: rgba(25,25,25,0.5);
}

.error-message {
    color: #ff4757;
    font-size: 14px;
    margin-top: 5px;
    min-height: 20px;
}

.field-help {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

/* Centralized Error Messages */
.form-errors {
    margin: 20px 0;
    padding: 0;
    min-height: 0;
}

.form-errors .error-item {
    color: #ff4757;
    font-size: 14px;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    display: none;
}

.form-errors .error-item.show {
    display: block;
}

.form-errors .error-item.success {
    color: #2ed573;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
}

/* Checkbox Styles */
.checkbox-group {
    position: relative;
    margin-bottom: 0;
}

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

.checkbox-label {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    width: 100%;
    gap: 12px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    display: block;
    box-shadow: 0 0 0 1px #d8dee4;
}

.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 10px;
    border: solid rgba(26, 26, 26, 0.9);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
}

.checkbox-text {
    flex: 1;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    min-width: 0;
    word-wrap: break-word;
    display: block;
}

.terms-link {
    color: #1b4dff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: rgba(27, 77, 255, 1);
}

/* Button Styles */
.btn-primary {
    padding: 15px;
    border: none;
    background: rgb(98, 91, 246);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 10px;
    width: 30%;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: none;
}

.btn-primary:disabled .btn-text {
    display: none;
}

.btn-primary:disabled .btn-loading {
    display: inline;
}

.link-button {
    background: none;
    border: none;
    color: #1b4dff;
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.link-button:hover {
    color: rgba(27, 77, 255, 1);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal {
    background: #1a1b1e;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: white;
}

.body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif !important;
}

.modal-body p {
    color: #bbb;
    margin-bottom: 25px;
    text-align: left;
}

/* OTP Input */
.otp-input-group {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.otp-digit {
    width: 50px !important;
    height: 60px;
    text-align: center;
    font-size: 22px !important;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.otp-digit:focus {
    box-shadow:rgba(50, 151, 211, 0.7) 0px 0px 0px 1px, rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(50, 151, 211, 0.3) 0px 0px 0px 4px
}

.resend-section {
    text-align: left;
    margin-top: 20px;
}

/* Payment Redirect Styles */
.payment-redirect {
    text-align: center;
    padding: 40px 20px;
    color: #1a1a1a;
}

.loading-spinner {
    margin: 20px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(27, 77, 255, 0.1);
    border-left: 4px solid #1b4dff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-redirect p {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.redirect-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(27, 77, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(27, 77, 255, 0.1);
}

.redirect-info small {
    color: rgba(26, 26, 26, 0.7);
    font-size: 14px;
}

/* Order Summary */
.order-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-summary h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #bbb;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 18px;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
    margin-top: 15px;
}

/* Stripe Elements */
.stripe-element {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stripe-element:focus-within {
    border-color: rgba(255, 68, 248, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 68, 248, 0.1);
}

/* Success Page */
.success-content {
    text-align: left;
    padding: 40px 20px;

}

.success-icon {
    width: 100px;
    height: 100px;
    background: #00c851;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    margin: 0 0 30px 0;
}

.success-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.success-content p {
    color: #bbb;
    font-size: 16px;
    margin-bottom: 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.success-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.success-details p {
    margin: 10px 0;
    color: #bbb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
}

.success-details strong {
    color: white;
}

/* Responsive Design */
/* Large screens - responsive layout adjustments */
@media (max-width: 1650px) {
    .checkout-right {
        width: 450px;
    }
    
    .checkout-layout {
        margin-right: 370px;
    }
    
    .checkout-left {
        max-width: calc(100vw - 450px - 80px); /* Account for sidebar + extra buffer */
    }
    
    .product-banner {
        padding: 80px 50px;
    }
}

@media (max-width: 1500px) {
    .checkout-right {
        width: 400px;
    }
    
    .checkout-layout {
        margin-right: 320px;
    }
    
    .checkout-left {
        max-width: calc(100vw - 400px - 80px); /* Extra buffer for safety */
    }
    
    .product-banner {
        padding: 60px 40px;
    }
}

@media (max-width: 1300px) {
    .checkout-right {
        width: 350px;
    }
    
    .checkout-layout {
        margin-right: 270px;
    }
    
    .checkout-left {
        max-width: calc(100vw - 350px - 80px); /* Extra buffer for safety */
    }
    
    .product-banner {
        padding: 40px 25px;
    }
}

/* iPad and Tablet Styles */
@media (max-width: 1024px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-right: 0;
        height: auto;
        overflow: visible;
    }
    
    .checkout-right {
        display: none; /* Hide product banner on tablets and mobile */
    }
    
    .product-banner {
        padding: 30px 20px;
    }
    
    .checkout-container {
        padding: 20px;
        height: auto;
        overflow: visible;
    }
    
    .checkout-left {
        height: auto;
        overflow: visible;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .checkout-container {
        padding: 20px 15px;
        height: auto;
        overflow: visible;
        max-width: 100vw;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-right: 0;
        height: auto;
        overflow: visible;
        max-width: 100%;
    }
    
    .checkout-left {
        max-width: 100% !important;
        width: 100%;
        height: auto;
        overflow: visible;
    }
    
    .checkout-right {
        display: none; /* Hide product banner on mobile */
    }
    
    .product-banner {
        margin-bottom: 20px;
        padding: 25px 20px;
    }
    
    /* Step header improvements */
    .step-header-row {
        padding: 18px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .step-title {
        font-size: 16px;
        flex: 1;
        min-width: 0;
        font-weight: 600;
    }
    
    .step-status {
        font-size: 13px;
        padding: 4px 10px;
        border-radius: 20px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
    }
    
    .step-content {
        padding: 0 16px 20px 16px;
    }
    
    /* Form optimizations */
    .checkout-form {
        max-width: 100%;
        padding: 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    
    /* Form improvements */
    .form-group {
        margin-bottom: 24px;
    }
    
    .form-group label {
        font-size: 15px;
        margin-bottom: 8px;
        font-weight: 500;
        display: block;
    }
    
    .form-group input,
    .form-group select {
        padding: 16px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 10px;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid rgba(26, 26, 26, 0.15);
        transition: border-color 0.2s ease;
    }
    
    .form-group input:focus,
    .form-group select:focus {
        border-color: rgba(27, 77, 255, 0.4);
        outline: none;
    }
    
    /* Button improvements */
    .btn-primary {
        width: 100%;
        padding: 18px 20px;
        font-size: 17px;
        font-weight: 600;
        margin-top: 30px;
        border-radius: 12px;
        min-height: 56px; /* Minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .btn-primary:active {
        transform: scale(0.98);
    }
    
    /* Link button improvements */
    .link-button {
        font-size: 16px;
        padding: 8px 12px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* OTP input improvements */
    .otp-input-group {
        gap: 10px;
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .otp-digit {
        width: 48px !important;
        height: 58px;
        font-size: 22px;
        border-radius: 10px !important;
        text-align: center;
        font-weight: 600;
    }
    
    /* Step header improvements */
    .step-header h2 {
        font-size: 22px;
        margin-bottom: 10px;
        font-weight: 600;
        line-height: 1.3;
    }
    
    .step-header p {
        font-size: 15px;
        line-height: 1.5;
        color: rgba(26, 26, 26, 0.7);
    }
    
    /* Hide step headers (h2) for steps 2 and 3 in mobile */
    #step-2 .step-header h2,
    #step-3 .step-header h2 {
        display: none !important;
    }
    
    /* Checkbox improvements */
    .checkbox-label {
        gap: 12px;
        align-items: flex-start;
        padding: 8px 0;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .checkbox-custom {
        margin-top: 4px;
        width: 20px;
        height: 20px;
    }
    
    .checkbox-text {
        font-size: 15px;
        line-height: 1.5;
        color: #1a1a1a;
    }
    
    /* Error message improvements */
    .form-errors .error-item {
        font-size: 15px;
        padding: 14px 16px;
        margin-bottom: 12px;
        border-radius: 10px;
        line-height: 1.4;
    }
    
    /* Resend section improvements */
    .resend-section {
        margin-top: 25px;
        text-align: center;
    }
    
    .resend-section p {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .checkout-container {
        padding: 16px 12px;
        height: auto;
        overflow: visible;
        max-width: 100vw;
    }
    
    .checkout-layout {
        gap: 16px;
        max-width: 100%;
    }
    
    .checkout-left {
        max-width: 100% !important;
        width: 100%;
    }
    
    .product-banner {
        padding: 20px 16px;
    }
    
    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 15px;
        font-weight: 600;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", "Ubuntu", sans-serif;
    }
    
    .step-title {
        font-size: 16px;
        font-weight: 600;
    }
    
    .step-status {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .step-header-row {
        padding: 16px 14px;
        gap: 10px;
        border-radius: 10px;
    }
    
    .step-content {
        padding: 0 14px 16px 14px;
    }
    
    /* Form improvements */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 500;
    }
    
    .form-group input,
    .form-group select {
        padding: 16px 14px;
        font-size: 16px;
        border-radius: 10px;
        border: 1px solid rgba(26, 26, 26, 0.15);
    }
    
    /* Button improvements */
    .btn-primary {
        padding: 18px 16px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 12px;
        min-height: 56px;
    }
    
    /* Link button improvements */
    .link-button {
        font-size: 15px;
        padding: 10px 14px;
        min-height: 44px;
    }
    
    /* OTP improvements */
    .otp-input-group {
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .otp-digit {
        width: 44px !important;
        height: 54px;
        font-size: 20px;
        border-radius: 8px !important;
        font-weight: 600;
    }
    
    /* Checkbox improvements */
    .checkbox-label {
        gap: 10px;
        padding: 6px 0;
    }
    
    .checkbox-custom {
        width: 18px;
        height: 18px;
        margin-top: 3px;
    }
    
    .checkbox-text {
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* Step header improvements */
    .step-header h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .step-header p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* Product banner improvements */
    .product-details .product-name {
        font-size: 18px;
    }
    
    .product-details .product-description {
        font-size: 14px;
    }
    
    .plan-features .feature {
        font-size: 13px;
        margin-bottom: 10px;
    }
}

/* Product Selection */
.product-selection {
    margin: 20px 0;
}

.product-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-option:hover {
    border-color: #ff44f8;
    background: rgba(255, 68, 248, 0.1);
}

.product-option input[type="radio"] {
    display: none;
}

.product-option input[type="radio"]:checked + label {
    color: #ff44f8;
}

.product-option input[type="radio"]:checked + label .product-info {
    border-color: #ff44f8;
}

.product-option label {
    display: block;
    cursor: pointer;
    width: 100%;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.product-info h4 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: white;
}

.product-info p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff44f8;
}

.selected-product-summary {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Error message styling */
.error-message {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}