* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #171717;
}

.auth-card {
    background: white;
    width: 400px;
    padding: 35px;
    border-radius: 12px;
}

.auth-card h1 span,
.sidebar h2 span {
    color: #f47721;
}

label {
    display: block;
    margin: 15px 0 7px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
}

button {
    background: #f47721;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
}

.auth-card button {
    width: 100%;
    margin-top: 20px;
}

.alert {
    color: red;
    margin: 12px 0;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: #171717;
    color: white;
    padding: 25px 18px;
}

.sidebar h2 {
    margin-bottom: 30px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 13px;
    border-radius: 7px;
    margin-bottom: 5px;
}

.sidebar a:hover {
    background: #333;
}

.sidebar form {
    margin-top: 30px;
}

.sidebar button {
    width: 100%;
}

.main {
    flex: 1;
    padding: 30px;
}

.main header {
    margin-bottom: 25px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.card p {
    color: #777;
}

.card h2 {
    margin-top: 15px;
    font-size: 25px;
}

@media (max-width: 800px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar {
        width: 180px;
    }
}

@media (max-width: 550px) {
    .layout {
        display: block;
    }

    .sidebar {
        width: 100%;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}