/* Your existing styles remain the same */
.gc_contact_section_form_wrapper { margin-top: 0 !important;}
.gc_causes_single_contact_form_wrapper { padding-bottom: 0 !important;}

/* Additional styling without disrupting existing layout */
.gc_causes_single_forms i { margin-left: 0px !important; }

/* Form Box Container */
.donation-form-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px 35px;
    margin: 30px 0;
    border: 1px solid rgba(183, 101, 44, 0.15);
    transition: all 0.3s ease;
}

/* Form field focus effect */
.gc_causes_single_forms input:focus,
.gc_causes_single_forms select:focus,
.gc_causes_single_teatarea textarea:focus {
    border-color: #b7652c !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(183, 101, 44, 0.1);
}

/* Donation amount boxes */
.donation-box {
    background: linear-gradient(135deg, #fff5eb 0%, #ffe8d6 100%);
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ffdec2;
    height: 100%;
}

.donation-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(183, 101, 44, 0.15);
    border-color: #b7652c;
}

.donation-box label {
    font-weight: 600;
    color: #5a3a2a;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Total amount box */
.total-amount-box {
    background: linear-gradient(135deg, #b7652c 0%, #9a4e1e 100%);
    padding: 18px 25px;
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 15px rgba(183, 101, 44, 0.3);
}

.total-amount-box strong {
    font-size: 20px;
    letter-spacing: 1px;
}

.total-amount-box span {
    font-size: 32px;
    font-weight: bold;
    margin-left: 15px;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 40px;
}

/* Submit button */
.donate-btn {
    background: linear-gradient(135deg, #b7652c 0%, #9a4e1e 100%);
    border: none;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(183, 101, 44, 0.4);
    cursor: pointer;
    color: white;
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 0 auto;
}

.donate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(183, 101, 44, 0.5);
    background: linear-gradient(135deg, #c47034 0%, #ad5822 100%);
}

.donate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Form section title */
.form-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #3d2a1a;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #b7652c;
    display: inline-block;
}

/* Form label styling */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4a3727;
    font-size: 14px;
}

.required-star {
    color: #dc3545;
    font-size: 14px;
}

/* Error message styling */
.error-text {
    color: #dc3545;
    font-size: 11px;
    display: block;
    margin-top: 5px;
}

/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c8e6d0 100%);
    border-left: 5px solid #28a745;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    animation: slideUp 0.4s ease;
}

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

/* Character counter */
.char-counter {
    font-size: 12px;
    color: #888;
    text-align: right;
    margin-top: 5px;
}

.char-counter.warning { color: #e67e22; }
.char-counter.danger { color: #dc3545; font-weight: bold; }

/* Input field styling */
.gc_causes_single_forms input,
.gc_causes_single_forms select,
.gc_causes_single_teatarea textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0d4c8;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    background: #fefcf8;
}

.gc_causes_single_teatarea textarea {
    resize: vertical;
    font-family: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .donation-form-box {
        padding: 25px 20px;
    }
    .form-section-title { font-size: 18px; }
    .total-amount-box strong { font-size: 16px; }
    .total-amount-box span { font-size: 22px; margin-left: 10px; }
    .donate-btn { max-width: 100%; }
    .form-label { font-size: 13px; }
}

/* Header inside box */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #b7652c;
    font-size: 28px;
    margin-bottom: 8px;
}

.form-header p {
    color: #888;
    font-size: 14px;
}

/* Two column layout fix */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col-lg-6, .col-md-6, .col-sm-6, .col-lg-4, .col-md-4, .col-sm-4, .col-lg-12, .col-md-12, .col-lg-3, .col-md-3, .col-sm-3 {
    padding: 0 12px;
}

/* Box closing properly - ensure no overflow */
.donation-form-box {
    overflow: hidden;
}

/* Mobile view fixes for donation section */
@media (max-width: 768px) {
    .donation-box {
        margin-bottom: 15px;
        padding: 12px;
    }
    
    .donation-box label {
        font-size: 13px;
    }
    
    .row {
        margin: 0 -8px;
    }
    
    .col-lg-4, .col-md-4, .col-sm-6 {
        padding: 0 8px;
        margin-bottom: 12px;
    }
    
    .donation-section .row {
        margin-bottom: 0;
    }
    
    .nature-checkboxes {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .amount-inputs {
        flex-direction: column;
        gap: 10px;
    }
    
    .amount-input-group {
        min-width: auto;
    }
}

/* For very small screens (480px and below) */
@media (max-width: 480px) {
    .donation-box {
        padding: 10px;
    }
    
    .donation-box label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .col-lg-4, .col-md-4, .col-sm-6 {
        width: 100%;
    }
}

/* Nature of Donation checkboxes styling */
.nature-checkboxes {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    flex-wrap: wrap;
}
.nature-checkboxes label {
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #5a3a2a;
}
.nature-checkboxes input {
    width: auto;
    margin-right: 3px;
    cursor: pointer;
    transform: scale(1.1);
}
.donation-nature-header {
    font-size: 13px;
    font-weight: 600;
    color: #5a3a2a;
    margin: 10px 0 5px 0;
}
.mandatory-nature-tag {
    font-size: 11px;
    color: #b7652c;
    font-weight: normal;
    margin-left: 5px;
}

/* Amount inputs container */
.amount-inputs {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed #ffdec2;
    display: none;
}
.amount-inputs.show {
    display: block;
}
.amount-input-group {
    margin-bottom: 10px;
}
.amount-input-group label {
    font-size: 12px;
    font-weight: 500;
    color: #b7652c;
    margin-bottom: 5px;
    display: block;
}
.amount-input-group input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e0d4c8;
    border-radius: 6px;
    font-size: 13px;
}
.amount-input-group input:focus {
    border-color: #b7652c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(183, 101, 44, 0.1);
}
.amount-input-group input.invalid-amount {
    border-color: #dc3545;
    background-color: #fff8f8;
}
.dual-input-container {
    display: flex;
    gap: 15px;
}
.dual-input-container .amount-input-group {
    flex: 1;
}
.amount-error {
    font-size: 10px;
    color: #dc3545;
    display: block;
    margin-top: 3px;
}
.total-hint {
    font-size: 11px;
    color: #28a745;
    margin-top: 5px;
    text-align: center;
}
