@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}

/* ================= LAYOUT ================= */

.layout {
    display: flex;
    height: 100vh;
}

/* ================= SIDEBAR ================= */

.sidebar {
    width: 80px;
    background-color: #111827;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    margin-bottom: 40px;
    color: white;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar a {
    position: relative;
    color: #9ca3af;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.sidebar a svg {
    width: 22px;
    height: 22px;
}

.sidebar a:hover {
    background-color: #1f2937;
    color: white;
}

.sidebar a.active {
    background-color: #2563eb;
    color: white;
}

.sidebar-bottom {
    margin-bottom: 10px;
}

/* Tooltip */

.sidebar a:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 90px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #111827;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 12px;
}

/* ================= ÁREA PRINCIPAL ================= */

.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ================= HEADER FIXO ================= */

.header {
    height: 70px;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

/* ================= CONTEÚDO ================= */

.content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}
