* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    /* Fondo con gradiente inspirado en la imagen pero usando tus colores */
    background: linear-gradient(135deg, #0A1931, #4A7FA7, #B3CFE5);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0A1931;
}

/* --- ESTILOS DEL LOGIN --- */
.login-container {
    position: relative;
    width: 350px;
    margin-top: 50px;
}

.login-card {
    background-color: #B3CFE5; /* Color claro de tu paleta */
    border-radius: 20px;
    padding: 60px 30px 40px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.avatar {
    width: 80px;
    height: 80px;
    background-color: #0A1931; /* Azul oscuro */
    border-radius: 50%;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid #F6FAFD;
    z-index: 2;
}

.avatar img {
    width: 40px;
    filter: invert(1); /* Pone el ícono blanco */
}

.input-group {
    background-color: #1A3D63;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 10px;
}

.input-group img {
    width: 20px;
    margin-right: 10px;
    filter: invert(1);
}

.input-group input {
    background: transparent;
    border: none;
    outline: none;
    color: #F6FAFD;
    width: 100%;
}

.input-group input::placeholder {
    color: #B3CFE5;
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #1A3D63;
    margin-top: 20px;
}

.login-btn {
    background-color: #F6FAFD;
    color: #0A1931;
    border: none;
    width: 80%;
    padding: 15px;
    font-weight: bold;
    border-radius: 0 0 15px 15px;
    cursor: pointer;
    position: absolute;
    bottom: -35px;
    left: 10%;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 0;
    transition: 0.3s;
}

.login-btn:hover {
    background-color: #4A7FA7;
    color: #F6FAFD;
}

/* --- ESTILOS DE LOS PANELES INTERNOS --- */
.dashboard-container {
    background-color: #F6FAFD;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 15px;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

h2 {
    color: #0A1931;
    margin-bottom: 20px;
    border-bottom: 2px solid #4A7FA7;
    padding-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th {
    background-color: #1A3D63;
    color: #F6FAFD;
    padding: 10px;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #B3CFE5;
    text-align: center;
}

form.panel-form {
    background: #B3CFE5;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

form.panel-form input, form.panel-form select {
    padding: 8px;
    margin: 5px;
    border: 1px solid #4A7FA7;
    border-radius: 5px;
}

form.panel-form button {
    background-color: #0A1931;
    color: #F6FAFD;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.logout {
    float: right;
    color: #1A3D63;
    text-decoration: none;
    font-weight: bold;
}

.status-firma {
    background-color: #28a745;
    color: #F6FAFD;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}