﻿/*
    Maquetacion

    320 x 480 celular ver
    480 x 320 celular hor
    768 x 1024 tablet ver
    1024 x 768 tablet hor
    1680 x 1050 desktop

    900 = Desktop
    900 = 10 140 10 - 10 - 10 420 10 - 10 - 10 260 10 | 60  logo(left) titulo usuario(right)
                                                      | 10
    900 =                  10 710 10 - 10 - 10 140 10 | 400 menu(left) trabajo
                                                      | 10

    660 = Tablet
    660 =                  10 350 10 - 10 - 10 260 10 | 60 titulo usuario(right)
    660 =                  10 640 10                  | 400 trabajo

    480 = Celular
    480 =                  10 460 10                  | 60  titulo
    480 =                  10 460 10                  | 60  usuario
    480 =                  10 460 10                  | 60  trabajo

    La cantidad de caracteres en los textbox se tienen delimitadas en aspx
    cantidad de tratamientos, usuario, password con MaxLength="n" 
 */

@media screen and (max-width:640px) { /* reglas CSS */ }
@media screen and (max-device-width: 799px) { /* reglas CSS */ }
@media screen and (max-width:1024px) and (min-width:640px) { /* reglas CSS */ }
@media screen and (min-width:1024px) { /* reglas CSS */ }

body {
    font: 10pt Verdana, Geneva, Arial, Helvetica, sans-serif;
    margin: 10px 10px 10px 10px;
    text-align: center;
    background-color: #ebebeb;
}

.imgLogo {
    width: 100px;
    height: 70px;

}

.imgAnuncio {
    width: 140px;
    height: 90px;
}

/*#region txt */

.txt {
    width: 80px;
    font-size: 11px;
    padding: 07px;
    border: 1px solid #34abea;
    border-radius: 8px;
    outline: none;
}

.txtCelular {
    font-size: 11pt;
    width: 85px;
    padding: 07px;
    border: 1px solid #34abea;
    border-radius: 8px;
    outline: none;
}

.txtFecha {
    font-size: 11pt;
    width: 115px;
    padding: 07px;
    border: 1px solid #34abea;
    border-radius: 8px;
    outline: none;
}

.txtNombre {
    font-size: 11pt;
    width: 130px;
    padding: 07px;
    border: 1px solid #34abea;
    border-radius: 8px;
    outline: none;
}

.txtDireccion {
    font-size: 11pt;
    width: 145px;
    padding: 07px;
    border: 1px solid #34abea;
    border-radius: 8px;
    outline: none;
}

.txtNota {
    font-size: 11pt;
    width: 80%;
    height: 100px;
    padding: 07px;
    border: 1px solid #5da2eb;
    border-radius: 8px;
    outline: none;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.15);
    text-align: center;
    border-spacing: 10px; /* Espaciado entre celdas */
}

.txtAyuda {
    width: 500px;
    font-size: 12px;
  
  
}

.txtLargo {
    font-size: 11pt;
    width: 300px;
    padding: 07px;
    border: 2px solid #5da2eb;
    border-radius: 8px;
    outline: none;
}

.txtCorto {
    font-size: 11pt;
    width: 40px;
    padding: 07px;
    border: 2px solid #5da2eb;
    border-radius: 8px;
    outline: none;
}

.txtMedio {
    font-size: 11pt;
    width: 100px;
    padding: 07px;
    border: 2px solid #5da2eb;
    border-radius: 8px;
    outline: none;
}

/*#endregion */

/*#region btn */




.btn {
    background-color: #bceeff;
    font-weight: bold; /* Texto negro */
    color: rgb(8, 87, 190);
    border: none; /* Sin borde extra */
    border-radius: 12px; /* Bordes redondeados: 12px */
    padding: 10px 20px; /* Espacio interno arriba‑abajo / lados */
    font-size: 14px; /* Tamaño de la fuente */
    width: 90px;
    font-family: Arial, sans-serif; /* Tipografía legible */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    transition: background-color 0.3s, transform 0.2s; /* Transiciones suaves */
    text-align: center;
}

    /* Efecto al presionar */
    .btn:active {
        transform: scale(0.95); /* Simula el "presionar" */
        background-color: #6cb4ef; /* Cambia el color */
    }

btn:hover {
    background-color: #4db8ff;
    border-color: rgba(255, 255, 255, 0.6);
}

/*Inicio Bton deshabilitado*/

.btn:disabled {
    background-color: #a6cde0; /*#bceeff;*/
    color: rgba(255, 255, 255, 0.6);
    border: none; /* Sin borde extra */
    cursor: not-allowed;
    opacity: 0.7;
}
/*Fin boton deshabilitado*/

.btnBlu {
    background-color: #bceeff;
    color: rgb(4, 51, 239); /* Texto negro */
    border: none; /* Sin borde extra */
    border-radius: 12px; /* Bordes redondeados: 12px */
    padding: 10px 20px; /* Espacio interno arriba‑abajo / lados */
    font-size: 14px; /* Tamaño de la fuente */
    text-align: center;
    width: 100px;
    font-family: Arial, sans-serif; /* Tipografía legible */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    transition: background-color 0.3s, transform 0.2s; /* Transiciones suaves */
    align-items: center; /* centra verticalmente */
    justify-content: center; /* centra horizontalmente */
    text-align: center; /* asegura el centrado del texto */
}
.btnBlu:active {
    transform: scale(0.95); /* Simula el "presionar" */
    background-color: #6cb4ef; /* Cambia el color */
}

    .btnBlu:disabled {
        background-color: #a6cde0; /*#bceeff;*/
        color: rgba(255, 255, 255, 0.6);
        border: none; /* Sin borde extra */
        cursor: not-allowed;
        opacity: 0.7;
    }


.btnCorto {
    background-color: #bceeff;
    color: rgb(10, 13, 12); /* Texto negro */
    border: none; /* Sin borde extra */
    border-radius: 12px; /* Bordes redondeados: 12px */
    padding: 12px 20px; /* Espacio interno arriba‑abajo / lados */
    font-size: 12px; /* Tamaño de la fuente */
    font-weight: bold; /* Texto negro */
    width: 25px;
    font-family: Arial, sans-serif; /* Tipografía legible */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    transition: background-color 0.3s, transform 0.2s; /* Transiciones suaves */
    text-align: center;
    align-items: center; /* centra verticalmente */
    justify-content: center; /* centra horizontalmente */
    text-align: left; /* asegura el centrado del texto */
}
.btnCorto:active {
    transform: scale(0.95); /* Simula el "presionar" */
    background-color: #6cb4ef; /* Cambia el color */
}

    .btnCorto:disabled {
        background-color: #a6cde0; /*#bceeff;*/
        color: rgba(255, 255, 255, 0.6);
        border: none; /* Sin borde extra */
        cursor: not-allowed;
        opacity: 0.7;
    }


.btnLargo {
    background-color: #bceeff;
    color: rgb(10, 13, 12); /* Texto negro */
    border: none; /* Sin borde extra */
    border-radius: 12px; /* Bordes redondeados: 12px */
    padding: 12px 24px; /* Espacio interno arriba‑abajo / lados */
    font-size: 14px; /* Tamaño de la fuente */
    width: 150px;
    font-family: Arial, sans-serif; /* Tipografía legible */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    transition: background-color 0.3s, transform 0.2s; /* Transiciones suaves */
    text-align: center;
}
.btnLargo:active {
    transform: scale(0.95); /* Simula el "presionar" */
    background-color: #6cb4ef; /* Cambia el color */
}

    .btnLargo:disabled {
        background-color: #a6cde0; /*#bceeff;*/
        color: rgba(255, 255, 255, 0.6);
        border: none;
        cursor: not-allowed;
        opacity: 0.7;
    }

.btnCal {
    background-color: #bceeff;
    color: rgb(10, 13, 12); /* Texto negro */
    border: none; /* Sin borde extra */
    border-radius: 12px; /* Bordes redondeados: 12px */
    padding: 12px 24px; /* Espacio interno arriba‑abajo / lados */
    font-size: 14px; /* Tamaño de la fuente */
    width: 110px;
    font-family: Arial, sans-serif; /* Tipografía legible */
    cursor: pointer; /* Cursor de mano al pasar por encima */
    transition: background-color 0.3s, transform 0.2s; /* Transiciones suaves */
    text-align: center;
}
.btnCal:active {
    transform: scale(0.95); /* Simula el "presionar" */
    background-color: #6cb4ef; /* Cambia el color */
}

    .btnCal:disabled {
        background-color: #a6cde0; /*#bceeff;*/
        color: rgba(255, 255, 255, 0.6);
        border: none; /* Sin borde extra */
        cursor: not-allowed;
        opacity: 0.7;
    }

/*#endregion */

/*#region ddl */

.ddl {
    font-size: 11pt;
    width: 100px;
    padding: 07px;
    border: 1px solid #5da2eb;
    border-radius: 8px;
}

.ddlNombre {
    font-size: 11pt;
    width: 135px;
    padding: 07px;
    border: 1px solid #5da2eb;
    border-radius: 8px;
}

.ddlLargo {
    font-size: 11pt;
    width: 245px;
    padding: 07px;
    border: 1px solid #5da2eb;
    border-radius: 8px;
}

.ddlCal {
    font-size: 11pt;
    width: 210px;
    padding: 07px;
    border: 1px solid #5da2eb;
    border-radius: 8px;
}


/*#endregion */

/*#region lbl */

.lblTitulo {
    font-size: 14pt;
    font-weight: bold;
    color: blue;
}

.lblSubtitulo1 {
    font-size: 9pt;
    color: black;
}

.lblSubtitulo2 {
    font-size: 9pt;
    color: blue;
}

.lblAnuncio {
    font-size: 10pt;
    color: #3333cc;
}



.lbl {
    font-size: 14pt;
    text-align: justify;
    padding: 10px 10px 10px 10px;
}

.lblgrdHora {
    width: 40px;
    font-size: 9pt;
    text-align: justify;
    padding: 2px 2px 2px 2px;
}

.lblgrdCubic {
    width: 140px;
    font-size: 8pt;
    text-align:left; 
    padding: 1px 1px 1px 1px;
}

.lblgrdCita {
    font-size: 9pt;
    text-align: justify;
    padding: 2px 2px 2px 2px;
}

.lblgrdImp {
    font-size: 11pt;
    text-align: center;
    padding: 2px 2px 2px 2px;
}

.lblgrd {
    font-size: 11pt;
    text-align: center; /* justify original */
    padding: 2px 2px 2px 2px;
}

.lblCal {
    font-size: 11pt;
   
}

.lblSeccion {
    font-size: 11pt;
    color: #0174df;
    text-align: center;
}

.lblMsg {
    font-size: 11pt;
    color: blue;
}

.lblWrn {
    font-size: 11pt;
    color: goldenrod;
}

.lblErr {
    font-size: 11pt;
    color: red;
}

/*#endregion */

/*#region align */

.izquierda {
    text-align: left;
    font-size: 11pt;
}

.derecha {
    text-align: right;
    font-size: 11pt;
}

.centro {
    text-align: center;
    font-size: 11pt;
}

/*#endregion */

/*#region table */

table {
    margin: 0 auto; /* centra las tablas */
}

    table .separa {
        height: 30px;
    }

    table .titulo {
        font-size: 13pt;
        color: #0174df;
        background-color: aliceblue;
        height: 30px;
       
    }

    table .espacio {
        height: 9px;
      
    }

/*#endregion */


/*Style borde de tablas*/
.tablaExterna {
    border-radius: 15px; /* borde redondeado externo */
    overflow: hidden; /* oculta lo que sobresalga */
    font-family: 'Segoe UI', sans-serif;
    font-size: 10px;
   
}

    .tablaExterna table {
        border-collapse: separate !important; /* evita romper el redondeo */
        border-spacing: 0;
    }
   
/*Fin style borde de tablas*/


.tablaCapacidad {
    border-radius: 15px; /* borde redondeado externo */
    overflow: hidden; /* oculta lo que sobresalga */
    font-family: 'Segoe UI', sans-serif;
    font-size: 08px;
}

    .tablaCapacidad table {
        border-collapse: separate !important; /* evita romper el redondeo */
        border-spacing: 0;
    }

/*Inicio style dentro del Grid*/
.miGrid {
    width: 100%;
    border-radius: 12px; /* redondeo del grid */
    overflow: hidden; /* corta los bordes internos */
    border: 1px solid #ccc;
    margin: 20px auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra elegante */
    font-family: 'Segoe UI', sans-serif;
    font-size: 12px;
}

    .miGrid table {
        border-collapse: separate !important;
        border-spacing: 0;
    }

    .miGrid th {
        background: linear-gradient(135deg, #daf5ff, #bceeff);
        color: #2174d4; /* Color de titulo */
        padding: 4px 7px;
        font-weight: bold;
    }

    .miGrid td {
        padding: 8px;
        text-align: center;
        border-top: 1px solid #a8ceed;
        background-color: #fff;
    }

    .miGrid tr:nth-child(even) td {
        background-color: #edfaff; /*Filas alternadas */
    }

/*Fin de style dentro de grid*/


/* region login*/
.login {
    width: 390px;
    margin: 80px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.15);
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
    border-spacing: 10px; /* Espaciado entre celdas */
}
.login td,
.login th {
    border-radius: 12px; /* Aplica redondeado a cada celda */
}
/* fin region login*/

/*Inicio Titulo redondeado*/
.titulo-Redondo {
    border-radius: 12px; /* Aplica redondeado a cada celda */
    text-align:center
}
/*Fin Titulo redondeado*/



/* Contenedor principal */
.dental-calendar {
    border-collapse: collapse;
    width: 95%;
    max-height:50px;
    max-width: 460px;
    margin: 0.2% auto;
    font-family: "Segoe UI", "Inter", sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    background: #ffffff;
    text-align: center;
}

/* Cabecera del mes */
.cal-title {
    background: linear-gradient(90deg, #E6F9FF, #CFF2FF);
    color: #0cbccc;
    font-weight: bold;
    padding: 01px;
    font-size: 1rem;
    border-bottom: none !important; /* quita la línea */
}

/* Navegación (mes siguiente/anterior) */
.cal-nav a {
    color: #008781;
    font-weight: 600;
    padding: 5px 7px;

}


/* Cabecera de los días de la semana */
.dental-calendar th {
    background: #e1edfd;
    color: #5A8AA0;
    font-size: 0.85rem;
    padding: 3px;
}

/* Celdas de días (estilo tarjetita) */
.day-cell {
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 8px;
    margin: 4px;
    transition: all 0.2s ease;
}

    /* Hover sobre un día */
    .day-cell:hover {
        background: #E9F8FF;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(42,127,166,0.12);
    }

/* Fines de semana */
.day-weekend {
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 8px;
    margin: 4px;
    transition: all 0.2s ease;
}

.day-weekend:hover {
    background: #E9F8FF;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(42,127,166,0.12);
}

/* Día actual */
.day-today {
    background: #D7F3FF;
    color: #006E9F;
    font-weight: bold;
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 08px;
    box-shadow: 0 4px 8px rgba(42,127,166,0.12);
  }

/* Día seleccionado */
.day-selected {
    background: #2A7FA6;
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 08px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(42,127,166,0.12);
}



/*Mini calendario*/

.mini-calendario {
    border-collapse: collapse;
    margin: 10px auto;
    font-family: "Segoe UI", "Inter", sans-serif;
    border-radius: 03px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    background: #ffffff;
    text-align: center;
}

/* Cabecera del mes */
.mini-title {
    background: linear-gradient(90deg, #E6F9FF, #CFF2FF);
    color: #0cbccc;
    font-weight: bold;
    padding: 02px;
    font-size: 0.8rem;
    border-bottom: none !important; /* quita la línea */
}

/* Navegación (mes siguiente/anterior) */
.mini-nav a {
    color: #008781;
   font-weight: 600;
    padding: 2px 5px;
}


/* Cabecera de los días de la semana */
.mini-calendar th {
    background: #e1edfd;
    color: #5A8AA0;
   font-size: 0.85rem;
    padding: 5px;
}

/* Celdas de días (estilo tarjetita) */
.mini-cell {
    padding: 02px;
    font-size: 0.7rem;
    border-radius: 4px;
    margin: 1px;
    transition: all 0.2s ease;

}

    /* Hover sobre un día */
    .mini-cell:hover {
        background: #E9F8FF;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(42,127,166,0.12);
    }

/* Fines de semana */
.mini-weekend {
    padding: 02px;
    font-size: 0.7rem;
    border-radius: 8px;
    margin: 4px;
    transition: all 0.2s ease;

}

    .mini-weekend:hover {
        background: #E9F8FF;
        cursor: pointer;
        box-shadow: 0 4px 8px rgba(42,127,166,0.12);
    }

/* Día actual */
.mini-today {
    background: #D7F3FF;
    color: #006E9F;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0,110,159,0.2);
}

/* Día seleccionado */
.mini-selected {
    background: #2A7FA6;
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 2px;
    box-shadow: 0 4px 08px rgba(42,127,166,0.3);
}


/* Personalización de los toasts de SweetAlert2 */
.swal2-toast-custom {
    /* Posición: esquina superior derecha */
    position: fixed !important;
    top: 280px !important;
    left: 5% !important;
    transform: translateX(-50%, -50%) !important; /* centra horizontalmente */
    max-width: 280px !important;
    width: auto !important;
   
    /* Estilo visual */
    border-radius: 10px !important;
    box-shadow: 0 3px 13px rgba(0, 0, 0, 0.25);
    padding: 10px 14px !important;
    font-size: 13px;
    font-weight: 350; 
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    /*Animación de aparición/desvanecimiento */
    animation: fadeInOut 0.4s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

    /* Control de opacidad general */
    .swal2-toast-custom.swal2-show {
        opacity: 0.95 !important;
    }

/* Animación */
@keyframes fadeInOut {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}