﻿.custom-appbar {
    background:
        linear-gradient(
            135deg,
            #111827,
            #0b1220) !important;

    color: white !important;

    height: 72px !important;

    border-bottom:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 8px 24px rgba(15,23,42,.15) !important;

    padding-left: 14px;
    padding-right: 24px;
}

.menu-button {
    margin-right: 14px;
    color: white !important;
    transition: background-color .2s ease, transform .2s ease;
    border-radius: 10px !important;
}

.menu-button:hover {
    background: rgba(255,255,255,.08) !important;
    transform: translateY(-1px);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;
    color: white;

    box-shadow:
        0 4px 12px rgba(37,99,235,.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 700 !important;
    line-height: 1 !important;
}

.brand-subtitle {
    color: rgba(255,255,255,.65);
    line-height: 1 !important;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-button {
    color: white !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

.login-button:hover {
    background:
        rgba(255,255,255,.12) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
    transform: translateY(-1px);
}

.register-button {
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8) !important;

    color: white !important;

    border-radius: 12px !important;

    padding-left: 18px !important;
    padding-right: 18px !important;

    box-shadow:
        0 6px 16px rgba(37,99,235,.25);
}

.user-button {
    color: white !important;
    border-radius: 12px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.user-button:hover {
    background:
        rgba(255,255,255,.08) !important;
}

.user-menu-panel {
    min-width: 280px;
    padding: 10px;
    border-radius: 16px !important;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
}

.user-avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8);

    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 18px;
}

.user-email {
    font-weight: 600;
    color: #0f172a;
}

.user-tenant {
    font-size: 13px;
    color: #64748b;
}

.logout-item {
    color: #dc2626 !important;
}

.custom-drawer {
    background:
        linear-gradient(
            180deg,
            #0b1220,
            #111827);

    color: white;
    width: 200px;
}

.custom-drawer .mud-navmenu {
    padding-top: 14px;
}

.custom-drawer .mud-nav-link {
    color: rgba(255, 255, 255, .84) !important;
    border-radius: 12px;
    margin: 4px 10px;
    padding: 12px 14px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.custom-drawer .mud-nav-link:hover {
    background: rgba(255, 255, 255, .08) !important;
    color: #ffffff !important;
    transform: translateX(2px);
}

.custom-drawer .mud-nav-link.active {
    background: rgba(37, 99, 235, .18) !important;
    color: #ffffff !important;
    font-weight: 600;
}

.custom-drawer .mud-nav-link .mud-icon-root {
    color: inherit !important;
    opacity: .95;
}

.main-content {
    background: #f8fafc;
    min-height: calc(100vh - 72px);
    padding: 14px 14px 0;
}

.content-container {
    padding-top: 16px;
    padding-bottom: 16px;
}

