/* Modern Confirmation Page Styles */
.mileage-confirmation {
    margin: 0 auto;
    padding: 20px;
    /* background: #f8f9fa; */
    border-radius: 20px;
    box-shadow: 0 4px 20px #0000001a;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 0 60px;
    background: #f8fafc;
    border-radius: 20px;
    margin-bottom: 40px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #0057B8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 87, 184, 0.2);
}

.hero-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.summary-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.summary-card.primary {
    background: #0057B8;
    color: white;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.summary-card:not(.primary) .card-icon {
    background: #0057B8;
    color: white;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    opacity: 0.9;
}

.summary-card.primary .card-content h3 {
    color: white;
}

.summary-card:not(.primary) .card-content h3 {
    color: #1a202c;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.summary-card:not(.primary) .card-value {
    color: #0057B8;
}

.summary-card-footnote {
    margin-top: 14px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
}

.thankyou-donation-details {
    margin: 0 0 40px;
    padding: 28px 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.thankyou-plan-mask-note {
    text-align: center;
    font-size: 0.9rem;
    color: #718096;
    margin: 0 0 20px;
    line-height: 1.45;
}

.thankyou-donation-details-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px;
    text-align: center;
}

.thankyou-airline-block {
    margin-bottom: 24px;
}

.thankyou-airline-block:last-child {
    margin-bottom: 0;
}

.thankyou-airline-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0057B8;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.thankyou-plan-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.thankyou-plan-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px 16px;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.thankyou-plan-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.thankyou-plan-label {
    font-weight: 600;
    color: #4a5568;
}

.thankyou-plan-number {
    color: #1a202c;
    word-break: break-all;
}

.thankyou-plan-amount {
    font-weight: 600;
    color: #0057B8;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .thankyou-plan-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .thankyou-plan-amount {
        text-align: left;
        white-space: normal;
    }
}

/* What Happens Next Container */
.what-happens-next-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
}

/* What Happens Next Section */
.what-happens-next {
    text-align: center;
}

.what-happens-next h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0057B8;
    margin-bottom: 40px;
}

.next-steps-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.next-step-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.next-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: auto;
}

.next-step-card:nth-child(1) .step-icon {
    background: #6b7280;
}

.next-step-card:nth-child(2) .step-icon {
    background: #0ea5e9;
}

.next-step-card:nth-child(3) .step-icon {
    background: #fbbf24;
}

.step-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.next-step-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0057B8;
    margin-bottom: 12px;
}

.next-step-card p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Processing Section */
.processing-section {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.processing-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #006fb9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
   
}

.processing-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.processing-section h3 {
    color: #0057B8;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.processing-section p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Thank You Section */
.thank-you-section {
    background: #0057B8;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.thank-you-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.thank-you-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.thank-you-section h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.thank-you-section p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Hero Header */
.confirmation-header {
    text-align: center;
    padding: 60px 40px;
    background: white;
    color: #2c3e50;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.confirmation-header h1 {
    font-size: 3rem;
    font-weight: 300;
    margin: 0 0 20px 0;
    color: #2c3e50;
}

.confirmation-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Content Container */
.confirmation-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Section Cards */
.confirmation-section {
    padding: 40px;
    border-bottom: 1px solid #f0f0f0;
}

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

.confirmation-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.confirmation-section h2::before {
    content: '';
    width: 4px;
    height: 30px;
    background: #006fb9;
    border-radius: 2px;
}

/* Contact Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #006fb9;
}

.info-item strong {
    color: #006fb9;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Donation Entries */
.airline-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
    border-top: 4px solid #006fb9;
}

.donation-entry {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
    border-left: 4px solid #006fb9;
}

.donation-entry h4 {
    color: #006fb9;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.donation-entry h4::before {
    content: '✈️';
    font-size: 1rem;
}

.entry-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.detail-item strong {
    color: #006fb9;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.detail-item span {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Donation Summary */
.donation-summary {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    border-top: 4px solid #006fb9;
}

.donation-summary h3 {
    color: #006fb9;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.summary-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid #006fb9;
}

.summary-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #006fb9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item span {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Thank You Section */
.thank-you-section {
    background: #006fb9;
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.thank-you-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.thank-you-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Next Steps */
.additional-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    margin: 30px 0;
    border: 1px solid #e9ecef;
}

.additional-info h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.next-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.step-icon {
    font-size: 2rem;

    flex-shrink: 0;
}

.step-content h4 {
    color: #006fb9;
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mileage-confirmation {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 30px 20px 40px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .what-happens-next-container {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .what-happens-next h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .next-steps-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .next-step-card {
        padding: 25px;
    }
    
    .processing-section,
    .thank-you-section {
        padding: 30px 20px;
    }
    
    .confirmation-header {
        padding: 60px 20px 40px;
    }
    
    .confirmation-header h1 {
        font-size: 2.5rem;
    }
    
    .confirmation-content {
        margin: -20px 10px 0;
        border-radius: 15px 15px 0 0;
    }
    
    .confirmation-section {
        padding: 30px 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .entry-details {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .next-steps {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-icon {
        width: 60px;
        height: 60px;
    }
    
    .hero-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
    }
    
    .card-icon svg {
        width: 20px;
        height: 20px;
    }
}
