﻿.payment-container {
   /* max-width: 900px;*/
    margin: 50px auto;
    padding: 0 120px;
}

.payment-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

    .payment-header h1 {
        font-size: 2.8rem;
        color: #2c3e50;
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
    }

        .payment-header h1:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
            border-radius: 2px;
        }

    .payment-header p {
        font-size: 1.2rem;
        color: #7f8c8d;
        max-width: 700px;
        margin: 30px auto 0;
        line-height: 1.8;
    }


.cards-container {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.upi-details-card,
.bank-details-card {
    flex: 1;
}

.upi-details-card {
    margin-bottom: 0; 
}

@media (max-width: 1024px) {
    .cards-container {
        flex-direction: column;
    }

    .upi-details-card,
    .bank-details-card {
        width: 100%;
    }
}


.bank-details-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.1);
    position: relative;
    overflow: hidden;
}

  
.card-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    color: #2c3e50;
}

    .card-title i {
        font-size: 32px;
        background: linear-gradient(135deg, #3498db, #2ecc71);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .card-title h2 {
        font-size: 2.2rem;
        font-weight: 600;
    }

.bank-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.detail-box {
    background: white;
    padding: 10px;
    border-radius: 15px;
    border-left: 4px solid #3498db;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .detail-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .detail-box.premium {
        border-left-color: #e74c3c;
        position: relative;
        overflow: hidden;
    }

        .detail-box.premium:before {
            content: 'IMPORTANT';
            position: absolute;
            top: 10px;
            right: -30px;
            background: #e74c3c;
            color: white;
            padding: 5px 40px;
            transform: rotate(45deg);
            font-size: 12px;
            font-weight: 600;
        }

.detail-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

.detail-value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
    word-break: break-all;
    margin-bottom: 15px;
}

    .detail-value.copyable {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

.copy-btn {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .copy-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    }

    .copy-btn.copied {
        background: linear-gradient(135deg, #2ecc71, #27ae60);
    }

.success-message {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
    animation: slideDown 0.3s ease;
}

.additional-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    border-left: 4px solid #f39c12;
}

.info-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #2c3e50;
}

    .info-title i {
        font-size: 24px;
        color: #f39c12;
    }

    .info-title h3 {
        font-size: 1.5rem;
        font-weight: 600;
    }

.info-content {
    color: #5d6d7e;
    line-height: 1.8;
    font-size: 1.1rem;
}

    .info-content p {
        margin-bottom: 15px;
    }

.info-highlight {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #9b59b6;
    font-weight: 500;
    color: #2c3e50;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

    .contact-item:hover {
        transform: translateY(-3px);
    }

    .contact-item i {
        font-size: 20px;
        color: #3498db;
        width: 40px;
        height: 40px;
        background: #ebf5fb;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-details p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .payment-container {
        margin: 30px auto;
    }

    .payment-header h1 {
        font-size: 2.2rem;
    }

    .bank-details-card {
        padding: 25px;
    }

    .card-title h2 {
        font-size: 1.8rem;
    }

    .detail-value {
        font-size: 1.1rem;
    }

    .copy-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .bank-details-grid {
        grid-template-columns: 1fr;
    }

    .payment-header h1 {
        font-size: 1.8rem;
    }

    .payment-header p {
        font-size: 1rem;
    }
}

/* UPI Details Card Styles */
.upi-details-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.upi-instructions {
    margin-bottom: 40px;
}

    .upi-instructions > p {
        font-size: 1.1rem;
        color: #5d6d7e;
        margin-bottom: 30px;
        text-align: center;
    }

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-content h4 {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 11px;
}

.step-content p {
    color: #7f8c8d;
    line-height: 1.7;
}

.upi-id-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border: 1px dashed #d6dbdf;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 15px;
}

#upiId {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e74c3c;
    letter-spacing: 1px;
}

.mh-200 {
    max-height:300px;
}

/* Update these existing media queries and add new ones */

@media (max-width: 1200px) {
    .payment-container {
        padding: 0 60px;
    }
}

@media (max-width: 992px) {
    .payment-container {
        padding: 0 40px;
    }

    .cards-container {
        flex-direction: column;
        gap: 30px;
    }

    .upi-details-card,
    .bank-details-card {
        width: 100%;
        padding: 30px;
    }

    .bank-details-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .payment-container {
        padding: 0 20px;
        margin: 30px auto;
    }

    .payment-header {
        margin-bottom: 30px;
        padding: 0 10px;
    }

        .payment-header h1 {
            font-size: 2rem;
        }

        .payment-header p {
            font-size: 1.1rem;
            margin: 20px auto 0;
            padding: 0 10px;
        }

    .mh-200 {
        max-height: 250px;
        margin: 20px auto;
    }

    .card-title {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 30px;
    }

        .card-title i {
            font-size: 28px;
        }

        .card-title h2 {
            font-size: 1.8rem;
        }

    .upi-details-card,
    .bank-details-card {
        padding: 25px 20px;
    }

    .bank-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detail-value {
        font-size: 1rem;
    }

    .copy-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .upi-id-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    #upiId {
        font-size: 1.1rem;
        display: block;
        word-break: break-all;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items:center;
    }

    .step-number {
        margin: 0 auto;
    }

    .step-content h4 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 1rem;
    }

    .after-donation-section {
        margin-top: 30px;
    }

    .additional-info {
        padding: 25px 20px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .payment-header h1 {
        font-size: 1.8rem;
    }

    .payment-header p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .card-title h2 {
        font-size: 1.6rem;
    }

    .detail-box {
        padding: 15px;
    }

    .detail-label {
        font-size: 0.85rem;
    }

    .detail-value {
        font-size: 0.95rem;
    }

    .info-title h3 {
        font-size: 1.3rem;
    }

    .info-content {
        font-size: 1rem;
    }

    .success-message {
        padding: 10px;
        font-size: 0.9rem;
    }

    .upi-instructions > p {
        font-size: 1rem;
        text-align: left;
        padding: 0 10px;
    }
}

@media (max-width: 360px) {
    .payment-header h1 {
        font-size: 1.6rem;
    }

    .card-title h2 {
        font-size: 1.4rem;
    }

    .upi-details-card,
    .bank-details-card {
        padding: 20px 15px;
    }

    .copy-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    #upiId {
        font-size: 1rem;
    }
}