﻿/* PALETA DE COLORES */
:root {
    --red: #e72e4d;
    --yellow: #fcd64b;
    --green: #9ac33b;
    --green-light: rgba(154, 195, 59, 0.7);
    --white: #ffffff;
    --grey: #cecece;
}

/* SE CONFIGURA EL HTML Y EL BODY PARA QUE CUBRA TODA LA PANTALLA. */
html, body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.banner img {
    max-width: 201px;
    position: absolute;
    right: 40px;
    bottom: 35px;
}

.banner {
    background: url('/assets/img/Register/section.png') no-repeat center center;
    background-size: cover;
    border-top: 5px solid #d93367;
    border-bottom: 5px solid #d93367;
    padding: 75px 20px;
    text-align: center;
    color: white;
    font-weight: bold;
    position: relative;
    line-height: 45px;
}

/*BOTONES PAISES*/

/* Base style for all country buttons */
.btn-country {
    border: 2px solid #6c757d;
    background: #FFF;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

/* On hover or focus */
.btn-check + .btn-country:hover,
.btn-check + .btn-country:focus {
    background-color: #f8f9fa;
    border-color: #A4C644;
    box-shadow: 4px 4px 4px 0 #83BF4F;
    color: #495057;
}

/* When selected */
.btn-check:checked + .btn-country {
    background-color: #198754;
    border-color: #A4C644;
    background: rgba(148, 152, 155, 0.30);
    box-shadow: 4px 4px 4px 0 #83BF4F;
}

/* TEXTOS JUSTIFICADOS */

.text-justify {
    text-align: justify;
}

/*APLICAR COLOR TEXTO*/
.text-red {
    color: var(--red) !important;
}

.text-yellow {
    color: var(--yellow) !important;
}

.text-green {
    color: var(--green) !important;
}

.text-white {
    color: var(--white) !important;
}

.text-grey {
    color: var(--grey) !important;
}

/*IMAGEN DE PERFIL*/
.profile-image {
    height: 130px;
    width: 130px;
    object-fit: fill;
    border-radius: 15px;
}

/*TITULO*/
.title-section {
    border-left: 10px solid var(--green);
    padding: 2px 10px;
}

.subtitle-text {
    font-size: larger;
}

/*PREMIOS*/
.slider-wrapper {
    position: relative; /* Necesario para colocar los botones de forma absoluta */
}

.slider-container {
    display: flex; /* Alinea los elementos en una fila */
    overflow-x: hidden; /* Permite el desplazamiento horizontal */
    padding: 10px;
    gap: 15px;
    scroll-behavior: smooth; /* Desplazamiento suave */
}

.slider-item {
    flex-shrink: 0; /* Evita que los elementos se encojan */
    width: 200px; /* Tamaño fijo para cada item */
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: white;
}

    .slider-item img {
        height: 180px;
        width: 180px;
        object-fit: cover;
        object-position: center;
        border-radius: 8px;
    }

.item-info {
    margin-top: 10px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 5%;
    z-index: 1;
}

.left-btn {
    left: 10px; /* Botón izquierdo */
}

.right-btn {
    right: 10px; /* Botón derecho */
}

/*QRS*/

.popup-content-scrollable {
    max-height: 70vh;
    overflow-y: auto;
}

.qr-label {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.qr-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

/*CAMBIOS DE ESTILOS PARA ANIMATE*/
/* Clase base para activar Animate.css */
.animate-hover {
    --animate-duration: 1s; /* Duración estándar */
    --animate-repeat: infinite; /* Número de repeticiones por defecto */
    --animate-name: pulse; /* Animación por defecto, PARA USAR LA ANIMACION QUE SE QUIERA SIMPLEMENTE UTILILIZAR EL STYLE: --animate-name: pulse;*/
    animation-duration: var(--animate-duration);
    animation-iteration-count: var(--animate-repeat);
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
}

    /* Al hacer hover, se dispara la animación */
    .animate-hover:hover {
        animation-name: var(--animate-name);
        animation-play-state: running;
    }

/* Estado inicial sin animación (para evitar que se active sin hover) */
.animate-hover {
    animation-name: none;
    animation-play-state: paused;
}

/*CAMBIOS DE ESTILOS PARA BOOTSTRAP*/
/*Acordeon*/
.accordion-menu.accordion-button.no-arrow::after {
    display: none;
}

.accordion-menu.accordion-button.no-arrow {
    font-weight: normal;
    cursor: pointer;
}

.accordion-menu.accordion-button:not(.collapsed) {
    color: var(--red) !important;
}

.btn-menu:hover {
    color: var(--red) !important;
}


/*CAMBIOS DE ESTILOS PARA DEVEXTREME*/
/*TOOLTIP*/
.tooltip-content {
    max-width: 300px; /* Ajusta el ancho máximo del tooltip */
    white-space: normal; /* Permite que el texto haga salto de línea */
    word-wrap: break-word; /* Divide palabras largas */
}

/* POPUPS */

.dx-popup-title {
    padding: 0;
}

.popup-title {
    background: var(--grey);
}

    .popup-title:first-child {
        color: #ffffff !important;
    }

/* BORDEADO DE CONTROLES DEVEXTREME */
.dx-texteditor.dx-editor-filled::after, .dx-texteditor.dx-state-active::before, .dx-texteditor.dx-state-focused::before {
    border: none;
}

.dx-texteditor-container {
    border: 2px solid var(--grey) !important;
    border-radius: 5px !important;
}

.dx-texteditor {
    border-radius: 5px !important;
}
/*ICONOS DE TEXTBOX*/
.custom-textbox-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

    /*ICONO TEXTO*/
    .custom-textbox-with-icon .textbox-icon {
        font-size: 20px;
        position: absolute;
        left: 15px;
        z-index: 2;
        color: var(--green);
        pointer-events: none;
    }

    /*ICONO IMAGEN*/
    .custom-textbox-with-icon .left-icon {
        position: absolute;
        z-index: 2;
        pointer-events: none;
        left: 10px;
        height: 20px;
        margin-right: 5px;
    }

    .custom-textbox-with-icon .dx-texteditor.dx-editor-filled .dx-lookup-field, .custom-textbox-with-icon .dx-texteditor.dx-editor-filled .dx-placeholder::before,
    .custom-textbox-with-icon .dx-texteditor.dx-editor-filled .dx-texteditor-input, .custom-textbox-with-icon .dx-texteditor.dx-editor-outlined .dx-lookup-field,
    .custom-textbox-with-icon .dx-texteditor.dx-editor-outlined .dx-placeholder::before, .custom-textbox-with-icon .dx-texteditor.dx-editor-outlined .dx-texteditor-input {
        padding: 10px 45px 14px !important;
    }

/* DATAGRID */
/* AJUSTAR ALTURA INPUT BUSQUEDA */
.dx-datagrid-search-panel .dx-texteditor-input {
    height: 45px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-sizing: border-box !important;
}

/* AJUSTA DIV DE CONTROLES AL FINAL */
.dx-toolbar-items-container {
    margin-bottom: 15px !important;
}

/* AJUSTES EN CHECK BOX */

.dx-field-value-static, .dx-field-value:not(.dx-switch):not(.dx-checkbox):not(.dx-button) {
    width: 10%;
}

.dx-field-label {
    width: 100%;
}

/*BOTONES*/
/*TEXTO MAYUSCULA*/
.dx-button-text {
    text-transform: none !important;
}
