/* =========================
   CONFIGURACIÓN GENERAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f5f6f8;
    color: #1f2937;
}


/* =========================
   BARRA SUPERIOR
========================= */

.topbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    background-color: #ffffff;

    display: flex;
    align-items: center;

    padding: 0 30px;

    border-bottom: 1px solid #e5e7eb;

    z-index: 1000;
}

.logo {
    font-size: 22px;
    font-weight: bold;

    color: #111827;

    margin-right: 40px;
}

.account {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 14px;
}

.account-label {
    color: #6b7280;
}

.account-number {
    color: #111827;
    font-weight: 600;
}


/* =========================
   MENÚ LATERAL
========================= */

.sidebar {
    position: fixed;

    top: 70px;
    left: 0;

    width: 250px;
    height: calc(100vh - 70px);

    background-color: #ffffff;

    border-right: 1px solid #e5e7eb;

    padding: 25px 15px;
}

.menu {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.menu-item {
    width: 100%;

    border: none;

    background-color: transparent;

    text-align: left;

    padding: 14px 15px;

    border-radius: 8px;

    font-size: 15px;

    cursor: pointer;

    color: #4b5563;

    transition: 0.2s;
}

.menu-item:hover {
    background-color: #f3f4f6;

    color: #111827;
}

.menu-item.active {
    background-color: #e8f5ee;

    color: #15803d;

    font-weight: 600;
}


/* =========================
   CONTENIDO PRINCIPAL
========================= */

.content {
    margin-left: 250px;

    padding: 100px 40px 40px;

    min-height: 100vh;
}


/* =========================
   ENCABEZADO
========================= */

.page-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;

    font-weight: 600;

    color: #111827;
}


/* =========================
   BOTÓN CREAR
========================= */

.create-button {
    background-color: #16a34a;

    color: white;

    border: none;

    padding: 11px 22px;

    border-radius: 7px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.create-button:hover {
    background-color: #15803d;

    transform: translateY(-1px);
}


/* =========================
   CONTENEDOR PRINCIPAL
========================= */

.campaigns-container {
    width: 100%;

    min-height: 400px;

    background-color: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 10px;

    display: flex;

    justify-content: center;
    align-items: center;
}


/* =========================
   ESTADO VACÍO
========================= */

.empty-state {
    text-align: center;
}

.empty-state h2 {
    font-size: 20px;

    margin-bottom: 8px;

    color: #1f2937;
}

.empty-state p {
    font-size: 14px;

    color: #6b7280;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .sidebar {
        width: 200px;
    }

    .content {
        margin-left: 200px;

        padding: 100px 20px 30px;
    }

    .account-label {
        display: none;
    }

}


@media (max-width: 550px) {

    .topbar {
        padding: 0 15px;
    }

    .logo {
        margin-right: 15px;
        font-size: 18px;
    }

    .account {
        font-size: 11px;
    }

    .sidebar {
        width: 180px;
    }

    .content {
        margin-left: 180px;

        padding: 90px 15px 30px;
    }

}