body {
    margin: 0;
    font-family: 'Segoe UI', Calibri, sans-serif;
    background-color: #ffffff;
    color: #002b45;
}

#back-to-jfs {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 15px;
    font-size: 16px;
}

/* Optional fallback */
.mtf-header {
    background-color: #002b45;
    height: 300px;
    width: 100%;
}

/* Header image container */
.mtf-header-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}

.mtf-header-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Hide the old white logo */
img[src*="more-than-logo-white.png"] {
    display: none !important;
}

/* ✅ Show/hide toggle styles */
.expand-contract-show {
    display: block !important;
}

.expand-contract-hide {
    display: none !important;
}

.hide {
    display: none !important;
}

#form-content {
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

h1, h2 {
    color: #002b45;
    margin-bottom: 10px;
}

hr {
    margin: 30px 0;
    border: 1px solid #002b45;
}

.donation-input,
input[type="text"],
input[type="email"],
textarea {
    padding: 12px;
    font-size: 16px;
    width: 100%;
    border: 2px solid #002b45;
    background-color: #ffffff;
    color: #002b45;
    margin-bottom: 15px;
    border-radius: 6px;
}

textarea {
    resize: vertical;
}

label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: bold;
    color: #002b45;
}

.action-button,
button,
input[type="submit"] {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: #f1bc32;
    color: #002b45;
    border: 2px solid #002b45;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.action-button:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #002b45;
    color: #f1bc32;
}

.button-clicked,
.selected {
    background-color: #002b45 !important;
    color: #f1bc32 !important;
}

#name-table > div {
    float: left;
    margin-right: 15px;
    width: 48%;
}

#name-table {
    overflow: hidden;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-row input {
    flex: 1;
    min-width: 40%;
}

.toggle-buttons,
.children-buttons,
.suggested-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.suggested-donate {
    margin-right: 10px;
    margin-bottom: 10px;
}

.circle-btn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    text-align: center;
    line-height: 36px;
}

.gift-aid {
    margin-top: 20px;
}

.gift-aid-note,
.recurring-info {
    font-size: 14px;
    color: #002b45;
    margin-top: 10px;
}

.submit-btn {
    background-color: #002b45;
    color: #f1bc32;
    width: 100%;
    font-size: 18px;
    margin-top: 30px;
    padding: 14px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    #name-table > div {
        width: 100%;
        margin-right: 0;
    }

    .logo-img {
        width: 60px;
    }

    .main-heading {
        font-size: 28px;
    }

    .mtf-header {
        height: 200px;
        padding: 20px 10px;
    }

    .mtf-header-image img {
        max-height: 200px;
    }
}
