
/* Colores principales */
:root {
    --azul: #009fe3;
    --amarillo: #eba900;
    --rojo: #e74c3c;
    --verde: #27ae60;
    --fondo-login: #08bdf5;
}

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* General */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f4f7;
    color: #333;
}

/* Botones */
button,
input[type="submit"],
a.boton {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.boton-azul { background-color: var(--azul); color: white; }
.boton-verde { background-color: var(--verde); color: white; }
.boton-rojo { background-color: var(--rojo); color: white; }
.boton-amarillo { background-color: var(--amarillo); color: black; }

button:hover,
input[type="submit"]:hover,
a.boton:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Login */
.login-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 320px;
    margin: 100px auto;
    position: relative;
}

.login-box h2 {
    margin-bottom: 20px;
    text-align: center;
}

.login-box label,
.login-box input {
    display: block;
    width: 100%;
    margin-bottom: 15px;
}

.login-box input {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.login-header {
    background-color: var(--fondo-login);
    padding: 10px 0;
    text-align: center;
}

.login-header img {
    width: 80px;
}

/* Sidebar y Dashboard */
.sidebar {
    width: 220px;
    background-color: #1b2a49;
    height: 100vh;
    color: white;
    float: left;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar a {
    color: white;
    text-decoration: none;
    margin: 10px 0;
    display: block;
    transition: all 0.2s ease-in-out;
}

.sidebar a:hover {
    transform: translateX(5px);
    text-decoration: underline;
}

.main {
    margin-left: 240px;
    padding: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    max-width: 700px;
}
