@font-face {
    font-family: titulo;
    src: url('../fonts/Geomanist-Medium.otf');
}

@font-face {
    font-family: resto;
    src: url('../fonts/Geomanist-Light.otf');
}

@font-face {
    font-family: footer;
    src: url('../fonts/aptos-light.ttf')
}


:root {   /* Azul más vibrante y moderno */
    --primary: #20548f;
    --secondary: #96c1d1;
    --accent: #20548f;        /* Color de acento para llamadas a la acción */
    --background: #FFF;    /* Fondo claro para mejorar legibilidad */
    --text-dark: #666;     /* Texto principal */
    --text-light: #666;    /* Texto secundario */
    --tipography-1: 'resto';
    --tipography-titles: 'titulo';
    --footer-bg:var(--background);
}

.links a{
    color: var(--secondary) !important;
}

.active{
    font-weight: bold;
}

body {
    font-family: var(--tipography-1) !important;
    background-color: var(--background);
    background-repeat: no-repeat;
    background-size: cover;
}

.btn-logout, .btn-logout:hover, .btn-logout:active {
    background-color: var(--secondary) !important;
    font-family: var(--tipography-1), sans-serif !important;
}

.index-page .container {
    padding: 0;
}

.fondo{
    background-color: #ffffff;
    border-radius: 10px;
    
}

.box-shadow {
    box-shadow: 0px 0px 7px 4px rgb(220, 219, 219);
}

.capa_imagen{
    text-align: center; 
    margin-top: 4%; 
    padding-bottom: 4%;
}

.jueves-viernes {
    max-width: 400px;
    max-height: 400px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jueves-viernes:hover{
    max-width: 402px;
    transform: translateY(-5px);
    border: 1px solid var(--primary);
    box-shadow: 0px 0px 20px 5px rgba(52, 152, 219, 0.3);
}

.col-lg-4 {
    width: 32% !important;
}

.title-session {
    line-height: 35px;
    background-color: var(--secondary);
    color: #fff;
    font-family: var(--tipography-titles) !important;
    font-weight: 600;
    font-size: 22px;
    border-radius: 6px;
    letter-spacing: 1px;
    padding: 10px 15px;
}

.nombre-session {
    line-height: 35px;
    color: var(--secondary);
    font-family: var(--tipography-titles) !important;
    font-weight: 600;
    font-size: 22px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.thumb-container {
    border-right: 4px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-container img {
    width: 300px;
    cursor: pointer;
    transition: transform .3s ease;
}

.thumb-container img:hover {
    transform: scale(1.05);
}

.info-container {
    display: flex;
    align-items: center;
    justify-content: left;
}

.doctor {
    font-family: var(--tipography-1) !important;
    font-style: italic;
    color: var(--text-light);
    font-size: 16px;
}

.doctor-name {
    font-family: var(--tipography-titles) !important;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: bold;
}

.video-title {
    font-family: var(--tipography-titles) !important;
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
}

.modal-title {
    font-family: var(--tipography-titles) !important;
    color: var(--primary);
    font-weight: 600;
}

.moderan {
    font-family: var(--tipography-1) !important;
    font-style: italic;
}

.modal-footer .btn-secondary {
    background-color: var(--primary);
    font-family: var(--tipography-1) !important;
    border-radius: 30px;
    padding: 8px 25px;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.organized img, .sponsors img {
    width: 240px;
}

.textos-patrocinadores{
    font-family: var(--tipography-1) !important;
    font-size: 16px;
    color: var(--secondary);
    font-weight: bold;
}

.footer {
    height: 50px;
    background-color: var(--secondary);
}

.footer-font {
    font-family: var(--tipography-1) !important;
}

.head540 {
    display: none !important;
}

/* Mejora en los botones */
.btn-pdf, .btn-ver {
    border-radius: 30px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-pdf, .btn-pdf:hover, .btn-pdf:focus, .btn-pdf:active, .btn-pdf:checked {
    background-color: var(--accent) !important;
    border: none !important;
}

.btn-pdf:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.btn-ver, .btn-ver:hover, .btn-ver:focus, .btn-ver:active, .btn-ver:checked {
    background-color: var(--secondary);
    font-family: var(--tipography-1) !important; 
    border: none !important;
}

.btn-ver:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Mejora en las tarjetas */
.card {
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.card-title {
    color: var(--primary) !important;
    font-family: var(--tipography-titles) !important;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}

.card-text {
    font-family: var(--tipography-1) !important;
    font-weight: 800;
    font-size: 15px;
    color: var(--text-dark);
}

.sede {
    font-family: var(--tipography-1) !important;
    font-style: italic;
    color: var(--text-light);
    font-weight: 400;
    font-size: 14px;
}

.lista {
    font-family: var(--tipography-1) !important;
    color: var(--secondary);
    font-weight: 400;
    font-size: 14px;
}

.ver {
    width: 100%;
    height: 100%;
    cursor: pointer !important;
    background-image: url('../img/thumb/ver.png') !important;
    background-size: cover !important;
    position: absolute;
    top: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ver:hover {
    opacity: 0.9;
}

/* Sistema de notas/comentarios */
.notes-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    margin-top: 20px;
}

.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.notes-title {
    font-family: var(--tipography-titles);
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
}

.notes-btn {
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 5px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notes-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.note-entry {
    background-color: #f8f9fa;
    border-left: 3px solid var(--secondary);
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 0 5px 5px 0;
}

.note-time {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.note-text {
    font-size: 14px;
    color: var(--text-dark);
}

.note-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    font-family: var(--tipography-1);
    margin-bottom: 10px;
    min-height: 80px;
}

.note-save-btn {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    float: right;
}

.note-save-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .col-12 {
        width: 90% !important;
        text-align: center;
    }
    .thumb-container img {
        width: 100%;
    }
    .info-container {
        justify-content: center;
        margin-top: 5%;
    }
    .btn-pdf {
        margin-top: 1.5% !important;
    }
    .footer {
        height: 100px;
    }
    .footer-bar {
        display: none;
    }
    .modal-dialog {
        max-width: 710px;
    }
    .aviso-legal {
        text-align: center !important;
    }
    .thumb-container {
        border-right: 0;
    }
}

@media (max-width: 540px) {
    .head {
        display: none !important;
    }
    .head540 {
        display: block !important;
    }
    .responsive-logo {
        width: 100%;
        height: auto !important;
    }
    .title-session {
        font-size: 18px;
        line-height: 26px;
        padding: 10px;
    }
    .btn-ver, .btn-pdf {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 450px) {
    .thumb-container {
        margin-bottom: 5%;
    }
    .responsive-logo {
        width: 100%;
        height: auto !important;
    }

    .organized .col-12 {
        text-align: center;
    }

    .sponsors .col-12 {
        margin-bottom: 8%;
    }
}