/* Cobrar transferencia - Exact Design Match */
/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Exact match from design */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Status Colors */
    --pending-bg: #FEF3C7;
    --pending-text: #D97706;
    --success-green: #10B981;
    --error-red: #EF4444;
    
    /* Button Colors - Light blue/gray as shown */
    --button-bg: #E5E7EB;
    --button-text: #374151;
    --button-hover: #D1D5DB;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
}

/* Base Styles */
html {
    font-size: 16px;
    line-height: 1.5;
}

body {
    font-family: var(--font-family);
    background: var(--gray-50);
    color: #111827;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: var(--space-4);
}

/* Header Styles */
.app-header {
    background: #FFFFFF;
    border-radius: var(--radius-2xl);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: var(--space-4) var(--space-6);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    margin: 0 0 var(--space-6) 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.header-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
}

/* App Container */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Main Card */
.main-card {
    background: #FFFFFF;
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-3);
    width: 100%;
}

/* Header Section */
.header-section {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: var(--space-8);
}

.header-content {
    flex: 1;
    min-width: 0;
}

.main-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #1F2937;
    margin-bottom: var(--space-2);
    line-height: 1.2;
}

.main-description {
    font-size: var(--font-size-sm);
    color: #4B5563;
    font-weight: 400;
    line-height: 1.4;
}

.status-badge {
    background: var(--pending-bg);
    color: var(--pending-text);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
    margin-left: var(--space-4);
}

/* Loading State */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-4);
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--gray-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-4);
}

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

.loading-text {
    color: #4B5563;
    font-size: var(--font-size-base);
    font-weight: 500;
}
/* Footer */
.footer {
    text-align: center;
    padding: calc(var(--space-4) + 4px) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.footer-text {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
    font-weight: 400;
    line-height: 1.4;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex-wrap: wrap;
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

.footer-legal-label {
    font-weight: 600;
    color: var(--gray-600);
}

.footer-divider {
    color: var(--gray-300);
    font-weight: 600;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

.footer-link:hover {
    color: var(--gray-700);
}

.footer-link[data-placeholder="true"] {
    cursor: not-allowed;
    opacity: 0.65;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
    color: #1F2937;
    font-size: var(--font-size-xs);
    font-weight: 500;
    margin-top: var(--space-2);
    width: fit-content;
}

.footer-credit-icon {
    width: 18px;
    height: 18px;
    background-color: #306FF6;
    mask: url('/icon.svg') no-repeat center / contain;
    -webkit-mask: url('/icon.svg') no-repeat center / contain;
    opacity: 0.9;
}

.footer-credit-text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.footer-credit .footer-link {
    color: #306FF6;
    font-weight: 700;
}

.footer-credit .footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .footer-credit {
        width: fit-content;
        justify-content: center;
        padding: var(--space-1) var(--space-2);
    }
}
/* Responsive Design */

@media (max-width: 400px) {
    body {
        padding: var(--space-2);
    }
    
    .main-card {
        padding: var(--space-4);
        border-radius: var(--radius-2xl);
    }
    
    .header-section {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: var(--space-4);
        justify-content: space-between !important;
    }
    
    .header-content {
        flex: 1 !important;
        min-width: 0;
    }
    
    .status-badge {
        margin-left: 0 !important;
        align-self: flex-start !important;
        flex-shrink: 0 !important;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }
    
    .detail-value {
        text-align: left;
        max-width: 100%;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1F2937;
        --gray-50: #111827;
        --gray-100: #1F2937;
        --gray-200: #374151;
        --gray-300: #4B5563;
        --gray-400: #6B7280;
        --gray-500: #9CA3AF;
        --gray-600: #D1D5DB;
        --gray-700: #E5E7EB;
        --gray-800: #F3F4F6;
        --gray-900: #F9FAFB;
    }
    
    body {
        background: var(--gray-50);
    }
}

/* Payment Method Tabs */
.payment-method-section {
    margin-bottom: var(--space-6);
}

.payment-method-tabs {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 4px;
    gap: 4px;
}

.payment-method-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border: none;
    border-radius: var(--radius-md);
    background: transparent;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.payment-method-tab.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

.payment-method-tab:hover:not(.active):not(.disabled) {
    color: var(--gray-800);
    background: var(--gray-50);
}

.payment-method-tab.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.payment-method-tab.disabled:hover {
    background: transparent;
    color: var(--gray-600);
}

.tab-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10B981;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

.tab-badge.warning {
    background: #F59E0B;
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.tab-icon {
    font-size: var(--font-size-base);
}

.tab-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.tab-text {
    font-weight: 600;
}

/* DIMO User Info */
.dimo-user-info {
    margin-top: var(--space-4);
}

.dimo-user-card {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    color: white;
    box-shadow: var(--shadow-md);
}

.dimo-user-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.dimo-icon {
    font-size: var(--font-size-lg);
}

.dimo-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.dimo-user-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.dimo-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dimo-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    opacity: 0.9;
}

.dimo-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* DIMO Error State */
.dimo-user-card.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    text-align: center;
    padding: 24px;
}

.dimo-user-card.error .dimo-title {
    color: white;
}

.dimo-user-card.error .dimo-label {
    color: rgba(255, 255, 255, 0.9);
}

.dimo-user-card.error .dimo-value {
    color: white;
    font-weight: 500;
}

/* DIMO Error Content */
.dimo-error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.dimo-error-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.dimo-error-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.dimo-error-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
}

/* PENDING CONFIRMATION Design */
.pending-confirmation-design {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.confirmation-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmation-checkmark {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.confirmation-icon-img {
    width: 64px;
    height: 64px;
}

.confirmation-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    line-height: 1.3;
}

.confirmation-sender-name {
    font-size: var(--font-size-2xl);
    color: #306FF6;
    margin: 0;
    font-weight: 700;
}

.confirmation-subtitle {
    font-size: var(--font-size-base);
    color: #000000;
    margin: 0;
    font-weight: 500;
}

.confirmation-amount {
    font-size: 2.5rem;
    font-weight: 500;
    color: #306FF6;
    margin: 0;
    padding: 8px 20px;
    background: rgba(250, 250, 250, 0.7);
    border: 1px solid white;
    border-radius: 8px;
    box-shadow: 0 2px 42px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.confirmation-account-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 24px;
}

.confirmation-account-label {
    font-size: var(--font-size-base);
    color: #1F2937;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.confirmation-account-card {
    background: #FFFFFF;
    border: 2px solid #306FF6;
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.confirmation-account-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bank-card-icon {
    font-size: 1.5rem;
}

.confirmation-account-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.confirmation-account-type {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #4B5563;
}

.confirmation-account-number {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: #1F2937;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.confirmation-bank-name {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: #1F2937;
    margin-top: 4px;
}

.confirmation-account-holder {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #1F2937;
    margin-top: 4px;
}

.confirmation-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.confirmation-claim-button {
    background: #306FF6;
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.confirmation-claim-button:hover {
    background: #2558CC;
}

.confirmation-different-button {
    background: #374151;
    color: #FFFFFF;
    border: 2px solid #4B5563;
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.confirmation-different-button:hover {
    background: #4B5563;
    color: #FFFFFF;
}

/* Promo Footer */
.promo-footer {
    margin-top: var(--space-2);
    margin-bottom: var(--space-6);
}

.promo-card {
    background: #F0FDFB;
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E6FFFA;
}

.promo-content {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.promo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.promo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-f {
    color: var(--white);
    font-size: var(--font-size-xl);
    font-weight: 700;
    font-family: var(--font-family);
}

.promo-text {
    flex: 1;
}

.promo-title {
    color: #1F2937;
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.promo-description {
    font-size: var(--font-size-sm);
    color: #4B5563;
    font-weight: 400;
    line-height: 1.4;
}

.promo-buttons {
    display: flex;
    gap: var(--space-3);
}

.promo-button {
    flex: 1;
    background: #000000;
    color: #FFFFFF !important;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.promo-button:hover {
    background: #1a1a1a;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.promo-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.promo-button-text {
    font-family: var(--font-family);
}

/* Responsive adjustments for promo footer */
@media (max-width: 480px) {
    .promo-card {
        padding: var(--space-6);
        border-radius: var(--radius-2xl);
    }
    
    .promo-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-3);
    }
    
    .promo-buttons {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .promo-title {
    color: #1F2937;
        font-size: var(--font-size-base);
    }
}

/* PAID Status Design Styles */
.paid-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

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

.paid-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.paid-status-badge {
    background: #10B981;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.paid-instruction {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.paid-summary-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.paid-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    text-align: right;
}

.paid-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paid-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.paid-label {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

.paid-value {
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.paid-time-remaining {
    color: #10B981;
    font-size: 12px;
    font-weight: 500;
    margin-top: 4px;
}

.paid-confirmation {
    background: #ECFDF5;
    border: 1px solid #D1FAE5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.paid-confirmation-title {
    color: #10B981;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.paid-confirmation-subtitle {
    color: #059669;
    font-size: 14px;
    line-height: 1.5;
}

.paid-transaction-details {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.paid-tracking-key {
    background: #F3F4F6;
    color: #6B7280;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
}

.paid-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paid-button {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.paid-button-secondary {
    background: #ffffff;
    color: #374151;
    border: 1px solid #D1D5DB;
}

.paid-button-secondary:hover {
    background: #F9FAFB;
}

.paid-button-primary {
    background: #1F2937;
    color: #ffffff;
}

.paid-button-primary:hover {
    background: #374151;
}

/* EXPIRED Design for main page */
.expired-design {
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

.expired-design .expired-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.expired-design .expired-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.expired-design .expired-status-badge {
    background: #FEE2E2;
    color: #DC2626;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #FECACA;
}

.expired-design .expired-instruction {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.expired-design .expired-summary-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 8px;
}

.expired-design .expired-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    text-align: right;
}

.expired-design .expired-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expired-design .expired-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expired-design .expired-label {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

.expired-design .expired-value {
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.expired-design .expired-message {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
}

.expired-design .expired-message p {
    color: #374151;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* PENDING Design for main page */
.pending-design {
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

.pending-design .pending-summary-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Make pending design use the same layout as the original design */
.pending-design .pending-summary-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.pending-design .pending-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    text-align: right;
}

.pending-design .pending-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pending-design .pending-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pending-design .pending-label {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

.pending-design .pending-value {
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.pending-design .pending-form-section {
    margin-bottom: 20px;
}

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

.pending-design .pending-form-label {
    display: block;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.pending-design .pending-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    color: #1F2937;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.pending-design .pending-form-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pending-design .pending-form-input::placeholder {
    color: #9CA3AF;
}

.pending-design .pending-form-helper {
    color: #6B7280;
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.4;
}

.pending-design .pending-select-wrapper {
    position: relative;
}

.pending-design .pending-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    color: #1F2937;
    background: #ffffff;
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.pending-design .pending-form-select:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pending-design .pending-select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    pointer-events: none;
}

.pending-design .pending-error-message {
    color: #DC2626;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.pending-design .pending-action-section {
    margin-bottom: 20px;
}

.pending-design .pending-claim-button {
    width: 100%;
    padding: 16px 24px;
    background: #F3F4F6;
    color: #6B7280;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pending-design .pending-claim-button:hover:not(:disabled) {
    background: #E5E7EB;
}

.pending-design .pending-claim-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.pending-design .pending-claim-error {
    color: #DC2626;
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
    padding: 12px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
}

/* PAID Design for main page */
.paid-design {
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
}
.paid-design .paid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.paid-design .paid-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.paid-design .paid-status-badge {
    background: #10B981;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.paid-design .paid-summary-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.paid-design .paid-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    text-align: right;
}

.paid-design .paid-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paid-design .paid-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.paid-design .paid-label {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

.paid-design .paid-value {
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.paid-design .paid-confirmation {
    background: #ECFDF5;
    border: 1px solid #D1FAE5;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.paid-design .paid-confirmation-title {
    color: #10B981;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.paid-design .paid-confirmation-subtitle {
    color: #059669;
    font-size: 14px;
    line-height: 1.5;
}

.paid-design .paid-transaction-details {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.paid-design .paid-tracking-key {
    background: #F3F4F6;
    color: #6B7280;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
}

.paid-design .paid-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paid-design .paid-button {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.paid-design .paid-button-secondary {
    background: #ffffff;
    color: #374151;
    border: 1px solid #D1D5DB;
}

.paid-design .paid-button-secondary:hover {
    background: #F9FAFB;
}

.paid-design .paid-button-primary {
    background: #1F2937;
    color: #ffffff;
}

.paid-design .paid-button-primary:hover {
    background: #374151;
}

/* CANCELED Design for main page */
.canceled-design {
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0;
}

.canceled-design .canceled-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.canceled-design .canceled-title {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
}

.canceled-design .canceled-status-badge {
    background: #F3F4F6;
    color: #6B7280;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #E5E7EB;
}

.canceled-design .canceled-instruction {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.canceled-design .canceled-summary-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 8px;
}

.canceled-design .canceled-amount {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
    text-align: right;
}

.canceled-design .canceled-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.canceled-design .canceled-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.canceled-design .canceled-label {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

.canceled-design .canceled-value {
    color: #1F2937;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.canceled-design .canceled-message {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
}

.canceled-design .canceled-message p {
    color: #374151;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* Mobile responsive adjustments for PAID design */
@media (max-width: 480px) {
    .paid-container {
        padding: 16px;
    }
    
    .paid-title {
        font-size: 20px;
    }
    
    .paid-amount {
        font-size: 28px;
    }
    
    .paid-actions {
        gap: 8px;
    }
    
    .paid-button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .paid-design {
        padding: 0;
        margin: 0;
    }
    
    .paid-design .paid-title {
        font-size: 20px;
    }
    
    .paid-design .paid-amount {
        font-size: 28px;
    }
    
    .paid-design .paid-actions {
        gap: 8px;
    }
    
    .paid-design .paid-button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .expired-design {
        padding: 0;
        margin: 0;
    }
    
    .expired-design .expired-title {
        font-size: 20px;
    }
    
    .expired-design .expired-amount {
        font-size: 28px;
    }
    
    .canceled-design {
        padding: 0;
        margin: 0;
    }
    
    .canceled-design .canceled-title {
        font-size: 20px;
    }
    
    .canceled-design .canceled-amount {
        font-size: 28px;
    }
    
    /* PENDING Design mobile adjustments */
    .pending-design {
        padding: 0;
    }
    
    .pending-design .pending-summary-card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .pending-design .pending-amount {
        font-size: 28px;
    }
    
    .pending-design .pending-form-section {
        margin-bottom: 16px;
    }
    
    .pending-design .pending-form-group {
        margin-bottom: 16px;
    }
    
    .pending-design .pending-action-section {
        margin-bottom: 16px;
    }
}

/* ============================================
   Claim Error Overlay
   ============================================ */

.claim-error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: var(--space-4);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.claim-error-card {
    background: #FFFFFF;
    color: #111827;
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    color-scheme: light;
    -webkit-color-scheme: light;
}

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

.claim-error-icon {
    font-size: 64px;
    margin-bottom: var(--space-4);
    animation: bounce 0.5s ease-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.claim-error-title {
    color: #111827;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.claim-error-message {
    color: #374151;
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.claim-error-help {
    color: #4B5563;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-top: var(--space-4);
    margin-bottom: var(--space-6);
    padding: var(--space-3);
    background: #F9FAFB;
    border-radius: var(--radius-lg);
}

.claim-error-button {
    background: #306FF6;
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    max-width: 300px;
}

.claim-error-button:hover {
    background: #2558CC;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(48, 111, 246, 0.3);
}

.claim-error-button:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .claim-error-card {
        padding: var(--space-6);
    }
    
    .claim-error-icon {
        font-size: 48px;
    }
    
    .claim-error-title {
        font-size: 20px;
    }
}
