html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI...) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

:root {
    --primary: #D92555;
    --primary-dark: #1176cf;
    --secondary: #209cd4;
    --accent: #ff006e;
    --dark: #1e1e2e;
    --darker: #121212;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

/* Layout Structure */

.page {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    background: #1e293b;
    color: white;
}

.main-content {
    flex: 1;
    background: #f8fafc;
    overflow-y: auto;
}

/* Sidebar Theme */

.top-row.navbar {
    background: #111827 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-logo {
    height: 32px;
    margin-right: 10px;
}

.nav-scrollable {
    background: #1e293b;
}

.nav-link {
    color: #cbd5e1 !important;
    border-radius: 6px;
    margin: 4px 8px;
}

    .nav-link:hover {
        background: rgba(255,255,255,0.05);
        color: #ffffff !important;
    }

    .nav-link.active {
        background: var(--primary);
        color: #ffffff !important;
    }

.navbar-toggler {
    background: transparent;
    border: none;
}

.navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 600;
    font-size: 1rem;
}

/* Top Bar (same color as sidebar) */

.topbar {
    height: 56px;
    background: #1e293b;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Tenant Badge */

.tenant-badge {
    background: #eef2ff;
    color: #3730a3;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Avatar */

.user-avatar {
    height: 34px;
    width: 34px;
    background: #4f46e5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .nav-link span.bi {
        font-size: 1.1rem;
        line-height: 1;
    }
