/*estilos x*/ 
 /* Estilos para el login - Tema oscuro */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} 

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.login-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.login-card {
    background-color: #000000;
    border: 2px solid #333333;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
 .logo {
    width: 180px;
    margin: 0 auto 25px;
    display: block;
    object-fit: contain;
}

h1 {
    font-family: 'Hatton', 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #aaaaaa;
    margin-bottom: 35px;
    letter-spacing: 0.3px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn.primary {
    background-color: #00B4D8; /* Sky blue */
    color: #000000;
}

.btn.primary:hover {
    background-color: #0096C7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.btn.secondary {
    background-color: #000000; /* Viridian grey */
    color: #ffffff;
}

.btn.secondary:hover {
    background-color: #89c1f8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 139, 155, 0.3);
}

/* Estilos responsivos */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .logo {
        width: 150px;
        height: 150px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}

/* Importar tipografía Hatton (si no está disponible, usar Montserrat como fallback) */
@font-face {
    font-family: 'Hatton';
    src: url('https://fonts.cdnfonts.com/css/hatton') format('woff2');
    font-weight: normal;
    font-style: normal;
}


h1 {
    font-family: 'Hatton', 'Montserrat', sans-serif;
}

/* estilos formulario registrarse*/ 

@font-face {
    font-family: 'Hatton';
    src: url('../fonts/Hatton-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    min-height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}



.card {
    width: 420px;
    background-color: #000;
    border: 1px solid #1a1a1a;
    padding: 40px 35px;
    border-radius: 12px;
}


.logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.logo img {
    max-width: 140px;
    height: auto;

}


.card h2 {
    text-align: center;
    font-family: 'Hatton', serif;
    font-size: 32px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.role-switch {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.role-switch input[type="radio"] {
    display: none;
}

.role-switch label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    color: #777;
    position: relative;
    padding-bottom: 6px;
}

.role-switch input[type="radio"]:checked + label {
    color: #5bc0eb; /* sky blue */
}

.role-switch input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #5bc0eb;
}



.form {
    display: none;
}

.form label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    color: #aaa;
}

.form input {
    width: 100%;
    background-color: #000;
    border: 1px solid #222;
    padding: 12px 10px;
    margin-bottom: 18px;
    border-radius: 6px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.form input::placeholder {
    color: #444;
}

.form input:focus {
    outline: none;
    border-color: #5bc0eb;
}



.form button {
    width: 100%;
    padding: 14px;
    background-color: #5bc0eb; /* sky blue */
    color: #000;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form button:hover {
    background-color: #2a9d8f; /* viridian green */
    color: #000;
}



.link {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #777;
}

.link a {
    color: #5bc0eb;
    text-decoration: none;
}

.link a:hover {
    text-decoration: underline;
}
/*-----------------------------------------------*/
/* ESTILOS FORM INICIAR SESION */
 /* =========================
   TIPOGRAFÍAS
========================= */

@font-face {
    font-family: 'Hatton';
    src: url('../fonts/Hatton-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY
========================= */

body {
    min-height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

/* =========================
   CARD CONTENEDOR
========================= */

.card {
    width: 420px;
    background-color: #000;
    border: 1px solid #1a1a1a;
    padding: 40px 35px;
    border-radius: 12px;
}

/* =========================
   LOGO
========================= */

.logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.logo img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

/* =========================
   TITULO
========================= */

.card h2 {
    text-align: center;
    font-family: 'Hatton', serif;
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

/* =========================
   FORMULARIO
========================= */

form label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    color: #aaa;
}

form input {
    width: 100%;
    background-color: #000;
    border: 1px solid #222;
    padding: 12px 10px;
    margin-bottom: 20px;
    border-radius: 6px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

form input::placeholder {
    color: #444;
}

form input:focus {
    outline: none;
    border-color: #5bc0eb;
}

/* =========================
   BOTÓN
========================= */

form button {
    width: 100%;
    padding: 14px;
    background-color: #5bc0eb; /* sky blue */
    color: #000;
    border: none;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

form button:hover {
    background-color: #2a9d8f; /* viridian green */
    color: #000;
}

/* =========================
   LINK REGISTRO
========================= */

.link {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #777;
}

.link a {
    color: #5bc0eb;
    text-decoration: none;
}

.link a:hover {
    text-decoration: underline;
}
/*ESTILOS INICIO CALENDARIO INICIO.HTML------------------------------------------------------------------------------------*/
 /* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
}

/* CONTENEDOR GENERAL */
.app-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    background-color: #1f2933;
    color: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hamburger {
    font-size: 24px;
    cursor: pointer;
}

/* CRÉDITOS */
.credits-section h3 {
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #374151;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #3b82f6;
}

.credits-text {
    margin-top: 8px;
    font-size: 14px;
}

/* BOTONES */
.sidebar-actions a,
.view-options button,
.history a {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    text-align: center;
    background-color: #111827;
    color: white;
    border: none;
    text-decoration: none;
    cursor: pointer;
    border-radius: 4px;
}

.view-options button {
    margin-top: 8px;
}

/* CONTENIDO PRINCIPAL */
.main-content {
    flex: 1;
    padding: 20px;
    height: 100vh;
    overflow: hidden;
}

/* CONTENEDOR DEL CALENDARIO */
#calendar {
    height: 100%;
    width: 100%;
}
 /* ============================= */
/* ADMINISTRADOR - ESTILO OSCURO */
/* ============================= */

body {
    background-color: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    width: 250px;
    background-color: #111;
    padding: 20px;
    box-sizing: border-box;
    border-right: 1px solid #222;
}

.sidebar h3 {
    margin-top: 0;
    color: #fff;
}

.admin-menu ul {
    list-style: none;
    padding: 0;
}

.admin-menu li {
    margin: 15px 0;
}

.admin-menu a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s;
}

.admin-menu a:hover {
    color: #fff;
}

/* MAIN CONTENT */

.main-content {
    flex: 1;
    padding: 30px;
    background-color: #000;
    box-sizing: border-box;
}

.admin-section {
    margin-bottom: 50px;
}

.admin-section h2 {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* CARDS RESUMEN */

.admin-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-card {
    background-color: #111;
    padding: 20px;
    width: 200px;
    border: 1px solid #222;
    text-align: center;
}

.admin-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #aaa;
}

.admin-card p {
    font-size: 24px;
    margin: 0;
    color: #fff;
}

/* TABLAS */

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border: 1px solid #222;
    padding: 10px;
    text-align: left;
}

.admin-table th {
    background-color: #111;
    color: #ccc;
}

.admin-table tr:nth-child(even) {
    background-color: #0d0d0d;
}

/* BOTONES */

button {
    background-color: #222;
    color: #fff;
    border: 1px solid #333;
    padding: 6px 12px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #333;
}

/* FORMULARIOS */

input,
textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    background-color: #111;
    border: 1px solid #333;
    color: #fff;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #555;
}

/* RESPONSIVE SIMPLE */

@media (max-width: 768px) {
    .admin-cards {
        flex-direction: column;
    }

    .sidebar {
        width: 200px;
    }
}
