.thank-you-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    animation: scaleIn 0.5s ease-out;
}

.thank-you-container h1 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-message {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.receipt {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.receipt-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.receipt-header h2 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.receipt-details {
    margin-bottom: 30px;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.receipt-row span:first-child {
    color: var(--text-muted);
}

.receipt-row span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

.receipt-row.total {
    border-top: 2px solid #eee;
    border-bottom: none;
    margin-top: 10px;
    padding-top: 20px;
    font-size: 1.2rem;
}

.receipt-row.total span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.download-receipt {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all var(--transition-speed) ease;
}

.download-receipt:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 48, 50, 0.2);
}

.new-payment-button {
    padding: 16px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px auto 0;
    transition: all var(--transition-speed) ease;
}

.new-payment-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 48, 50, 0.1);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .thank-you-container {
        padding: 20px;
        margin: 20px auto;
    }

    .thank-you-container h1 {
        font-size: 1.6rem;
    }

    .success-message {
        font-size: 1rem;
    }

    .receipt {
        padding: 20px;
    }

    .receipt-header h2 {
        font-size: 1.2rem;
    }

    .receipt-row {
        font-size: 0.9rem;
    }

    .receipt-row.total {
        font-size: 1.1rem;
    }
}