/* === Reset básico === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* === General === */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.4;
    padding: 20px;
}
/*===========================================*/
/* === GUI - PANEL CONTROL DEL PACIENTE === */
    /* === Contenedor principal - container === */
.CSS_JFrame_PanelControlPacient{
    width: 90%;
    /*width: 20%;*/
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}
    /* === Flex layout para secciones - flex-container === */
.CSS_JPanel_PanelControlPacient{
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.CSS_JTable_StatusAgendaPaciente{
    flex: 1 1 60%;
    min-width: 280px;
}
.CSS_JTextArea_PanelControlPacient{
    flex: 1 1 35%;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}
/* === FIN --- GUI - PANEL CONTROL DEL PACIENTE === */
/*===========================================*/
/* === GUI - PANEL CONTROL DEL ODONTOLOGO === */
.CSS_JFrame_PanelControlDoctor{
    /*width: 90%;*/
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}
/* === FIN --- GUI - PANEL CONTROL DEL ODONTOLOGO === */
/*===========================================*/
/* === GUI - LOGIN === */
.CSS_JFrame_GUILogin_jsp{
    /*width: 90%;*/
    width: 20%;
    max-width: 900px;
    margin: 20px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
}
/* === FIN --- GUI - LOGIN === */
/*===========================================*/
/* === Títulos === */
h2,h3,h4{
    margin-bottom: 15px;
    color: #28a745;
}
h2{
    text-align: center;
}
/* === Flex layout para secciones === */
.flex-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.resumen-area, .details-container {
    flex: 1 1 35%;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
}
/* === Formularios y botones === */
form, table {
    width: 100%;
}
button {
    background-color: #28a745;
    border: none;
    padding: 10px 15px;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #218838;
}
/* === Tablas === */
table{
    border-collapse:collapse;
    width:100%;
    margin-top:10px;
}
th,td{
    border:1px solid #ccc;
    padding:10px;
    text-align:center;
}
th{
    background-color: #e9ecef;
}
/*Resaltar fila seleccionada*/
.selected{
    background-color: #fff3cd;
}
/* Hover filas tabla cancelados */
#turnosCancelados tbody tr:hover{
    background-color: #ffeeba;
    cursor: pointer;
}
/* Textarea en tabla cancelados */
#turnosCancelados td:nth-child(5) textarea{
    width: 100%;
    height: 80px;
    resize: vertical;
    padding: 5px;
    font-family: inherit;
    font-size: 14px;
}
/* Mensajes */
.CSS_GenericMsjInfo{
    margin-top: 15px;
    padding: 10px;
    background-color: #e2e3e5;
    border-left: 4px solid #6c757d;
    font-size: 14px;
}
 .mensaje-error {
    color: #a94442;
    background-color: #f2dede;
    padding: 10px;
    border-left: 4px solid #a94442;
    margin-bottom: 15px;
    max-width: 400px;
}
/* Enlaces */
a{
    display: block;
    margin-top: 20px;
    text-align: center;
    color: #007bff;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
/* INICIO --- ESTILOS GLOBALES DEL PORTAL CAUTIVO */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body, html {
    height: 100%;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* Contenedor del Video o GIF de fondo */
.background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: #111;
}
.background-container video, 
.background-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Oscurece un poco para resaltar el menú */
}

/* Barra de Menú Principal superior */
header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}
.nav-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}
.nav-btn {
    background-color: #ffffff;
    color: #2c3e50;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background-color: #25D366;
    color: white;
    transform: translateY(-2px);
}

/* Área Central (Recuadro del bosquejo) */
.main-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100% - 80px);
    text-align: center;
    color: white;
    padding: 20px;
}
.hero-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.hero-box h1 {
    font-size: 28px;
    margin-bottom: 15px;
}
.hero-box p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}
.cta-btn {
    background-color: #25D366;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: background 0.3s;
}
.cta-btn:hover {
    background-color: #1ebe5d;
}
/* FIN --- ESTILOS GLOBALES DEL PORTAL CAUTIVO */