:root {
    --bg-dark: #042326;
    --bg-dark2: #062E31;
    --green: #1DB87A;
    --text-light: #dffef4;
}

/* ======== GLOBAL ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
    display: flex;
}

/* ======== SIDEBAR ======== */
.sidebar {
    width: 260px;
    height: 100vh;
    background: #031B1D;
    padding: 20px;
    position: fixed;
}

.logo-img {
    width: 40px;
}

.logo h2 {
    font-size: 18px;
    margin-top: 10px;
}

nav {
    margin-top: 25px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    color: #dffef4;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: .3s;
}

.nav-item:hover,
.nav-item.active {
    background: var(--green);
    color: #fff;
}

/* ======== MAIN CONTENT ======== */
.main {
    margin-left: 260px;
    width: calc(100% - 260px);
    padding: 30px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.title {
    font-size: 42px;
    color: var(--green);
    margin-bottom: 20px;
}

/* ======== BUTTON ======== */
.btn-add {
    background: var(--green);
    border: none;
    padding: 12px 25px;
    font-size: 18px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    float: right;
    margin-bottom: 20px;
}

/* ======== TABLE ======== */
.table-container {
    background: var(--bg-dark2);
    padding: 25px;
    border-radius: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px;
    color: var(--green);
    font-size: 18px;
}

td {
    padding: 12px;
    border-bottom: 1px solid #0f3c3d;
}

.activo {
    color: #2EFFA9;
}

.inactivo {
    color: #FF6B6B;
}

.btn-edit,
.btn-delete {
    background: #0C4744;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    margin-right: 6px;
}

.btn-delete {
    background: #943333;
}
