﻿:root {
    --dark-blue: #072945;
    --med-blue: #2873AD;
    --light-blue: #7CC5E7;
    --white: #ffffff;
    --error: #D90000;
}

@media (min-width: 1400px) {
    .container-xl {
        max-width: 90% !important; /*1320px*/
    }
}

body {
    background-color: #f8f9fa;
    margin: 0 !important;
    padding: 0;
    font-family: 'Lato', sans-serif;
    color: #565656;
    font-weight: 400;
}


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

a, a:visited {
    color: var(--med-blue);
}

    a:hover {
        text-decoration: underline;
        color: var(--med-blue);
    }

h1, h2, h3, h4, h5 {
    color: var(--med-blue);
}

table.form-control {
    height: auto !important;
}

.Form-Yes_or_No input[type="radio"], .Form-Checkbox input[type="checkbox"] {
    margin: 0 10px;
}

.Form-Yes_or_No td {
    padding-right: 20px;
}

.hidden {
    display: none;
    visibility: hidden;
}

.progress {
    width: 50%;
    margin: 0 auto;
    position: relative;
    top: 150px;
}

.progress-bar {
    background-color: #2873AD !important;
}

/*  Back to Top */
#back-to-top {
    position: fixed;
    bottom: 0;
    right: 20px;
    z-index: 999;
}

    #back-to-top a {
        text-align: right;
        text-decoration: none;
        display: block;
        -moz-transition: color 1s;
        -webkit-transition: color 1s;
        -o-transition: color 1s;
    }

        #back-to-top a span {
            background: #d1d1d1;
            border-radius: 6px;
            display: block;
            margin-bottom: 5px;
            position: relative;
            top: 10px;
        }

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: var(--light-blue);
}

header {
    background: #FFF;
    border-top: 3px solid #297BB5;
    margin-bottom: 30px;
}

    header .logo {
        text-align: center;
        padding: 15px;
    }

.navbar {
    background-color: var(--dark-blue) !important;
}

    .navbar a {
        color: #FFF !important;
    }

.dropdown-menu a {
    color: var(--dark-blue) !important;
}

.navbar-expand-lg, .navbar-nav, .nav-link {
    padding-left: 1.5em;
    padding-right: 1.5em;
}

.school-name {
    color: var(--white) !important;
    font-weight: 600;
    margin-right: 2.5em;
}

footer {
    padding: 50px 0;
}

.card-body {
    min-height: 500px;
}

#updateResultsTotal {
    display: inline-block;
}

.Enabled_False, a.Enabled_False {
    text-decoration: line-through;
    color: var(--error) !important;
}

.a-field-required {
    border: 1px solid #D90000 !important;
}

#HeaderButtons_UpdatePanel2 input {
    margin: 0 10px;
}

.warning {
    color: var(--error);
}

.offer-status {
    font-size: larger;
    font-weight: 500;
    color: var(--error)
}

.status-pending, .status-complete, .status-offered, .status-rejected, .status-accepted, .status-declined {
    font-size: 22px;
    font-weight: 600;
}

.delete-application {
    display: inline-block;
    padding-left: 50px;
    text-transform: capitalize;
}

    .delete-application a {
        color: var(--dark-blue);
    }

.status-pending {
    color: var(--error)
}

.status-complete {
    color: var(--med-blue)
}

.status-offered {
    color: var(--dark-blue)
}

.status-rejected {
    color: var(--error)
}

.status-accepted {
    color: var(--med-blue)
}

.status-declined {
    color: var(--error)
}

.no-template {
    font-weight: 600;
    color: var(--error);
}

    .no-template:before {
        content: "~";
    }

    .no-template:after {
        content: "~";
    }

input[type="radio"], input[type="checkbox"] {
    margin-right: 10px;
}

.kbw-signature {
    display: inline-block;
    border: 1px solid #a0a0a0;
    -ms-touch-action: none;
    width: 400px;
    height: 200px;
}

.kbw-signature-disabled {
    opacity: 0.35;
}

/* Global form control style */
.form-control {
    color: #2e384d;
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid #d7e2ef;
    background: #f8fbff;
    padding: 14px 16px;
    box-shadow: none;
}

select.form-control {
    height: auto;
}

.form-control[readonly], .form-control:disabled {
    background-color: #f8fbff !important;
}

/* Central style for form labels to match Login page */
.form-group label, .control-label {
    font-weight: 600;
    color: #253858;
    margin-bottom: 10px;
    display: inline-block;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

/* ── Shared page styles (Forms, Dashboard) ── */

.page-subtitle {
    font-size: 15px;
    color: #8a909d;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 400;
}

.btn-modern-blue {
    background-color: #1975BB;
    color: #fff;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 6px rgba(25, 117, 187, 0.2);
    transition: all 0.2s;
    white-space: nowrap;
    height: 42px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-modern-blue:hover {
        background-color: #15619A;
        color: #fff;
        transform: translateY(-1px);
    }

.btn-modern-success {
    background-color: #28a745;
    color: #fff;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.2);
    transition: all 0.2s;
    white-space: nowrap;
    height: 42px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.forms-container {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.filter-panel {
    background: transparent;
    padding: 0;
    margin-bottom: 25px;
}

    .filter-panel label {
        font-weight: 600;
        color: #5c6b89;
        font-size: 15px;
        margin: 0 0 10px 0;
        display: block;
    }

.modern-radio-list label {
    display: inline-block !important;
    margin-left: 8px !important;
    margin-right: 20px !important;
    margin-bottom: 0 !important;
    font-weight: 500 !important;
    cursor: pointer;
}

.modern-radio-list input {
    cursor: pointer;
}

.body-content .card {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    width:100%;
}

.body-content .card-header h4,
.body-content .card-header .float-left h4 {
    font-size: 32px;
    font-weight: 700;
    color: #1975BB;
    margin: 0;
}

.body-content .card-header {
    border-bottom: none;
    background: transparent;
}

/* Accordion */
.accordion-group {
    margin-bottom: 10px;
    border: none;
}

.accordion-header-btn {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    color: #1975BB;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

    .accordion-header-btn:hover {
        background: #f8fafc;
        border-color: #1975BB40;
    }

    .accordion-header-btn .group-count {
        background: #1975BB15;
        color: #1975BB;
        padding: 2px 10px;
        border-radius: 20px;
        font-size: 15px;
        margin-left: auto;
    }

    .accordion-header-btn .toggle-icon {
        margin-left: 15px;
        transition: transform 0.3s ease;
        font-size: 15px;
        color: #8a909d;
    }

    .accordion-header-btn[aria-expanded="true"] .toggle-icon {
        transform: rotate(180deg);
    }

.accordion-content {
    padding: 0;
    margin-top: 5px;
}

/* Grid */
.modern-grid {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dee2e6;
}

    .modern-grid th {
        background-color: #f8f9fa;
        color: #1975BB;
        font-weight: 600;
        font-size: 15px;
        padding: 12px 15px;
        border: 1px solid #dee2e6;
        text-align: left;
        white-space: nowrap;
    }

    .modern-grid td {
        padding: 12px 15px;
        font-size: 15px;
        color: #333;
        border: 1px solid #dee2e6;
        vertical-align: middle;
    }

    .modern-grid tr:hover {
        background-color: #f1f5f9;
    }

    .modern-grid th a {
        color: #1975BB;
        text-decoration: none;
        font-weight: 600;
    }

        .modern-grid th a:hover {
            text-decoration: none;
        }

    .modern-grid a {
        color: #1975BB;
        text-decoration: none;
        font-weight: 500;
    }

        .modern-grid a:hover {
            text-decoration: underline;
        }

    .modern-grid .btn-icon {
        color: #1975BB;
        font-size: 15px;
        padding: 4px 8px;
        border-radius: 4px;
        transition: all 0.2s;
    }

        .modern-grid .btn-icon:hover {
            background: #1975BB15;
        }

/* Dashboard */
.section-title {
    font-size: 15px;
    font-weight: 700;
    color: #2e384d;
    margin: 0 0 10px 0;
}

.emails-summary-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    overflow: hidden;
}

.status-horizontal-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .status-horizontal-list::-webkit-scrollbar {
        display: none;
    }

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 5px;
    flex: 1;
    justify-content: center;
}

.status-icon {
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

    .status-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 50%;
    }

.status-icon-blue {
    filter: invert(38%) sepia(74%) saturate(1297%) hue-rotate(178deg) brightness(92%) contrast(88%);
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 15px;
    color: #8a909d;
    font-weight: 600;
    margin-bottom: 0;
}

.status-count {
    font-size: 21px;
    font-weight: 700;
    color: #2e384d;
    line-height: 1.2;
}

.status-divider {
    width: 1px;
    height: 25px;
    background: #f0f0f0;
    flex-shrink: 0;
}

.card-footer-link {
    border-top: 1px solid #f0f0f0;
    padding: 15px;
    text-align: center;
}

    .card-footer-link a {
        color: #1975BB;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
    }

        .card-footer-link a:hover {
            gap: 12px;
            color: #15619A;
        }

.form-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

    .form-card.False {
        opacity: 0.7;
    }

.form-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #8a909d;
    font-size: 15px;
    font-weight: 500;
}

.form-header-icon {
    font-size: 15px;
    color: #8a909d;
}

.form-title {
    font-size: 21px;
    font-weight: 700;
    color: #2e384d;
    margin-bottom: 16px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

    .form-title a {
        color: inherit;
        text-decoration: none;
    }

        .form-title a:hover {
            color: #1976d2;
        }

.form-dates {
    display: flex;
    justify-content: space-between;
    margin-bottom: 27px;
    color: #8a909d;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 27px;
}

.form-date-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-date-label {
    font-weight: 500;
    color: #8a909d;
    font-size: 15px;
}

.form-date-val {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #2e384d;
    font-weight: 600;
    font-size: 15px;
}

    .form-date-val i {
        color: #1975BB;
        font-size: 12px;
    }

    .form-date-val.alert-text {
        color: #e53935;
    }

        .form-date-val.alert-text i {
            color: #e53935;
        }

.form-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-custom {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.badge-pending {
    background: #fffcf0;
    color: #fbc02d;
    border: 1px solid #fde69d;
}

.badge-accepted {
    background: #f0fdf4;
    color: #4caf50;
    border: 1px solid #b7e4c7;
}

/* FormControls */
.new-control {
    margin: 5px 3px;
    border-radius: 6px;
    font-weight: 500;
    padding: 6px 12px;
}

.preview-header {
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    color: #1975BB;
    font-weight: 700;
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

    .preview-header::before,
    .preview-header::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #eee;
    }

/* Applications */
.status-summary-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #eef2f6;
}

.status-pill {
    background: #fff;
    border: 1px solid #eef2f6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #5c6b89;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

    .status-pill span {
        color: #1975BB;
    }

.filter-panel-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 150px;
}

    .filter-item label {
        font-size: 15px;
        font-weight: 600;
        color: #8a909d;
        margin-bottom: 6px;
        display: block;
    }

.form-control-modern {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    font-size: 15px;
    height: auto;
    width: 100%;
}
