/* Payment Selection Layout */
.donation-selection-container {
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.section-title {
    text-align: center;
    color: var(--color-primary-dark);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 2rem;
}

/* Main Premium Card Wrapper */
.donation-content-wrapper {
    display: flex;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    overflow: hidden; /* For rounded corners */
    min-height: 400px;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Sidebar Styling (Left) */
.donation-sidebar {
    flex: 0 0 260px; /* Fixed width */
    background: #fffbf2; /* Subtle Cream */
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    padding: 0 30px;
    margin-bottom: 20px;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-option {
    cursor: pointer;
    width: 100%;
    margin: 0;
}

.payment-option input {
    display: none;
}

/* Menu Item Style */
.option-card {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 18px 30px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    color: #666;
}

.option-card .icon {
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.option-card .label {
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* Hover State */
.payment-option:hover .option-card {
    background: rgba(255, 165, 0, 0.05);
    color: var(--color-primary);
}

/* Active State */
.payment-option input:checked + .option-card {
    background: #fff;
    border-left-color: var(--color-primary);
    color: var(--color-primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.payment-option input:checked + .option-card .icon {
    transform: scale(1.1);
    color: var(--color-primary);
}

/* Right Panel Styling */
.donation-details-panel {
    flex: 1;
    padding: 40px;
    background: #fff;
    position: relative;
}

/* Details Content */
.details-card {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.details-card h3 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #fff3cd; /* Light Gold Underline */
    padding-bottom: 10px;
    display: inline-block;
}

/* Bank Grid */
.bank-info-grid {
    display: grid;
    gap: 18px;
    margin-top: 1rem;
}

.info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    border-bottom: 1px dashed #eee;
    padding-bottom: 12px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-row .value {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
}

/* UPI Box */
.upi-box {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push button to right */
    gap: 15px;
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 12px;
    margin-top: 25px;
}

.upi-box code {
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    letter-spacing: 1px;
}

.btn-copy {
    background: #fff;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-copy:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-copy:active {
    transform: translateY(0);
}

/* Copy Feedback Toast */
.copy-feedback {
    text-align: right;
    font-size: 0.85rem;
    color: #27ae60; /* Success Green */
    font-weight: 600;
    min-height: 20px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    margin-top: 8px;
    margin-right: 5px;
}

.copy-feedback.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .donation-content-wrapper {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .donation-sidebar {
        width: 100%;
        flex: none;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
    }

    .payment-options {
        flex-direction: row;
        width: 100%;
    }

    .option-card {
        padding: 12px 20px;
        border-left: none;
        border-bottom: 4px solid transparent;
        justify-content: center;
        border-radius: 8px;
    }

    .payment-option input:checked + .option-card {
        border-left: none;
        border-bottom-color: var(--color-primary);
    }
    
    .donation-details-panel {
        padding: 25px;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

/* Notification Form Section */
.donation-notification-container {
    max-width: 900px;
    margin: 4rem auto;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.card-style {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    padding: 3rem;
    border: 1px solid rgba(0,0,0,0.03);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fdfdfd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.1);
    background: #fff;
}

.form-actions {
    text-align: center;
    margin-top: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.4);
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Form adjustment */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .card-style {
        padding: 1.5rem;
    }
}
