﻿:root {
    /* ===== Brand (use header blue as base) ===== */
    --nt-blue: #2E86E6; /* reference-like SaaS blue */
    --nt-blue-ink: #1F6EC4; /* hover/darker */
    --nt-blue-soft: rgba(46,134,230,.10);
    /* ===== App neutrals ===== */
    --dv-bg: #f6f8fc;
    --dv-card: #ffffff;
    --dv-text: #0f172a;
    --dv-muted: #64748b;
    --dv-border: #e6eaf2;
    --dv-shadow: 0 10px 30px rgba(15,23,42,.08);
    /* ===== Use brand as primary everywhere ===== */
    --dv-primary: var(--nt-blue);
    --dv-success: #22c55e;
    --dv-chip: #f1f5ff;
    /* Bootstrap typography consistency */
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.5;
}


/* =========================================================
   GLOBAL TYPOGRAPHY BASELINE
   ========================================================= */
html {
    font-size: 14px;
}
/* 1rem = 14px */

html, body {
    height: 100%;
    overflow-x:hidden;
}

body {
    background: var(--dv-bg);
    color: var(--dv-text);
    font-size: 1rem;
    line-height: 1.5;
}

/* Professional hierarchy */
h1 {
    font-size: 28px;
    line-height: 1.2;
}

h2 {
    font-size: 22px;
    line-height: 1.25;
}

h3 {
    font-size: 18px;
    line-height: 1.3;
}

h4 {
    font-size: 16px;
    line-height: 1.35;
}

small, .small {
    font-size: 12px;
}

/* Keep Bootstrap navbars/footers clean without breaking custom headers */
nav.navbar, footer {
    background: transparent !important;
    box-shadow: none !important;
}

/* If you have an old minimal header style, scope it explicitly */
header.dv-header {
    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================================
   GLOBAL WIDTH & GUTTERS (Single source of truth)
   ========================================================= */
.dv-container {
    max-width: 1400px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Tablet */
@media (min-width: 768px) {
    .dv-container {
        padding-left: 28px;
        padding-right: 28px;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .dv-container {
        max-width: 1240px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .dv-container {
        max-width: 1200px;
        padding-left: 48px;
        padding-right: 48px;
    }
}

/* Disable Bootstrap container gutters (avoid double-padding conflicts) */
.container {
    --bs-gutter-x: 0;
}

/* Nav typography */
.navbar, .navbar-nav, .nav-item, .nav-link {
    font-size: 14px;
}

/* Global links */
a {
    color: var(--dv-primary);
}

    a:hover {
        color: var(--dv-primary);
        filter: brightness(.92);
    }

/* Utility */
.dv-muted {
    color: var(--dv-muted);
}

/* Pull content up slightly (if used elsewhere) */
.content.content-fixed {
    padding-top: 12px;
}


/* =========================================================
   GLOBAL: Remove default focus outlines (your preference)
   ========================================================= */
*:focus,
*:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

button:focus,
.btn:focus,
.btn:focus-visible,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

[tabindex]:focus,
[tabindex]:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}


/* =========================================================
   MODALS (How it works / Pricing)
   ========================================================= */
.nt-hero {
    padding: 12px;
    background: var(--nt-blue-soft);
    border-radius: 12px;
    margin-bottom: 12px;
}

.nt-steps {
    padding-left: 18px;
    line-height: 1.6;
}

.nt-note {
    margin-top: 12px;
    padding: 10px;
    background: rgba(15,23,42,0.04);
    border-radius: 10px;
}

/* Pricing grid inside modal */
.nt-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.nt-price-card {
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

    .nt-price-card .title {
        font-weight: 800;
    }

    .nt-price-card .meta {
        font-size: 0.9rem;
        color: rgba(15,23,42,0.7);
    }

    .nt-price-card .price {
        margin-top: 8px;
        font-weight: 900;
        font-size: 1.1rem;
        color: var(--dv-primary);
    }

@media (max-width: 768px) {
    .nt-price-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   HEADER (SINGLE source of truth)
   - Blue bar + curve that dips DOWN
   - Curve is behind content
   ========================================================= */
.nt-header-curve {
    position: relative;
    background: var(--nt-blue) !important;
    color: #fff;
    border-bottom: 0;
    overflow: visible;
    z-index: 0;
}

    /* Curve is the BLUE itself */
    .nt-header-curve::after {
        content: "";
        position: absolute;
        left: -15%;
        right: -15%;
        bottom: -235px;
        height: 425px;
        background: var(--nt-blue);
        border-radius: 0 0 120% 120%;
        z-index: 0;
        pointer-events: none;
    }

.nt-header-inner {
    position: relative;
    z-index: 2;
    padding-top: 12px;
    padding-bottom: 12px;
}

.nt-header-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Brand */
.nt-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Keep existing logo but render it white */
.nt-brand-logo {
    height: 60px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* Center nav */
.nt-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.nt-nav-link {
    color: rgba(255,255,255,0.90);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.2px;
    padding: 3px 8px;
    border-radius: 8px;
    transition: background-color .15s ease, color .15s ease;
    font-weight:normal;
}

    .nt-nav-link:hover {
        color: var(--nt-blue);
        background: #fff;
        text-decoration: none;
    }

/* Right actions */
.nt-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CTA button (Sign in/out) */
.nt-cta {
    appearance: none;
    border: 0;
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 8px;
    line-height: 1;
    box-shadow: 0 10px 18px rgba(15,23,42,0.14);
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .nt-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 22px rgba(15,23,42,0.16);
        text-decoration: none;
    }

    .nt-cta:active {
        transform: translateY(0px);
    }

/* Mobile */
@media (max-width: 767.98px) {
    .nt-header-row {
        gap: 10px;
    }

    .nt-nav {
        gap: 10px;
    }

    .nt-nav-link {
        font-size: 12px;
        padding: 6px 6px;
    }
}


/* =========================================================
   HERO OVERLAP (cards sit above curve)
   Apply nt-main-overlap to <main>
   ========================================================= */
.nt-main-overlap {
    position: relative;
    z-index: 3; /* higher than header curve */
    margin-top: -72px;
    padding-top: 20px;
}

@media (max-width: 767.98px) {
    .nt-main-overlap {
        margin-top: -36px;
    }
}

/* =========================================================
   FOOTER — Neuthinking
   ========================================================= */
.nt-footer {
    margin-top: 48px;
    padding: 36px 0 24px;
    background:  #fff !important;
    border-top: 1px solid var(--dv-border);
    font-size: .95rem;
}

.nt-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 28px;
}

.nt-footer-logo {
    height: 65px;
    margin-bottom: 10px;
}

.nt-footer-desc {
    margin: 0;
    max-width: 360px;
    color: var(--dv-muted);
    line-height: 1.55;
}

.nt-footer-title {
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dv-text);
}

.nt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .nt-footer-links li + li {
        margin-top: 6px;
    }

    .nt-footer-links a {
        color: var(--dv-muted);
        text-decoration: none;
    }

        .nt-footer-links a:hover {
            color: var(--dv-primary);
            text-decoration: underline;
        }

.nt-footer-bottom {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid var(--dv-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: .9rem;
    color: var(--dv-muted);
}

.nt-footer-sep {
    opacity: .4;
}

/* Responsive */
@media (max-width: 991.98px) {
    .nt-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 575.98px) {
    .nt-footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ADMIN (scoped)
   ========================================================= */
.nt-admin {
    --nt-admin-side: 260px;
}

.nt-admin__grid {
    display: grid;
    grid-template-columns: var(--nt-admin-side) 1fr;
    gap: 18px;
    align-items: start;
}

.nt-admin__side {
    position: sticky;
    top: 18px;
    border: 1px solid var(--dv-border);
    background: var(--dv-card);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--dv-shadow);
}

.nt-admin__brand {
    padding: 6px 8px 12px 8px;
    border-bottom: 1px solid var(--dv-border);
    margin-bottom: 10px;
}

.nt-admin__title {
    font-weight: 800;
    letter-spacing: .2px;
    font-size: 1.05rem;
    color: var(--dv-text);
}

.nt-admin__subtitle {
    color: var(--dv-muted);
    font-size: .9rem;
    margin-top: 2px;
}

.nt-admin__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nt-admin__section {
    margin-top: 10px;
    margin-bottom: 4px;
    padding: 6px 10px;
    font-size: .78rem;
    color: var(--dv-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nt-admin__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dv-text);
    border: 1px solid transparent;
}

.nt-admin__link:hover {
    background: rgba(46, 134, 230, .06);
    border-color: rgba(46, 134, 230, .14);
    color: var(--dv-text);
}

.nt-admin__link.is-active {
    background: rgba(46, 134, 230, .10);
    border-color: rgba(46, 134, 230, .25);
}

.nt-admin__link.is-disabled {
    opacity: .6;
    pointer-events: none;
}

.nt-admin__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(100, 116, 139, .35);
    flex: 0 0 auto;
}

.nt-admin__link.is-active .nt-admin__dot {
    background: var(--dv-primary);
}

.nt-admin__pill {
    margin-left: auto;
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: #f1f5ff;
    color: var(--dv-muted);
    font-weight: 700;
}

.nt-admin__main {
    min-width: 0;
}

.nt-admin__page {
    padding: 2px 0;
}

.nt-admin__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.nt-admin__h1 {
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0;
}

.nt-admin__sub {
    color: var(--dv-muted);
    margin-top: 4px;
}

.nt-admin__card {
    border-radius: 16px;
    border: 1px solid var(--dv-border);
    box-shadow: var(--dv-shadow);
}

.nt-admin__cardtitle {
    font-weight: 900;
    color: var(--dv-text);
}

.nt-admin__cardmeta {
    color: var(--dv-muted);
    margin-top: 3px;
}

.nt-admin__badge {
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 800;
}

.nt-admin__kv {
    border: 1px solid var(--dv-border);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
}

.nt-admin__kv .k {
    font-size: .8rem;
    color: var(--dv-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.nt-admin__kv .v {
    margin-top: 6px;
    font-weight: 700;
    color: var(--dv-text);
}

.nt-admin__scopes {
    margin: 0;
    padding-left: 18px;
}

.nt-admin__note {
    border: 1px solid rgba(46, 134, 230, .18);
    background: rgba(46, 134, 230, .06);
    padding: 12px 14px;
    border-radius: 14px;
    color: var(--dv-text);
}

.nt-admin__list {
    margin: 0;
    padding-left: 18px;
    color: var(--dv-text);
}

@media (max-width: 991.98px) {
    .nt-admin__grid {
        grid-template-columns: 1fr;
    }
    .nt-admin__side {
        position: static;
        top: auto;
    }
}

/* =========================================================
   HEADER (SINGLE source of truth)
   - Blue bar + curve that dips DOWN
   - Curve must stay BEHIND the page content
   - Dropdown/nav must stay ABOVE the page content
   ========================================================= */
.nt-header-curve {
    position: relative;
    background: var(--nt-blue) !important;
    color: #fff;
    border-bottom: 0;
    overflow: visible;
    /* IMPORTANT: do NOT set z-index here (keep it AUTO) */
    z-index: auto;
}

    /* Curve stays behind everything */
    .nt-header-curve::after {
        content: "";
        position: absolute;
        left: -15%;
        right: -15%;
        bottom: -235px;
        height: 425px;
        background: var(--nt-blue);
        border-radius: 0 0 120% 120%;
        pointer-events: none;
        /* IMPORTANT: push the curve BEHIND page content */
        z-index: -1;
    }

/* Header row/nav/dropdowns stay above page content */
.nt-header-inner {
    position: relative;
    z-index: 2000; /* dropdowns + avatar menu above booking card */
    padding-top: 12px;
    padding-bottom: 12px;
}


/* =========================================================
   Header user dropdown (polished)
   ========================================================= */
.nt-header-curve .dropdown-menu {
    min-width: 220px;
    padding: 8px;
    border-radius: 0px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 30px rgba(0,0,0,.14);
    overflow: hidden;
}

/* email header */
.nt-header-curve .nt-user-email {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

/* links + button rows */
.nt-header-curve .dropdown-item {
    border-radius: 0px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

    /* hover */
    .nt-header-curve .dropdown-item:hover,
    .nt-header-curve .dropdown-item:focus {
        background: #fff !important;
    }

/* divider */
.nt-header-curve .dropdown-divider {
    margin: 8px 0;
    border-top: 1px solid rgba(0,0,0,.06);
}

/* logout should look like a destructive action */
.nt-header-curve form .dropdown-item {
}

    .nt-header-curve form .dropdown-item:hover,
    .nt-header-curve form .dropdown-item:focus {
        background: #fff !important;
    }


/* =========================================================
   Header user dropdown – clean white, no hover background
   ========================================================= */
.nt-header-curve .dropdown-menu {
    min-width: 220px;
    padding: 8px 0;
    border-radius: 0px;
    border: 1px solid rgba(0,0,0,.06);
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* email header */
.nt-header-curve .nt-user-email {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    background: #ffffff;
}

/* menu items */
.nt-header-curve .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    background: #ffffff;
    border-radius: 0;
    transition: color .15s ease;
}

    /* NO background change on hover */
    .nt-header-curve .dropdown-item:hover,
    .nt-header-curve .dropdown-item:focus {
        background: transparent !important;
        color: #2563eb; /* subtle text color shift instead */
    }

/* divider */
.nt-header-curve .dropdown-divider {
    margin: 6px 0;
    border-top: 1px solid rgba(0,0,0,.06);
}

/* logout subtle destructive tone */
.nt-header-curve form .dropdown-item {
}

    .nt-header-curve form .dropdown-item:hover {
        background: #ffffff !important;
    }
