/*
Required font links:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;700;800&family=IBM+Plex+Mono:wght@400;500&family=Instrument+Sans:wght@400;500;600&display=swap" rel="stylesheet">
*/

:root {
    --ink: #0E1726;
    --paper: #F6F8FA;
    --cobalt: #1E5EFF;
    --cobalt-dark: #1747C6;
    --live: #0BA36B;
    --lock: #E8A013;
    --slate: #5B6B7F;
    --line: #E3E9EF;
    --radius: 14px;
    --font-display: "Bricolage Grotesque", system-ui, sans-serif;
    --font-body: "Instrument Sans", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
}

h1,
h2,
h3,
.navbar-brand {
    font-family: var(--font-display);
    letter-spacing: -.01em;
}

.navbar-brand {
    font-weight: 800;
}

a {
    color: var(--cobalt);
}

a:hover {
    color: var(--cobalt-dark);
}

.btn {
    border-radius: 10px;
    box-shadow: none !important;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--cobalt) !important;
    border-color: var(--cobalt) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--cobalt-dark) !important;
    border-color: var(--cobalt-dark) !important;
}

.btn-ghost,
.btn-outline-secondary,
.btn-outline-light {
    background: transparent !important;
    border-color: var(--slate) !important;
    border-width: 1.5px;
    color: var(--ink) !important;
}

.btn-ghost:hover,
.btn-outline-secondary:hover,
.btn-outline-light:hover {
    background: rgba(30, 94, 255, .06) !important;
    border-color: var(--cobalt) !important;
    color: var(--cobalt) !important;
}

.btn-small {
    font-size: .875rem;
    min-height: 34px;
    padding: .35rem .7rem;
}

.link-pill {
    align-items: center;
    background: #F0FAF5;
    border: 1px solid #CBEBDC;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    min-width: 0;
    padding: 12px 13px;
}

.link-pill-text {
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: .82rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-pill-copy,
.link-pill button {
    background: var(--cobalt);
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-weight: 600;
    padding: 7px 10px;
    white-space: nowrap;
}

.status-chip {
    align-items: center;
    background: #EEF2F6;
    border-radius: 999px;
    color: #344054;
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 500;
    min-height: 24px;
    padding: 3px 8px;
}

.status-chip.public {
    background: #EEF2F6;
    color: #344054;
}

.status-chip.private {
    background: #F3F4F6;
    color: var(--slate);
}

.status-chip.password {
    background: var(--lock);
    color: #fff;
}

.status-chip.approved {
    background: #EAF7EF;
    color: #137A42;
}

.status-chip.active {
    background: #EAF7EF;
    color: #137A42;
}

.status-chip.pending,
.status-chip.reported {
    background: #FFF7E6;
    color: #9A6400;
}

.status-chip.blocked,
.status-chip.disabled {
    background: #FEECEC;
    color: #B42318;
}

.auth-page {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 160px);
    padding: 42px 0 56px;
}

.auth-panel {
    max-width: 420px;
    width: 100%;
}

.auth-logo {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 800;
    gap: 10px;
    letter-spacing: -.01em;
    margin: 0 auto 18px;
    text-decoration: none;
}

.auth-logo:hover {
    color: var(--ink);
}

.auth-logo img {
    border-radius: 8px;
    height: 34px;
    width: 34px;
}

.auth-logo-row {
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 22px 55px rgba(14, 23, 38, .09);
    padding: 30px;
}

.auth-card h1 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.01em;
    margin: 0 0 8px;
}

.auth-voice {
    color: var(--slate);
    margin: 0 0 22px;
}

.auth-card .form-label {
    color: var(--slate);
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-card .form-control {
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    min-height: 46px;
}

.auth-card .form-control:focus {
    border-color: var(--cobalt);
    box-shadow: 0 0 0 .2rem rgba(30, 94, 255, .16);
}

.auth-card .btn-primary {
    width: 100%;
}

.auth-footer {
    color: var(--slate);
    font-size: .78rem;
    margin: 18px auto 0;
    max-width: 420px;
    text-align: center;
}

.auth-card .interest-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
}

.auth-card .interest-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 13px;
}

.auth-card .interest-item strong {
    display: block;
    font-weight: 700;
    margin-bottom: 3px;
}

.auth-card .interest-item p {
    color: var(--slate);
    font-size: .92rem;
    margin: 0;
}

@media (max-width: 480px) {
    .auth-page {
        min-height: auto;
        padding: 28px 16px 40px;
    }

    .auth-card {
        padding: 24px 20px;
    }
}
