/**
 * Public Checkout Pages - Unified Design System
 * Clean, professional, and trust-inspiring design
 * Used for subscription, PPV purchase, and payment result pages
 */

:root {
    /* Primary Colors - Clean and Professional */
    --checkout-bg-primary: #f8fafc;
    --checkout-bg-secondary: #ffffff;
    --checkout-bg-card: #ffffff;
    --checkout-bg-elevated: #f1f5f9;
    --checkout-bg-input: #f8fafc;

    /* Brand Colors */
    --checkout-brand-primary: #3b82f6;
    --checkout-brand-secondary: #1d4ed8;
    --checkout-brand-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --checkout-brand-light: #eff6ff;

    /* Success/Error Colors */
    --checkout-success: #10b981;
    --checkout-success-light: #d1fae5;
    --checkout-error: #ef4444;
    --checkout-error-light: #fee2e2;
    --checkout-warning: #f59e0b;
    --checkout-warning-light: #fef3c7;

    /* Text Colors */
    --checkout-text-primary: #1e293b;
    --checkout-text-secondary: #64748b;
    --checkout-text-muted: #94a3b8;

    /* Borders & Effects */
    --checkout-border-color: #e2e8f0;
    --checkout-border-radius: 16px;
    --checkout-border-radius-sm: 12px;
    --checkout-border-radius-xs: 8px;
    --checkout-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --checkout-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --checkout-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --checkout-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
.checkout-page {
    background: var(--checkout-bg-primary);
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--checkout-text-primary);
    display: flex;
    flex-direction: column;
}

.checkout-page * {
    box-sizing: border-box;
}

/* ========================================
   HEADER STYLES
   ======================================== */
.checkout-header {
    background: var(--checkout-bg-secondary);
    border-bottom: 1px solid var(--checkout-border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.checkout-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--checkout-text-primary);
}

.checkout-logo img {
    height: 36px;
    width: auto;
}

.checkout-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--checkout-text-primary);
}

.checkout-secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--checkout-success);
    background: var(--checkout-success-light);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 500;
}

.checkout-secure-badge i {
    font-size: 1rem;
}

/* ========================================
   MAIN CONTENT AREA
   ======================================== */
.checkout-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.checkout-container {
    width: 100%;
    max-width: 520px;
}

/* ========================================
   CARD STYLES
   ======================================== */
.checkout-card {
    background: var(--checkout-bg-card);
    border-radius: var(--checkout-border-radius);
    box-shadow: var(--checkout-shadow-xl);
    overflow: hidden;
}

.checkout-card-header {
    background: var(--checkout-brand-gradient);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.checkout-card-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--checkout-bg-card);
    border-radius: 50%;
}

.checkout-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    backdrop-filter: blur(10px);
}

.checkout-card-icon i {
    font-size: 2.5rem;
    color: white;
}

.checkout-card-icon.success {
    background: var(--checkout-success);
}

.checkout-card-icon.error {
    background: var(--checkout-error);
}

.checkout-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.checkout-card-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.checkout-card-body {
    padding: 2.5rem 2rem 2rem;
}

/* ========================================
   TRUST INDICATORS
   ======================================== */
.checkout-trust-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: var(--checkout-bg-elevated);
    border-bottom: 1px solid var(--checkout-border-color);
    flex-wrap: wrap;
}

.checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--checkout-text-secondary);
}

.checkout-trust-item i {
    color: var(--checkout-success);
    font-size: 1rem;
}

/* Info Box for explanations */
.checkout-info-box {
    background: var(--checkout-brand-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--checkout-border-radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.checkout-info-box.warning {
    background: var(--checkout-warning-light);
    border-color: rgba(245, 158, 11, 0.3);
}

.checkout-info-box.success {
    background: var(--checkout-success-light);
    border-color: rgba(16, 185, 129, 0.3);
}

.checkout-info-box-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.checkout-info-box-header i {
    color: var(--checkout-brand-primary);
    font-size: 1.25rem;
}

.checkout-info-box.warning .checkout-info-box-header i {
    color: var(--checkout-warning);
}

.checkout-info-box.success .checkout-info-box-header i {
    color: var(--checkout-success);
}

.checkout-info-box-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--checkout-text-primary);
    margin: 0;
}

.checkout-info-box-text {
    font-size: 0.875rem;
    color: var(--checkout-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   FORM STYLES
   ======================================== */
.checkout-form-section {
    margin-bottom: 1.75rem;
}

.checkout-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--checkout-text-primary);
    margin-bottom: 0.75rem;
}

.checkout-form-label i {
    color: var(--checkout-brand-primary);
}

.checkout-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--checkout-border-color);
    border-radius: var(--checkout-border-radius-xs);
    background: var(--checkout-bg-input);
    color: var(--checkout-text-primary);
    transition: all 0.2s ease;
}

.checkout-input:focus {
    outline: none;
    border-color: var(--checkout-brand-primary);
    background: var(--checkout-bg-secondary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.checkout-input::placeholder {
    color: var(--checkout-text-muted);
}

.checkout-form-hint {
    font-size: 0.8125rem;
    color: var(--checkout-text-muted);
    margin-top: 0.5rem;
}

/* ========================================
   PLAN SELECTION
   ======================================== */
.checkout-plans {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-plan-card {
    position: relative;
    border: 2px solid var(--checkout-border-color);
    border-radius: var(--checkout-border-radius-sm);
    padding: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--checkout-bg-secondary);
}

.checkout-plan-card:hover {
    border-color: var(--checkout-brand-primary);
    background: var(--checkout-brand-light);
}

.checkout-plan-card.selected {
    border-color: var(--checkout-brand-primary);
    background: var(--checkout-brand-light);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.checkout-plan-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkout-plan-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-plan-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--checkout-text-primary);
    margin: 0 0 0.25rem;
}

.checkout-plan-info p {
    font-size: 0.8125rem;
    color: var(--checkout-text-secondary);
    margin: 0;
}

.checkout-plan-price {
    text-align: right;
}

.checkout-plan-price .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--checkout-brand-primary);
}

.checkout-plan-price .duration {
    font-size: 0.8125rem;
    color: var(--checkout-text-muted);
}

/* ========================================
   BUTTONS
   ======================================== */
.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--checkout-border-radius-xs);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.checkout-btn-primary {
    background: var(--checkout-brand-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.checkout-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: white;
}

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

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

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

.checkout-btn-secondary:hover {
    background: var(--checkout-bg-secondary);
    border-color: var(--checkout-brand-primary);
    color: var(--checkout-brand-primary);
}

.checkout-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.checkout-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: white;
}

.checkout-btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.4);
}

.checkout-btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
    color: white;
}

/* ========================================
   RESULT PAGES (SUCCESS/ERROR)
   ======================================== */
.checkout-result-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.checkout-result-icon.success {
    background: var(--checkout-success-light);
    color: var(--checkout-success);
}

.checkout-result-icon.error {
    background: var(--checkout-error-light);
    color: var(--checkout-error);
}

.checkout-result-icon i {
    font-size: 3rem;
}

.checkout-result-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--checkout-text-primary);
    margin: 0 0 0.5rem;
    text-align: center;
}

.checkout-result-message {
    font-size: 1rem;
    color: var(--checkout-text-secondary);
    text-align: center;
    margin: 0 0 2rem;
}

/* Details Box */
.checkout-details-box {
    background: var(--checkout-bg-elevated);
    border-radius: var(--checkout-border-radius-sm);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.checkout-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--checkout-border-color);
}

.checkout-details-row:last-child {
    border-bottom: none;
}

.checkout-details-label {
    font-size: 0.875rem;
    color: var(--checkout-text-secondary);
}

.checkout-details-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--checkout-text-primary);
}

.checkout-details-value.highlight {
    color: var(--checkout-brand-primary);
    font-size: 1.125rem;
}

.checkout-details-value.mono {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    background: var(--checkout-bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Reference Card */
.checkout-reference-card {
    background: var(--checkout-brand-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--checkout-border-radius-sm);
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.checkout-reference-label {
    font-size: 0.8125rem;
    color: var(--checkout-text-secondary);
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-reference-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--checkout-brand-primary);
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    margin: 0;
}

/* ========================================
   FOOTER STYLES
   ======================================== */
.checkout-footer {
    background: var(--checkout-bg-secondary);
    border-top: 1px solid var(--checkout-border-color);
    padding: 1.5rem 0;
}

.checkout-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.checkout-footer-top {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.checkout-footer-link {
    font-size: 0.875rem;
    color: var(--checkout-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-footer-link:hover {
    color: var(--checkout-brand-primary);
}

.checkout-footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--checkout-border-color);
}

.checkout-footer-copyright {
    font-size: 0.8125rem;
    color: var(--checkout-text-muted);
    margin: 0 0 0.5rem;
}

.checkout-footer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.checkout-footer-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--checkout-text-muted);
    background: var(--checkout-bg-elevated);
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
}

.checkout-footer-badge i {
    color: var(--checkout-success);
}

/* ========================================
   LOADING OVERLAY
   ======================================== */
.checkout-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column;
    gap: 1rem;
}

.checkout-loading-overlay.active {
    display: flex;
}

.checkout-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--checkout-border-color);
    border-top-color: var(--checkout-brand-primary);
    border-radius: 50%;
    animation: checkout-spin 1s linear infinite;
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout-loading-text {
    font-size: 1rem;
    color: var(--checkout-text-secondary);
    font-weight: 500;
}

/* ========================================
   PHONE INPUT STYLES
   ======================================== */
.checkout-phone-wrapper {
    display: flex;
    gap: 0;
}

.checkout-phone-wrapper .input-group {
    flex-wrap: nowrap;
}

.checkout-phone-wrapper .dropdown {
    flex-shrink: 0;
}

.checkout-country-selector {
    position: relative;
}

.checkout-country-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--checkout-bg-input);
    border: 2px solid var(--checkout-border-color);
    border-radius: var(--checkout-border-radius-xs) 0 0 var(--checkout-border-radius-xs);
    border-right: 1px solid var(--checkout-border-color);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
    height: auto;
}

.checkout-country-btn:hover,
.checkout-country-btn:focus {
    border-color: var(--checkout-brand-primary);
    background: var(--checkout-bg-secondary);
}

.checkout-country-btn .flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.checkout-country-btn .prefix {
    font-weight: 600;
    color: var(--checkout-text-primary);
    white-space: nowrap;
}

.checkout-phone-input {
    flex: 1;
    border-radius: 0 var(--checkout-border-radius-xs) var(--checkout-border-radius-xs) 0 !important;
    border-left: none !important;
}

.checkout-country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--checkout-bg-secondary);
    border: 2px solid var(--checkout-border-color);
    border-radius: var(--checkout-border-radius-xs);
    box-shadow: var(--checkout-shadow-lg);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.checkout-country-dropdown.show {
    display: block;
}

.checkout-country-search {
    padding: 0.75rem;
    border-bottom: 1px solid var(--checkout-border-color);
}

.checkout-country-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.checkout-country-item:hover {
    background: var(--checkout-brand-light);
}

.checkout-country-item .flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.checkout-country-item .country-name {
    flex: 1;
    color: var(--checkout-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-country-item .country-prefix {
    color: var(--checkout-text-muted);
    font-weight: 500;
    flex-shrink: 0;
}

/* Bootstrap dropdown overrides for checkout pages */
.checkout-phone-wrapper .dropdown-menu {
    min-width: 280px;
    max-height: 320px;
    overflow: hidden;
    border-radius: var(--checkout-border-radius-xs);
    border: 1px solid var(--checkout-border-color);
    box-shadow: var(--checkout-shadow-lg);
    z-index: 1050;
}

.checkout-phone-wrapper .dropdown-menu .country-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
}

.checkout-phone-wrapper .dropdown-menu .country-item .flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.checkout-phone-wrapper .dropdown-menu .country-item .country-name {
    flex: 1;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   CHANNEL/CONTENT INFO
   ======================================== */
.checkout-channel-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--checkout-bg-elevated);
    border-radius: var(--checkout-border-radius-sm);
    margin-bottom: 1.5rem;
}

.checkout-channel-icon {
    width: 56px;
    height: 56px;
    background: var(--checkout-brand-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-channel-icon i {
    font-size: 1.75rem;
    color: white;
}

.checkout-channel-details {
    flex: 1;
    min-width: 0;
}

.checkout-channel-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--checkout-text-primary);
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-channel-description {
    font-size: 0.875rem;
    color: var(--checkout-text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   PPV SPECIFIC STYLES
   ======================================== */
.checkout-ppv-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0;
}

.checkout-ppv-access {
    font-size: 0.9375rem;
    opacity: 0.9;
    margin: 0;
}

.checkout-ppv-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkout-ppv-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--checkout-bg-elevated);
    border-radius: var(--checkout-border-radius-xs);
}

.checkout-ppv-feature i {
    color: var(--checkout-brand-primary);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.checkout-ppv-feature span {
    font-size: 0.9375rem;
    color: var(--checkout-text-primary);
}

/* ========================================
   ALERTS
   ======================================== */
.checkout-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--checkout-border-radius-xs);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkout-alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkout-alert-content {
    flex: 1;
}

.checkout-alert-title {
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.checkout-alert-text {
    font-size: 0.875rem;
    margin: 0;
}

.checkout-alert.success {
    background: var(--checkout-success-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.checkout-alert.success i,
.checkout-alert.success .checkout-alert-title {
    color: var(--checkout-success);
}

.checkout-alert.error {
    background: var(--checkout-error-light);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.checkout-alert.error i,
.checkout-alert.error .checkout-alert-title {
    color: var(--checkout-error);
}

.checkout-alert.warning {
    background: var(--checkout-warning-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.checkout-alert.warning i,
.checkout-alert.warning .checkout-alert-title {
    color: var(--checkout-warning);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 640px) {
    .checkout-header-container {
        padding: 0 1rem;
    }

    .checkout-logo-text {
        display: none;
    }

    .checkout-secure-badge span {
        display: none;
    }

    .checkout-main {
        padding: 1rem;
    }

    .checkout-card-body {
        padding: 1.5rem 1.25rem;
    }

    .checkout-trust-bar {
        gap: 1rem;
        padding: 0.75rem;
    }

    .checkout-trust-item span {
        display: none;
    }

    .checkout-footer-top {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .checkout-phone-wrapper {
        flex-direction: column;
    }

    .checkout-phone-wrapper .input-group {
        flex-wrap: nowrap;
    }

    .checkout-phone-wrapper .dropdown {
        flex-shrink: 0;
    }

    .checkout-country-btn {
        width: auto;
        min-width: 110px;
        padding: 0.75rem 0.875rem;
        border-radius: var(--checkout-border-radius-xs) 0 0 var(--checkout-border-radius-xs);
        border-right: none;
    }

    .checkout-country-btn .flag-icon {
        width: 22px;
        height: 16px;
        flex-shrink: 0;
    }

    .checkout-country-btn .prefix {
        font-size: 0.875rem;
    }

    .checkout-country-btn .bi-chevron-down {
        font-size: 0.625rem;
    }

    .checkout-phone-input {
        border-radius: 0 var(--checkout-border-radius-xs) var(--checkout-border-radius-xs) 0 !important;
        min-width: 0;
        flex: 1;
    }

    .checkout-phone-wrapper .dropdown-menu {
        min-width: 280px;
        max-width: calc(100vw - 2rem);
        left: 0 !important;
        right: auto !important;
    }

    .checkout-phone-wrapper .country-item .flag-icon {
        width: 22px;
        height: 16px;
        flex-shrink: 0;
    }
}

@media (min-width: 641px) {
    .checkout-card-header {
        padding: 2.5rem;
    }

    .checkout-card-body {
        padding: 2.5rem;
    }

    .checkout-result-icon {
        width: 120px;
        height: 120px;
    }

    .checkout-result-icon i {
        font-size: 3.5rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes checkout-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkout-card {
    animation: checkout-fadeIn 0.4s ease-out;
}

@keyframes checkout-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.checkout-result-icon.success {
    animation: checkout-pulse 2s ease-in-out infinite;
}