﻿body {
    margin: 0;
    font-family: Segoe UI;
    background: #f4f6f9;
}


/* Topbar */

.topbar {
    height: 60px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 34px;
    height: 34px;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: bold;
}

.brand-title {
    font-weight: 600;
    font-size: 14px;
}

.brand-sub {
    font-size: 11px;
    color: #6b7280;
}

.search-box {
    width: 260px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


/* Layout */

.app-layout {
    display: flex;
}


/* Sidebar */

.sidebar {
    width: 230px;
    background: #1e293b;
    color: white;
    min-height: calc(100vh - 60px);
    padding-top: 20px;
}

.menu-title {
    padding: 10px 20px;
    font-size: 12px;
    color: #9ca3af;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu li a {
        display: block;
        padding: 12px 20px;
        color: white;
        text-decoration: none;
        font-size: 14px;
    }

        .menu li a:hover {
            background: #334155;
        }


/* Main */

.main-content {
    flex: 1;
    padding: 25px;
}

.content-inner {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}


/* Footer */

.footer {
    text-align: center;
    padding: 15px;
    background: #f1f5f9;
    font-size: 13px;
    color: #777;
}

.auth-body {
    background: #f4f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 420px;
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.login-logo {
    text-align: center;
    margin-bottom: 25px;
}

    .login-logo .logo {
        width: 50px;
        height: 50px;
        background: #2563eb;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 22px;
        margin: auto;
        margin-bottom: 10px;
    }