/* ============================================================
   DashX Public Site Layout (navbar / footer / base)
   Used only by _PublicLayout.cshtml pages. The authenticated
   app shell keeps using css/layout.css — no shared selectors.
   ============================================================ */

body.public-body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: #ffffff;
    color: #1e293b;
}

/* Focus visibility for keyboard users */
.public-body a:focus-visible,
.public-body button:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.55);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ===== NAVBAR ===== */
.pub-navbar {
    background: #0f172a;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.35);
    padding: 0.65rem 0;
}

.pub-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.pub-navbar .navbar-brand img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.pub-navbar .nav-link {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.pub-navbar .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
}

.pub-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.6rem;
}

.pub-navbar .navbar-toggler-icon {
    filter: invert(1) brightness(1.6);
}

.btn-pub-login {
    color: #e2e8f0;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-pub-login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-pub-cta {
    background: #10b981;
    color: #fff;
    font-weight: 700;
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pub-cta:hover {
    background: #059669;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45);
}

/* ===== FOOTER ===== */
.pub-footer {
    background: #0b1121;
    color: #94a3b8;
    padding: 64px 0 0;
    margin-top: auto;
}

.pub-footer h6 {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.pub-footer a {
    color: #94a3b8;
    text-decoration: none;
    display: inline-block;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.pub-footer a:hover {
    color: #34d399;
}

.pub-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.pub-footer .footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.pub-footer .footer-tagline {
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 48px;
    padding: 20px 0;
    font-size: 0.88rem;
    color: #64748b;
}
