/* assets/css/global.css */

:root {
    /* Identidad de Marca Cellbytez */
    --primary: #1e3a8a;      /* Azul Profundo */
    --accent: #f59e0b;       /* Naranja para botones de acción */
    --bg-body: #f8fafc;      /* Fondo gris muy claro */
    --text-main: #1e293b;    /* Gris casi negro */
    --text-muted: #64748b;   /* Gris para textos secundarios */
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
}

/* --- Estructura Header --- */
.main-header {
    background: var(--white);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo-container a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.user-actions a {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-login {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-login:hover {
    background: var(--primary);
    color: var(--white);
}

.user-name {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Footer --- */
.main-footer {
    background: var(--text-main);
    color: var(--white);
    padding: 40px 5% 20px;
    margin-top: 50px;
    text-align: center;
}

/* Utilidades Responsive */
@media (max-width: 768px) {
    .main-header { padding: 0 15px; }
}