/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial;
    background: #0f0f0f;
    color: #fff;
}

/* APP LAYOUT */
.app {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR (DESKTOP) */
.sidebar {
    width: 220px;
    background: #111;
    padding: 20px;
}

.sidebar h2 {
    color: #00c853;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin: 15px 0;
    cursor: pointer;
}

.sidebar li:hover,
.sidebar .active {
    color: #00c853;
}

/* CONTENT */
.content {
    flex: 1;
    padding: 20px;
}

/* DASHBOARD */
.dashboard {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.card {
    background: #1c1c1c;
    padding: 15px;
    border-radius: 10px;
    flex: 1;
}

.card h3 {
    margin-bottom: 10px;
}

/* LOGIN */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    background: #1c1c1c;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 350px;
    text-align: center;
}

.login-box h1 {
    margin-bottom: 20px;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    background: #2a2a2a;
    color: #fff;
}

.login-box button {
    width: 100%;
    padding: 10px;
    background: #00c853;
    border: none;
    border-radius: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.login-box button:hover {
    opacity: 0.9;
}

.login-box a {
    text-decoration: none;
}

h1 {
    margin-bottom: 15px;
}

/* CHECKLIST */
ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 10px 0;
}

input[type="checkbox"] {
    margin-right: 10px;
}

.progress {
    margin-top: 15px;
    font-weight: bold;
}

/* MOBILE RESPONSIVO */
@media (max-width: 768px) {

    .app {
        flex-direction: column;
    }

    /* SIDEBAR VIRA MENU TOP */
    .sidebar {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .sidebar h2 {
        font-size: 18px;
    }

    .sidebar ul {
        display: flex;
        gap: 10px;
    }

    .sidebar li {
        margin: 0;
        font-size: 14px;
    }

    /* DASHBOARD EMPILHA */
    .dashboard {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    /* CONTENT */
    .content {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }
}

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    background: #00c853;
    padding: 10px;
    border-radius: 5px;
    z-index: 999;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        width: 200px;
        transition: 0.3s;
        z-index: 998;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar ul {
        flex-direction: column;
    }
}