@media (max-width: 600px) {
    html, body {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .main-content, .budget-bar-section, .budget-columns {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 auto !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .budget-columns {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    .column-left, .column-right {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    .cell, .cell-square, .cell-vertical-auto, .left-cell {
        max-width: 100vw !important;
        width: 100% !important;
        margin: 0 auto 16px auto !important;
        box-sizing: border-box;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .publish-btn-container {
        width: 100% !important;
        justify-content: flex-end;
        margin-bottom: 0;
        margin-top: 8px;
        box-sizing: border-box;
    }
}
/* Locked Non-Departmental slider style */
.spending-slider-locked {
    opacity: 0.65;
    cursor: not-allowed !important;
    background: #e0e0e0 !important;
    box-shadow: none !important;
}
/* Tooltip for Non-Departmental */
.has-tooltip {
    position: relative;
    cursor: help;
    display: inline-block;
}
.custom-tooltip {
    visibility: hidden;
    opacity: 0;
    width: 320px;
    background: rgba(34,34,34,0.95);
    color: #fff;
    text-align: left;
    border-radius: 10px;
    padding: 13px 18px;
    position: absolute;
    z-index: 9999;
    left: 105%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    font-size: 1.01rem;
    font-family: 'DM Sans', Arial, sans-serif;
    font-weight: 500;
    pointer-events: auto;
    transition: opacity 0.18s, visibility 0.18s;
    line-height: 1.5;
    letter-spacing: 0.01em;
}
.has-tooltip:hover .custom-tooltip,
.has-tooltip:focus .custom-tooltip {
    visibility: visible;
    opacity: 1;
}
/* --- Help Modal Styles --- */
.help-modal-overlay {
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Make help modal much wider than info modal, and override info-modal's width */
.info-modal.help-modal {
    max-width: 950px !important;
    width: 92vw !important;
    min-width: 320px;
    min-height: 480px;
    max-height: 80vh;
    padding: 36px 0 32px 36px; /* Remove right padding, so close btn can be at edge */
    font-size: 1.13rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    margin: 48px auto 48px auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    /* No overflow here, let content scroll instead */
}
.help-modal-title {
    font-size: 1.45em;
    font-weight: 700;
    color: #111;
    margin-bottom: 0;
}
.help-modal-content {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 4px;
    padding-right: 4px;
    overflow-y: auto;
    max-height: calc(80vh - 110px);
    /* 110px = modal padding + header + divider + some margin */
}
.help-modal-content p {
    margin-left: 18px;
    margin-right: 18px;
}
.help-modal-img {
    width: auto;
    max-width: 700px;
    max-height: 340px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin: 0 auto 0 auto;
    display: inline-block;
    object-fit: contain;
    background: #fff;
}
.help-modal-content {
    /* ...existing code... */
    text-align: left;
    box-sizing: border-box;
    margin-right: -360px;
    padding-right: 24px; /* Add space for scrollbar inside modal */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #bbb #f0f0f0;
}

/* For Webkit browsers: style scrollbar inside help modal */
.help-modal-content::-webkit-scrollbar {
    width: 10px;
    background: #f0f0f0;
    border-radius: 8px;
}
.help-modal-content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 8px;
    min-height: 40px;
}
@media (max-width: 600px) {
    .help-modal {
        max-width: 99vw;
        padding: 10px 2vw;
        font-size: 1.01rem;
    }
    .help-modal-img {
        max-width: 98vw;
    }
}
/* Reset button styling */
.reset-btn {
    background: #fff;
    color: #c0392b;
    border: 2.5px solid #c0392b;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(192,57,43,0.10);
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border 0.18s;
    margin-top: 0;
    margin-right: 12px;
    outline: none;
}
.reset-btn:hover, .reset-btn:focus {
    background: #fff0f0;
    color: #a93226;
    border-color: #a93226;
    outline: none;
}
/* Custom styles for 2026 spending sliders */
.spending-slider-wrapper {
    background: #f0f4f2;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(23,106,58,0.10);
    padding: 14px 18px 18px 18px;
    margin: 14px 0 18px 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}
.spending-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    margin: 16px 0 0 0;
    max-width: 340px;
    align-self: center;
    background: #b7e0c2 !important;
    border-radius: 6px;
    outline: none;
    transition: background 0.2s;
    box-shadow: 0 1px 4px rgba(23,106,58,0.08);
    position: relative;
    z-index: 1;
}
.spending-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    margin-top: -8.5px;
    border-radius: 50%;
    background: #176a3a;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(23,106,58,0.12);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 2;
}
.spending-slider:focus::-webkit-slider-thumb {
    background: #218c4a;
    box-shadow: 0 0 0 4px #b7e0c2;
}
.spending-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #176a3a;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(23,106,58,0.12);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 2;
}
.spending-slider:focus::-moz-range-thumb {
    background: #218c4a;
    box-shadow: 0 0 0 4px #b7e0c2;
}
.spending-slider::-ms-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #176a3a;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(23,106,58,0.12);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 2;
}
.spending-slider:focus::-ms-thumb {
    background: #218c4a;
    box-shadow: 0 0 0 4px #b7e0c2;
}
.spending-slider::-webkit-slider-runnable-track {
    background: #b7e0c2 !important;
    height: 5px;
    border-radius: 6px;
}
.spending-slider::-moz-range-track {
    background: #b7e0c2 !important;
    height: 5px;
    border-radius: 6px;
}
.spending-slider::-ms-fill-lower {
    background: #b7e0c2 !important;
    border-radius: 6px;
}
.spending-slider::-ms-fill-upper {
    background: #b7e0c2 !important;
    border-radius: 6px;
}
/* Remove outline for Firefox */
.spending-slider::-moz-focus-outer {
    border: 0;
}
/* Section Title Styles */
.section-title {
    font-weight: 700;
    font-size: 1.32em;
    line-height: 1.18;
    margin-top: 12px;
    margin-bottom: 4px;
}
.section-title span {
    font-size: 1em !important;
    font-weight: 700 !important;
    vertical-align: baseline;
}
/* Header Help Button Styles */
.header-help-btn {
    background: #fff;
    color: #c0392b;
    border: 2px solid #c0392b;
    border-radius: 10px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 10px 28px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(192,57,43,0.04);
    transition: background 0.18s, color 0.18s, border 0.18s;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.header-help-btn:hover, .header-help-btn:focus {
    background: #fff0f0;
    color: #a93226;
    border-color: #a93226;
}
/* Footer disclaimer styles */
.footer-disclaimer {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto 18px auto;
    padding: 16px 18px 0 18px;
    font-size: 0.98rem;
    color: #888;
    text-align: center;
    line-height: 1.5;
    font-family: 'DM Sans', Arial, sans-serif;
    background: none;
    border: none;
    box-sizing: border-box;
}
/* Remove default form padding/margin and ensure full width for tab container */
#spending-form {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    box-sizing: border-box;
}
.spending-tab-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.column-right .cell {
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}
/* Ensure the spending tab container fills the width of the cell and removes any gap */
.spending-tab-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
}
/* Container for publish button to align with right column and add spacing */
.publish-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 8px;
}
/* Publish button styling */
.publish-btn {
    background: #176a3a; /* dark green */
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0;
}
/* Spending tab button with color bar */
.spending-tab-btn {
    background: #f7f7f7;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 16px 18px 16px 8px;
    font-size: 1.18rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    text-align: left;
    transition: background 0.18s, box-shadow 0.18s, border 0.18s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    outline: none;
    display: flex;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    overflow: visible;
    z-index: 10;
}

/* Remove bottom border-radius when tab is open (so it aligns with dropdown) */
.spending-tab-btn.open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.spending-tab-colorbar {
    display: block;
    width: 8px;
    height: 36px;
    border-radius: 6px;
    margin-right: 16px;
    flex-shrink: 0;
    background: #4e79a7; /* fallback color, will be overridden inline */
}
.spending-tab-btn:hover, .spending-tab-btn:focus {
    background: #e6f3ea;
    border-color: #b7e0c2;
    box-shadow: 0 2px 8px rgba(23,106,58,0.08);
}
/* Container for publish button to align with right column and add spacing */
.publish-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 8px;
}
/* Publish button styling */
.publish-btn {
    background: #176a3a; /* dark green */
    color: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0;
}
.publish-btn:hover, .publish-btn:focus {
    background: #145c32;
    outline: none;
}

.main-content, .budget-bar-section, .budget-columns {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.budget-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}
.column-left, .column-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.cell, .cell-square, .cell-vertical-auto, .left-cell {
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
@media (max-width: 600px) {
    .header-title {
        font-size: 1.1rem;
    }
    .header-logo {
        position: absolute;
        left: 32px;
        top: 50%;
        transform: translateY(-50%);
        height: 88px;
        width: 88px;
        display: flex;
        align-items: center;
        }
    .header-logo img {
        height: 88px;
        width: 88px;
        object-fit: contain;
    }
}
/* Auto-height vertical cell for revenue */
.cell-vertical-auto {
    min-width: 0;
    max-width: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-top: 0;
    margin-bottom: 0;
    /* Remove fixed height so it grows with content */
}
body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    background: #ececec;
    color: #111;
}
.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    color: #111;
    height: 100px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Logo */
.header-logo {
    flex: 0 0 125px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100px;
    width: 125px;
    margin-left: 0;
    position: static;
    transform: none;
}

/* Title */
.header-title {
    flex: 1 1 0;
    font-family: 'DM Serif Text', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0.15em;
    min-width: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    margin-left: 0;
    margin-right: 0;
    width: auto;
    max-width: 100%;
}

/* Button group */
.header-btn-group {
    flex: 0 0 220px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: flex-end;
    margin-right: 0;
}

/* Subtitle style (if any) */
.header-subtitle {
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    text-align: center;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}
.main-content {
    max-width: 1100px;
    margin: 32px auto 0 auto;
    padding: 0 16px;
}
.budget-bar-section {
    width: 100%;
    margin-bottom: 32px;
}
.budget-bar-cell {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    width: 100%;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    padding: 10px 0 10px 0;
    box-sizing: border-box;
}
.budget-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.cell {
    justify-content: center;
}
.header-logo {
    flex: 0 0 125px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    width: 125px;
    margin-left: 32px;
}
.header-logo img {
    height: 100px;
    width: 100px;
    object-fit: contain;
}
.header-title {
    font-family: 'DM Serif Text', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0.15em;
    width: 800px;
    max-width: 100vw;
    display: block;
    margin: 0 auto;
    white-space: nowrap;
    min-width: 0;
}

.cell-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
}
.cell-square {
    min-width: 0;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.pie-chart-container {
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 16px auto;
    overflow: visible !important;
    position: relative;
    z-index: 10;
}
.cell-square.left-cell {
    overflow: visible !important;
    position: relative;
    z-index: 5;
}
.cell-vertical {
    height: 120px;
    min-width: 0;
}
.cell-vertical-large {
    height: 272px;
    min-width: 0;
}
@media (max-width: 600px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        min-height: 70px;
        padding: 8px 4vw 8px 4vw;
        box-sizing: border-box;
    }
    .header-logo {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        margin: 0 auto 0 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .header-logo img {
        width: 44px;
        height: 44px;
        object-fit: contain;
        margin: 0;
    }
    .header-title {
        font-size: 1.08rem;
        max-width: 100vw;
        width: 100%;
        margin: 0 0 0 0;
        padding: 0;
        text-align: left;
        white-space: normal;
        overflow: visible;
        display: block;
        font-family: 'DM Serif Text', serif;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    #fiscal-year-select {
        font-size: 1em !important;
        padding: 2px 6px !important;
        border-radius: 5px !important;
        border-width: 1px !important;
        min-width: 0 !important;
        margin-right: 4px !important;
        margin-left: 0 !important;
        width: auto !important;
        max-width: 80px !important;
    }
    .header-btn-group {
        flex: 0 0 auto;
        gap: 6px;
        margin: 0;
        width: 100%;
        justify-content: flex-end;
        align-items: center;
        display: flex;
    }
    .header-help-btn {
        font-size: 0.98rem !important;
        padding: 7px 16px !important;
        border-radius: 8px !important;
        height: 36px !important;
        min-width: 0 !important;
        margin: 0 0 0 0 !important;
        box-sizing: border-box;
    }
    .header-submissions-btn {
        font-size: 0.98rem !important;
        padding: 7px 16px !important;
        border-radius: 8px !important;
        height: 36px !important;
        min-width: 0 !important;
        margin: 0 0 0 0 !important;
        box-sizing: border-box;
    }
    .publish-btn {
        margin-right: 12px;
    }
}

/* Styles below were moved from index.html, should be merged for simplicity */
.header-help-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
}
.header-help-btn:hover, .header-help-btn:focus {
    background: #a93226;
    color: #fff;
    text-decoration: none;
    outline: none;
}
.header-submissions-btn {
    background: #e0e0e0;
    color: #222;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
}
.header-submissions-btn:hover, .header-submissions-btn:focus {
    background: #176a3a;
    color: #fff;
    text-decoration: none;
    outline: none;
}
/* Fiscal year select styling to blend with title */
#fiscal-year-select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 4px;
    margin: 0 2px;
    cursor: pointer;
    box-shadow: none;
    min-width: 60px;
    transition: background 0.15s, color 0.15s;
}
#fiscal-year-select:focus {
    background: #f3f3f3;
    border-radius: 4px;
}
#fiscal-year-select option {
    color: #222;
    background: #fff;
}
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(30, 30, 30, 0.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.info-modal {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    min-width: 340px;
    max-width: 95vw;
    width: 370px;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'DM Sans', Arial, sans-serif;
    animation: modalIn 0.18s cubic-bezier(.4,1.4,.6,1) 1;
}
@keyframes modalIn {
    from { transform: translateY(40px) scale(0.98); opacity: 0; }
    to { transform: none; opacity: 1; }
}
/* Info modal header (publish popup) */
.info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 10px 22px;
    font-size: 1.18rem;
    background: #fff;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    position: relative;
}
/* Remove border-radius override on header so modal keeps full rounding */
.help-modal .info-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 56px 10px 22px; /* extra right padding for close btn */
    font-size: 1.18rem;
    background: #fff;
}
.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 18px;
    display: flex;
    align-items: center;
    transition: filter 0.15s;
    z-index: 10;
    outline: none;
    box-shadow: none;
}
.modal-close-btn:focus {
    outline: none;
    box-shadow: none;
}
/* Move close button to top-right corner of help modal */
.help-modal.info-modal .modal-close-btn {
    position: absolute;
    top: 20px;
    right: 0; /* Place button at the true right edge of the modal */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    transition: filter 0.15s;
    z-index: 10;
    outline: none;
    box-shadow: none;
}
.modal-close-btn:hover svg circle {
    filter: brightness(0.93);
}
.modal-divider {
    width: 100%;
    height: 1.5px;
    background: #e0e0e0;
    margin: 0 0 0 0;
}
.info-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 22px 0 22px;
}
.modal-label {
    font-size: 1.04rem;
    font-weight: 500;
    margin-bottom: 2px;
    color: #222;
}
.info-modal-form select,
.info-modal-form input[type="text"] {
    font-size: 1.05rem;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1.5px solid #d0d0d0;
    background: #fafbfc;
    margin-bottom: 2px;
    outline: none;
    transition: border 0.18s;
}
.info-modal-form select:focus,
.info-modal-form input[type="text"]:focus {
    border-color: #007AFF;
}
.modal-thanks {
    margin-top: 8px;
    margin-bottom: 22px;
    font-size: 1.01rem;
    color: #111;
    font-weight: 500;
}
.modal-deficit-warning {
    background: #ffeaea;
    color: #c0392b;
    border: 1.5px solid #c0392b;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1.01rem;
    font-weight: 600;
    margin-bottom: 18px;
    margin-top: -10px;
    display: none;
    text-align: center;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 16px 22px 18px 22px;
    background: #fff;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}
.modal-cancel-btn {
    background: #f3f3f3;
    color: #444;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 8px 22px;
    cursor: pointer;
    transition: background 0.15s;
}
.modal-cancel-btn:hover {
    background: #e0e0e0;
}
.modal-submit-btn {
    background: #007AFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 8px 22px;
    cursor: pointer;
    opacity: 0.55;
    transition: background 0.15s, opacity 0.15s;
    pointer-events: none;
    margin-bottom: 22px;
}
.modal-submit-btn.active {
    opacity: 1;
    pointer-events: auto;
    background: #007AFF;
}
.modal-submit-btn:disabled {
    opacity: 0.55;
    pointer-events: none;
}