﻿@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

:root {
    --background: #09090b;
    --background-soft: #111114;
    --foreground: #fafafa;
    --muted-foreground: #a1a1aa;
    --card: #0f0f12;
    --card-foreground: #fafafa;
    --popover: #111114;
    --popover-foreground: #fafafa;
    --primary: #08f2a6;
    --primary-foreground: #04110b;
    --secondary: #18181b;
    --secondary-foreground: #fafafa;
    --accent: #18181b;
    --accent-foreground: #fafafa;
    --destructive: #ef4444;
    --border: #27272a;
    --input: #27272a;
    --ring: rgba(8, 242, 166, 0.35);
    --radius: 0.625rem;
    --font-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

html {
    font-size: 15px;
}

body {
    font-family: var(--font-sans);
    color: var(--foreground);
    background: var(--background);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

select {
    color-scheme: dark;
    background-color: #1b1b1f;
    color: var(--foreground);
}

select option,
select optgroup {
    background-color: #1b1b1f;
    color: var(--foreground);
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

.validation-message {
    color: #ffb6b6;
    font-size: 0.92rem;
}

#blazor-error-ui {
    background: #18181b;
    color: #fafafa;
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    display: none;
    padding: 0.85rem 1rem;
    position: fixed;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    float: right;
}
.provider-form-card .provider-input,
.provider-form-card input.provider-input,
.provider-form-card select.provider-input,
.provider-form-card textarea.provider-input {
    width: 100%;
    min-height: 2.8rem;
    padding: 0.78rem 0.9rem;
    border-radius: calc(var(--radius) - 0.1rem);
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.03);
    color: var(--foreground);
}

.provider-form-card select.provider-input {
    appearance: auto;
}

.provider-form-card textarea.provider-textarea,
.provider-form-card textarea.provider-input {
    min-height: 7rem;
    resize: vertical;
}

.provider-form-card .provider-input:focus,
.provider-form-card input.provider-input:focus,
.provider-form-card select.provider-input:focus,
.provider-form-card textarea.provider-input:focus {
    outline: none;
    border-color: rgba(8, 242, 166, 0.35);
    box-shadow: 0 0 0 0.18rem rgba(8, 242, 166, 0.12);
}

.provider-form-card .provider-input[disabled],
.provider-form-card input.provider-input[disabled],
.provider-form-card select.provider-input[disabled],
.provider-form-card textarea.provider-input[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
}

.provider-form-card select.provider-input option {
    background-color: #1b1b1f;
    color: var(--foreground);
}

body.office-crm-focus-mode {
    overflow: hidden;
}

body.office-crm-focus-mode .office-shell {
    grid-template-columns: 72px minmax(0, 1fr);
}

body.office-crm-focus-mode .office-sidebar {
    padding: 2rem 1rem;
}

body.office-crm-focus-mode .office-brand .brand-copy {
    display: none;
    width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-0.25rem);
}

body.office-crm-focus-mode .office-brand-logo-expanded {
    display: none;
}

body.office-crm-focus-mode .office-brand-logo-compact {
    display: block;
    object-position: center;
}

body.office-crm-focus-mode .office-main {
    padding: 12px;
}

body.office-crm-focus-mode .office-nav-shell {
    align-items: center;
    gap: 0.9rem;
    min-height: calc(100vh - 7.6rem);
}

body.office-crm-focus-mode .office-nav-primary,
body.office-crm-focus-mode .office-nav-sections,
body.office-crm-focus-mode .office-nav-section,
body.office-crm-focus-mode .office-nav-footer {
    width: 100%;
}

body.office-crm-focus-mode .office-nav-sections {
    gap: 0.75rem;
}

body.office-crm-focus-mode .office-nav-section-title,
body.office-crm-focus-mode .office-nav-copy,
body.office-crm-focus-mode .office-nav-label,
body.office-crm-focus-mode .office-nav-user-card {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.office-crm-focus-mode .office-nav-item,
body.office-crm-focus-mode .office-nav-main-button,
body.office-crm-focus-mode .office-nav-logout {
    justify-content: center;
    width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    border-radius: 0.5rem;
}

body.office-crm-focus-mode .office-nav-logout-collapsed-form {
    display: block;
}

body.office-crm-focus-mode .office-nav-user-card {
    display: none;
}

body.office-crm-focus-mode .office-nav-item:hover,
body.office-crm-focus-mode .office-nav-item.active {
    transform: translateX(0);
}

body.office-crm-focus-mode .office-nav-icon,
body.office-crm-focus-mode .office-nav-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

body.office-crm-focus-mode .office-nav-crm-group {
    justify-items: center;
}

body.office-crm-focus-mode .office-nav-crm-group .office-nav-chevron {
    display: none;
}

body.office-crm-focus-mode .office-nav-crm-group .office-nav-submenu {
    width: 2.5rem;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

body.office-crm-focus-mode .office-nav-crm-group .office-nav-subitem {
    justify-content: center;
    width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
}

body.office-crm-focus-mode .office-nav-crm-group .office-nav-subitem-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    body.office-crm-focus-mode {
        overflow: auto;
    }

    body.office-crm-focus-mode .office-shell {
        grid-template-columns: 1fr;
    }

    body.office-crm-focus-mode .office-sidebar {
        padding: 1.25rem;
    }

    body.office-crm-focus-mode .office-main {
        padding: 1rem;
    }
}

