/******************************************************************************************* ESTILOS GENERALES */
:root {
    --blanco:         #ffffff;
    --negro:          #000000;    
    --fuente:         #4b4b43;
    --fondo-pantalla: #f8f4e2;    
    --primario:       #2F5597;   
    --secundario:     #70AD47;   
    --terciario:      #ED7D31;   
    --cuarto:         #4472C4;   
    --font-body: "Ubuntu", sans-serif;
}

html[data-tema="betowa"] {    
    --fondo-pantalla: #f2f2f2;      
    --primario:       #2F5597;   
    --secundario:     #70AD47;   
    --terciario:      #ED7D31;   
    --cuarto:         #4472C4; 
}

html[data-tema="cyberpunk"] {    
    --fondo-pantalla: #f8f4e2;
    --primario:       #e71d66;
    --secundario:     #f37b29;
    --terciario:      #244180;
    --cuarto:         #52329d; 
}


html[data-tema="chocolat"] {   
    --fondo-pantalla: #fbfbe280;
    --primario:       #672D15;
    --secundario:     #FEBA1E;
    --terciario:      #EB750B;
    --cuarto:         #878424;    
}


html[data-tema="zelda"] {
    --fondo-pantalla: #f5f1e3;  
    --primario:       #1e5945;   
    --secundario:     #d4af37;   
    --terciario:      #5b7fa2;   
    --cuarto:         #7e4a35;   
}

html[data-tema="coreflux"] {
  --fondo-pantalla: #fdf4f5;
  --primario:       #FF4713;
  --secundario:     #141D29;
  --terciario:      #58595B;
  --cuarto:         #FFCFBF;
}

html[data-tema="oscuro"] {
  --fondo-pantalla: #fdf4f5;
  --primario:       #0D0D0D;
  --secundario:     #737373;
  --terciario:      #404040;
  --cuarto:         #A6A6A6;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

body {
    font-family: var(--font-body);    
    background-color: var(--fondo-pantalla);
    color: var(--fuente);
    transition: background-color .4s;    
}

a {
    text-decoration: none;
    color: var(--blanco);
}

button {
    all: unset;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: "Open Sans", sans-serif; 
    margin: 0;
    padding: 0;   
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
p  { font-size: 1rem; line-height: 1.5; }

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--primario); 
    color: var(--blanco);
    text-align: center;
    padding: 10px 0;
}
/******************************************************************************************* FIN ESTILOS GENERALES */

/************************************************************************ ESTILOS BOTONES ***/
.btn-primary,
.btn-success {
    transition: all 0.4s ease;
    width: auto;
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--blanco);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--secundario);
    border-color: var(--secundario);
}

.btn-primary:hover {
    background-color: var(--blanco);
    border-color: var(--secundario);
    color: var(--secundario);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.btn-success {
    background-color: var(--terciario);
    border-color: var(--terciario);
}

.btn-success:hover {
    background-color: var(--blanco);
    border-color: var(--terciario);
    color: var(--terciario);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.btn-primary:focus,
.btn-success:focus {
    outline: 3px dashed currentColor;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .btn-primary,
    .btn-success {
        transition: none !important;
        transform: none !important;
    }
}
/************************************************************************ FIN ESTILOS BOTONES ***/

/************************************************************************ ESTILOS ACORDEON ***/
.custom-header {
    background-color: var(--primario); 
    color: #FFFFFF; 
    border-color: var(--blanco); 
}

.custom-header.collapsed {
    background-color: var(--secundario);
    color: #FFFFFF;
    border-color: var(--blanco);
}

.custom-body {
    background-color: var(--blanco); 
    color: #333333; 
    border-color: var(--blanco);
}

.accordion-button:not(.collapsed) {
    background-color: var(--secundario); 
    color: var(--blanco); 
  }
  
  .accordion-button.collapsed {
    background-color: var(--secundario); 
    color: var(--blanco); 
  }
  
  .accordion-button:focus {
    box-shadow: none; 
  }

  .col-nombres {
    width: 220px; 
}

.negrita {
    font-weight: bold;
}

.interlineado {
    line-height: 1.5rem;
}
/************************************************************************ ESTILOS ACORDEON ***/

/************************************************************************ ESTILOS PARA CARS DE ACTAS ***/
.card_actas {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    background-color: #ffffff; 
    height: 100%;
}

.card_actas:hover {
    transform: translateY(-10px) scale(1.05); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); 
    background-color: var(--terciario);
}

.card_actas:hover .card-title {
    color: var(--blanco); 
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    color: var(--blanco); 
    transition: transform 0.3s ease, color 0.3s ease;
}

.card_actas:hover i {
    color: var(--blanco); 
    transform: rotate(15deg); 
    transition: transform 0.3s ease, color 0.3s ease;
}    
/************************************************************************ ESTILOS PARA CARS DE ACTAS **
        
/***************************************** ESTILOS FORMULARIOS *******************************/
.fieldset-general,
fieldset.general {
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

fieldset {
    border: 2px solid #ccc;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: #f9f9f9;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

legend,
legend.general-legend {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 1rem;
    color: #333;
}

.form-floating label,
.form-label {
    font-weight: 500;
    font-size: 0.95rem;
    color: #555;
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
    padding: 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

input[disabled],
input[hidden] {
    display: none !important;
}

input[type="file"] {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px;
    transition: border-color 0.2s;
}

input[type="file"]:hover {
    border-color: #aaa;
}

fieldset.time-group {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

legend.time-legend {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 10px;
}

input[type="date"].form-control,
input[type="time"].form-control,
.form-floating input[type="date"],
.form-floating input[type="time"] {
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    padding-left: 15px;
    height: 58px;
}

fieldset.checkbox-group {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

legend.checkbox-legend {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 10px;
}

.checkbox-container,
#checkbox_instructores {
    height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    padding: 10px 15px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 transparent;
}

#checkbox_instructores::-webkit-scrollbar,
.checkbox-container::-webkit-scrollbar {
    width: 6px;
}

#checkbox_instructores::-webkit-scrollbar-thumb,
.checkbox-container::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}

.form-check {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
    cursor: pointer;
    padding-left: 30px;
}

.form-check:hover {
    background-color: #f0f0f0;
}

.form-check-label {
    font-size: 0.95rem;
    color: #333;
    margin-left: 0.4rem;
    cursor: pointer;
}

.form-check-input {
    margin-left: 5px;
    margin-right: 8px;
}

.form-check-input:checked {
    background-color: #0d6efd; 
    border-color: #0d6efd;
}

fieldset.file-upload-group {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
}

legend.file-upload-legend {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 10px;
}

fieldset.mobiliario-group {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 30px 0;
    background-color: #f8f9fa;
}

legend.mobiliario-legend {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 10px;
}

.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
    font-style: italic;
    color: #555;
}

fieldset.descripcion-group {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 30px 0;
    background-color: #f8f9fa;
}

legend.descripcion-legend {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 10px;
}

.radio-group label.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 5px;
    cursor: pointer;
    font-size: 0.95rem;
}

.radio-option input[type="radio"] {
    margin-right: 6px;
    cursor: pointer;
}

.form-text,
small.text-muted {
    font-style: italic;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .fieldset-general,
    fieldset,
    fieldset.checkbox-group,
    fieldset.time-group {
        padding: 1.2rem;
    }

    legend,
    fieldset > p {
        font-size: 1.3rem;
    }

    #checkbox_instructores {
        max-height: 300px;
    }

    .radio-option {
        display: block;
        margin-right: 0;
    }

    .form-check {
        margin-bottom: 0.5rem;
    }

    .form-floating {
        margin-bottom: 20px;
    }
}
/***************************************** ESTILOS FORMULARIOS *******************************

/***************************************** DESACTIVAR ICONO OJO EN PASSWORD *******************
/* Ocultar el ícono de revelar contraseña en Edge y navegadores Chromium */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

/* Chrome y derivados */
input[type="password"]::-webkit-textfield-decoration-container {
    display: none;
}
/***************************************** DESACTIVAR ICONO OJO EN PASSWORD *******************
