* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: "Segoe UI", sans-serif;

    background: linear-gradient(
        135deg,
        #08111f,
        #12243d
    );

    color: white;

}

.topbar {

    height: 64px;

    display: flex;

    align-items: center;

    padding: 0 30px;

    background: rgba(0,0,0,.25);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,.08);

}

.brand {

    font-size: 22px;

    font-weight: bold;

    letter-spacing: 2px;

}

.login-page {

    display: flex;

    justify-content: center;

    align-items: center;

    height: calc(100vh - 64px);

}

.login-panel {

    width: 430px;

    padding: 45px;

    border-radius: 14px;

    background: rgba(20,28,42,.90);

    border: 1px solid rgba(255,255,255,.06);

    box-shadow: 0 20px 70px rgba(0,0,0,.45);

}

.logo {

    text-align: center;

    font-size: 34px;

    font-weight: 700;

    letter-spacing: 3px;

}

.version {

    margin-top: 8px;

    margin-bottom: 35px;

    text-align: center;

    color: #9ca3af;

}

input {

    width: 100%;

    margin-bottom: 18px;

    padding: 14px;

    border-radius: 8px;

    border: 1px solid #374151;

    background: #111827;

    color: white;

    font-size: 15px;

}

input:focus {

    outline: none;

    border-color: #3b82f6;

}

button {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-size: 15px;

    cursor: pointer;

    transition: .2s;

}

button:hover {

    background: #1d4ed8;

}

.footer-links {

    display: flex;

    justify-content: space-between;

    margin-top: 25px;

}

.footer-links a {

    color: #60a5fa;

    text-decoration: none;

    font-size: 14px;

}

.footer-links a:hover {

    text-decoration: underline;

}

.copyright {

    margin-top: 35px;

    text-align: center;

    color: #6b7280;

    font-size: 13px;

}

/* ===========================
   APP LAYOUT
=========================== */

.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: #0b1220;
    border-right: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    padding: 24px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    border-bottom: 1px solid #1f2937;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
}

.sidebar nav a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 14px 24px;
    transition: background .2s;
}

.sidebar nav a:hover {
    background: #172033;
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #111827;
}

.topbar {
    height: 64px;
    border-bottom: 1px solid #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.page-content {
    flex: 1;
    padding: 32px;
}

.footer {
    border-top: 1px solid #1f2937;
    padding: 16px 24px;
    color: #94a3b8;
    font-size: 14px;
}
