/* =====================
   ESTILO GLOBAL
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #1E1E1E;
    color: #fff;
    height: 100vh;
    overflow: hidden;
}

/* Notificações */
#notify {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2C2C2C;
    padding: 12px 18px;
    border-radius: 8px;
    display: none;
    opacity: 0;
    transition: 0.3s ease;
    color: white;
    z-index: 9999;
}

/* =====================
   CARD LOGIN / REGISTER
===================== */
.card {
    width: 350px;
    background: #2C2C2C;
    padding: 25px;
    border-radius: 14px;
    margin: 10% auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    animation: fadeIn 0.5s both;
}

.card input {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1E1E1E;
    color: #fff;
    outline: none;
}

.card button {
    padding: 12px;
    background: #6C18FF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

.card button:hover {
    background: #5508D8;
}

#switchMode {
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    color: #aaa;
}

#switchMode:hover {
    color: #fff;
}

/* =====================
   PAINEL
===================== */
.hidden {
    display: none;
}

header {
    height: 70px;
    background: #2C2C2C;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

header .profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

header img {
    width: 38px;
    filter: invert(1);
}

#menuBtn {
    cursor: pointer;
    font-size: 26px;
}

/* Sidebar */
#sidebar {
    position: fixed;
    top: 70px;
    left: -250px;
    width: 250px;
    height: calc(100% - 70px);
    background: #1E1E1E;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: 0.3s ease;
}

#sidebar button {
    padding: 12px;
    border: none;
    background: #2C2C2C;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

#sidebar button:hover {
    background: #6C18FF;
}

/* MAIN PANEL */
#mainPanel {
    padding: 25px;
    margin-top: 20px;
}

#logs {
    list-style: none;
    margin-top: 15px;
}

#logs li {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: #2C2C2C;
}

/* Cores das atividades */
.log-register {
    border-left: 5px solid #00d26a;
}

.log-login {
    border-left: 5px solid #00ffa2;
}

.log-logout {
    border-left: 5px solid #ff2d2d;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
