/* =====================================================================
   VixUnit CRM — site.css
   Base shell + structural helpers. Visual design lives in
   frontend-foundation.css and wave3-operations.css.
   ===================================================================== */

/* Inter font — clean modern SaaS sans-serif */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ── Base ── */
html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html { font-size: 15px; }
}

body {
    margin-bottom: 60px;
    font-family: 'Inter', 'Lato', system-ui, -apple-system, sans-serif;
}

/* ── Typography scale ── */
body,
.navbar-nav .nav-link,
.dropdown-menu .dropdown-item,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea,
select,
option,
button {
    font-family: 'Inter', 'Lato', system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

label {
    font-weight: 500;
}

/* ── Table ── */
table, th, td {
    font-size: 0.8125rem;   /* 13px at 14px base — readable, not cramped */
    vertical-align: middle;
    border: 1px solid #dee2e6;
}

th {
    font-weight: 600;
}

/* td padding deferred to wave3-operations / Bootstrap defaults */

/* ── Custom text ── */
.custom-text-color { color: #dc3545; }

/* ── Mega-menu: fly-out submenus (desktop) ── */
@media all and (min-width: 992px) {
    .dropdown-menu li { position: relative; }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover > .submenu { display: block; }
}

@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: 0.5rem;
    }
}

/* ── Buttons ── (visual skin lives in frontend-foundation.css) */
button, input[type="submit"], .btn {
    margin-top: 0;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* ── Layout helpers ── */
.min-width-button   { min-width: 75%; }
.slate-blue         { background-color: #4f6274; color: white; }
.beautiful-text     { color: var(--brand-600, #0b4a60); font-weight: 600; }
.custom-text-color  { color: #dc3545; }

/* ── Heading helpers (home hero) ── */
.heading-caption {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--brand-600, #0b4a60);
    letter-spacing: 0.5px;
    display: inline-block;
    margin-right: 0.75rem;
}

.sub-heading {
    font-size: 1rem;
    color: var(--text-2, #526173);
    display: inline-block;
}

/* ── Form helpers ── */
.form-group    { margin-bottom: 1rem; }

.form-floating { margin-bottom: 1rem; }

fieldset {
    border: 1px solid #d5e1ed;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
}

legend {
    width: auto;
    padding: 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #0b4a60;
}

/* ── Sticky form panel ── */
.sticky-form {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.09);
    border-radius: 12px;
}

/* ── custom-height helper used in toolbars ── */
.custom-height {
    height: 38px;
}

/* ── Footer ── */
.footer {
    padding: 0.75rem 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    border-top: 1px solid #d7e1ec;
    margin-top: 1.5rem;
}




