/*
    #### INFOPES ####

    Estilos propios más específicos para cosas que no cubra la plantilla del tema css

    ----------------
*/

/* Boton primary del tema pero modificado para usarlo como secondary */
.th-btn.style11 {
    background-color: var(--white-color);
    box-shadow: inset 0 0 0 1px var(--gray-color);
    color: var(--title-color);
    padding: 20.5px 20px;
}

.th-btn.style11:hover {
    background-color: #cd024a17;
    color: var(--theme-color);
    /* text-shadow: 0 0 10px var(--theme-color); */
    box-shadow: inset 0 0 0 1px var(--theme-color);
}

/* Botones de la zona congreso */
.btn-congress {
    background: linear-gradient(135deg, var(--theme-color), rgb(212, 81, 107)) !important;
    border-radius: 7px !important;
}

.btn-congress:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgb(212, 81, 107)) !important;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5) !important;
}

/* */

.profile-img {
    width: 130px;
}

/* Mensaje informativo sobre el estado de la participación en el congreso */
.parti-info {
    border: 1px solid #b3e0ed;
    border-radius: 7px;
    background-color: #e0f2f7;
    transition: box-shadow 0.3s ease;
}

.parti-info:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.parti-info p span {
    color: #007bff;
}

.parti-info p span a {
    color: #007bff;
}

.parti-info p span a:hover {
    color: var(--theme-color);
}

/* */


/* Animación de carga para las peticiones "lentas" */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 5px;
    margin-right: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* */


/* Tarjeta explicativa para la hora de grabar o subir vídeos de com oral o ponencia */
.info-card {
    background-color: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.info-card .card-header {
    background-color: #fafafa;
    padding: 15px 20px;
    border-bottom: 2px solid var(--theme-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-card .card-header i {
    font-size: 1.5em;
    color: var(--theme-color);
}

.info-card .card-header h5 {
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.3em;
}

.info-card .card-body {
    padding: 20px;
}

.info-card .card-body p {
    color: #57606f;
    margin-bottom: 15px;
}

.info-card ol {
    margin: 0;
    padding-left: 20px;
    color: #2c3e50;
    line-height: 1.6;
}

.info-card li {
    margin-bottom: 12px;
    padding-left: 5px;
}

/* */


/* Estilos para el enlace a Laravel Telescope */
.telescope {
    background-color: #4040c8;
    transition: all 0.3s ease;
}

.telescope:hover {
    background-color: #1C1CC9FF;
    box-shadow: 4px 8px 16px rgba(64, 64, 200, 0.7) !important;
}

/* */


/* Toastr */
.toast-title {
    font-size: 2em;
}

.toast-message {
    font-size: 1.5em;
}

/* IMPORTANTE, esto evita que las toast queden por debajo del selector de idioma de Google Translate */
#gt_float_wrapper {
    z-index: 100 !important;
}

/* */


/* Panel lateral RRSS */
.social-container {
    position: fixed;
    top: 50%;
    right: 0;
    max-width: 200px;
    transform: translateY(-50%) translateX(105%);
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.5s ease-out;
    z-index: 9999;
}

.social-container.visible {
    transform: translateY(-50%) translateX(-3%);
}

.social-link:hover {
    color: var(--theme-color2);
    transform: translateY(-5%) translateX(0);
}

.rrss {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #FFFFFF;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 48px;
    padding: 15px 24px;
    z-index: 999999;
}

/* */


/* Botones de selección del tipo de ponencia a crear, individual o en simposio */
.tipo-ponencia {
    text-align: center;
    margin: 20px;
    padding: 5px;
    border-radius: 25px;
    border: 2px solid transparent;
}

.tipo-ponencia:hover {
    border-color: var(--theme-color);
    background: #cd024a17;
    cursor: pointer;
}

/* */


/* Interruptor tipo deslizante */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #4cbd34;
}

input:focus+.slider {
    box-shadow: 0 0 1px #4cbd34;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* */


/* Cards de categoría de póster y com orales */
.category-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.category-link {
    display: block;
    padding: 2rem;
    text-decoration: none;
    background: #ffffff;
    color: white;
    height: 100%;
}

.category-link:hover {
    color: white;
    text-decoration: none;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.poster-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgb(193 186 186 / 20%);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 1.1rem;
    color: black;
}

.category-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    opacity: 0.9;
    color: black;
}

/* */


/* Boton de paypal */
.paypal-btn {
    background-color: #ffc439;
    width: 300px;
    height: 45px;
}

.paypal-btn:hover {
    background-color: #f2ba36;
}

/* */


/* Pasos a realizar */
.active-step {
    color: var(--theme-color) !important;
}

.active-step span {
    color: var(--theme-color);
    color: white;
    background-color: var(--theme-color);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 0.5rem;
    background-color: #e2e8f0;
    flex-shrink: 0;
    /* Evita que los círculos se deformen */
}

/* */


/* Mensaje, marquesina giratoria del nav */
.header-top-marquee {
    position: relative;
    z-index: 20;
    overflow: hidden;
    background: rgb(193 14 14 / 85%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: box-shadow 0.35s ease;
    cursor: pointer;
}

.header-top-marquee-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 10px 0;
    transition: transform 0.35s ease, padding 0.35s ease;
    transform-origin: center;
}

.header-top-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: headerMarquee 35s linear infinite;
    will-change: transform;
}

.header-top-marquee-track span {
    white-space: nowrap;
    font-family: 'Arial', sans-serif;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    padding-right: 70px;
    opacity: 0.96;
    transition: opacity 0.3s ease, transform 0.35s ease;
}

.header-top-marquee-track .highlight {
    display: inline-block;
    font-family: 'Arial', serif;
    font-style: italic;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 3px 12px;
    margin-right: 12px;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.10);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.header-top-marquee:hover {
    background: rgb(193 14 14 / 85%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* .header-top-marquee:hover .header-top-marquee-link {
    transform: scale(1.015);
    padding: 12px 0;
} */

.header-top-marquee:hover .header-top-marquee-track {
    animation-duration: 60s;
}

.header-top-marquee:hover .header-top-marquee-track span {
    opacity: 1;
}

.header-top-marquee:hover .header-top-marquee-track .highlight {
    /* transform: scale(1.08); */
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.16);
}

@keyframes headerMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 767px) {
    .header-top-marquee-link {
        padding: 8px 0;
    }

    .header-top-marquee-track span {
        font-size: 11px;
        letter-spacing: 0.10em;
        padding-right: 40px;
    }

    .header-top-marquee-track .highlight {
        padding: 2px 10px;
        margin-right: 8px;
    }

    .header-top-marquee:hover .header-top-marquee-link {
        /* transform: scale(1.01); */
        padding: 9px 0;
    }

    .header-top-marquee:hover .header-top-marquee-track {
        animation-duration: 45s;
    }

    /* .header-top-marquee:hover .header-top-marquee-track .highlight {
        transform: scale(1.04);
    } */
}

/* */


/* Mensaje de advertencia para versión de DESARROLLO */
.dev-version-warning {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    background: #854F0B;
    color: #FAEEDA;
    font-family: monospace;
    padding: 5px 12px 5px 10px;
    border-top-right-radius: 7px;
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
}

/* */
