/* IDN CallAI Admin Layout Styles */
/* The Velzon theme (~/velzon/css/app.min.css, custom.min.css) now owns body, sidebar and nav-link
   styling. The pre-Velzon #sidebar / body rules that used to live here were removed because they
   conflicted with Velzon's own layout (background-color, font-family, nav-link colors). #sidebar is
   no longer used by any view (confirmed via grep across Views/), so nothing depends on those rules. */

/* Brand auth background instead of the template's stock photo. */
.auth-one-bg {
    background-image: linear-gradient(135deg, #2a3a6e 0%, #405189 55%, #0ab39c 130%);
}

/* Signup honeypot field: kept in the DOM for bots, off-screen for people. */
.signup-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Public legal pages (Views/Legal): readable measure, table of contents, print-friendly. */
.legal-page {
    background-color: #f3f3f9;
}

.legal-container {
    max-width: 880px;
}

.legal-body {
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-body h2 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 1rem;
}

.legal-body table {
    font-size: 0.875rem;
}

.legal-toc ol {
    margin-bottom: 0;
    columns: 2;
    column-gap: 2rem;
}

@media (max-width: 575.98px) {
    .legal-toc ol {
        columns: 1;
    }
}

.legal-links a {
    color: inherit;
    text-decoration: underline;
}

@media print {
    .legal-page {
        background: #fff;
    }

    .legal-noprint,
    .legal-footer .legal-links {
        display: none !important;
    }

    .legal-page .card {
        box-shadow: none;
        border: 0;
    }

    .legal-body {
        padding: 0 !important;
        font-size: 10.5pt;
    }

    .legal-body h2 {
        break-after: avoid;
    }

    .legal-body table,
    .legal-body tr {
        break-inside: avoid;
    }
}
