/* ========================================
   Fonts
   ======================================== */

/* Nunito Sans (used by Bootstrap LUX theme) */
@font-face { font-family: 'Nunito Sans'; font-weight: 200; font-style: normal; font-display: swap; src: url('/assets/fonts/NunitoSans-200.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 300; font-style: normal; font-display: swap; src: url('/assets/fonts/NunitoSans-300.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/NunitoSans-400.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/NunitoSans-500.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/NunitoSans-600.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/NunitoSans-700.ttf') format('truetype'); }

/* Montserrat */
@font-face {
    font-family: 'Montserrat';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/Montserrat-400.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/Montserrat-500.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/Montserrat-600.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/assets/fonts/Montserrat-700.ttf') format('truetype');
}

/* ========================================
   CSS Variables — single source of truth
   for brand colors
   ======================================== */
:root {
    --company-purple: #791E5C;
    --company-blue: #051262;
    --bg-light: #f5f6fa;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Page Background & Font & Global Styles
   ======================================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;

}

body {
    background-color: var(--bg-light);
    font-family: 'Montserrat', sans-serif;
}

p {
    margin: 0 !important;
}

b {
    font-weight: 600;
}

hr {
    border-top: 2px solid #f0f1f2;
    opacity: 1;
}

.modal-content {
    border-radius: 10px;
}

.form-control, .input-group-text {
    background-color: #f0f1f2f3;
    padding: 5px 12px !important;
    border-radius: 0;
}


.form-check-input:checked {
    background-color: var(--company-purple);
    border-color: var(--company-purple);
}


.link {
    cursor: pointer;
    color: var(--company-purple);
    font-weight: 500;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* ========================================
   Navbar
   ======================================== */
.app-navbar {
    background-color: white;
    box-shadow: var(--shadow-sm);
    padding: 0 30px;
    height: 100px;
    display: flex;
    align-items: center;
    position: relative;
}

.navbar-title {
    color: var(--company-blue);
    font-weight: 700;
    font-size: 1.75rem;
    text-align: center;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

a, .company-logo {
    height: 50px;
    transition: all 0.3s ease;
    color: var(--company-purple);
}
@media (max-width: 600px) {

    .company-logo {
        display: none;
    }
    .navbar-title {
        font-size: 1rem;
        width: 100%;
    }
}

/* ========================================
   Main content
   ======================================== */

.app-container {
    width: 75%;
    margin: 0 auto;
    padding-top: 3rem;
    min-height: 90vh;
    padding-bottom: 3rem;
}

/* ========================================
   Cards
   ======================================== */
.branded-card {
    border: none;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.branded-card:hover {
    box-shadow: var(--shadow-md);
}

.branded-card-header {
    background-color: var(--company-purple);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    padding: 1rem 1.25rem;
    letter-spacing: 3px;
}

.config-section-title {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: none;
}

.config-subtitle {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #444;
}


/* ========================================
   Offcanvas
   ======================================== */

.offcanvas-btn {
    background-color: transparent;
    color:#444;
    text-transform: none;
}

.offcanvas-btn:hover,
.offcanvas-btn:active,
.offcanvas-btn-active {
    background-color: transparent !important;
    color: var(--company-purple) !important;
    font-weight: bold;
    border-color: transparent !important;
}


/* ========================================
    Global Buttons
   ======================================== */
.blue-button, .purple-button, .green-button {
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}
.blue-button:hover, .purple-button:hover, .green-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.blue-button:active, .purple-button:active {
    transform: translateY(0);
}


.blue-button {
    background-color: var(--company-blue);
}

.blue-button:hover {
    background-color: #0a1f8a;
}

.purple-button {
    background-color: var(--company-purple);
}

.purple-button:hover {
    background-color: #ad0d8a;
}

.green-button {
    background-color: #4bbf73;
}

.green-button:hover {
    background-color: #3c995c;
}

.grey-button {
    background-color: #eeeeee;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s ease;
}
.grey-button:hover {
    background-color: #e4e4e4;
}

/* ========================================
   Results Section & Table
   ======================================== */

.results-header {
    color: var(--company-blue);
    font-weight: 700;
    font-size: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--company-purple);
    display: inline-block;
    margin-top: 5rem;
}

.dash-table-container * {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
}

.hover-style .dash-table-container tr:hover td:not(.cell--selected)  {
    background-color: #e9ecef !important;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: white;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
