* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/*Definir le tamaño de lo iconos del navbar*/
.iconos-size-nav {
    font-size: 25px !important;
    color: white !important
}
:root {
    --color-primary: ;
    --color-secondary: ;
}
.logo-container {
    display: inline-block;
    height: 60px;
    background-color: #9d1c1c00;
    border-radius: 8px;
    box-shadow: 3px -11px 14px rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: transform 0.3s;
}

.logo-container:hover {
    transform: scale(1.05); /* Efecto de aumento al pasar el mouse */
}

.logo-container img {
    width: 100%; /* Asegura que el logo llene el cuadrado */
    height: auto; /* Mantiene la proporción del logo */
    object-fit: contain; /* Asegura que el logo se ajuste dentro del cuadrado sin recortarse */
}
footer {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 20px;
    text-align: center;
    margin-top: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

a {
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #fff;
}

.iconoContactanos {
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s;
}

.iconoContactanos:hover {
    transform: scale(1.2);
}

#social-links a {
    margin-right: 10px;
}

.botonAsiento{
    background: #f7f2f2 !important;
}
body .custom-button.ui-button {
    background: #f7f2f2 !important;
    border: none;
}
/* Estilo para la barra de desplazamiento en navegadores Webkit (Chrome, Safari) */
.contendorContenido::-webkit-scrollbar {
    width: 12px; /* Ancho de la barra de desplazamiento */
}

.contendorContenido::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color del fondo de la barra de desplazamiento */
}

.contendorContenido::-webkit-scrollbar-thumb {
    background: #888; /* Color del "pulgar" (parte que se mueve) */
    border-radius: 10px; /* Bordes redondeados */
}

.contendorContenido::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color cuando el mouse pasa por encima */
}

/* Estilo para navegadores Firefox */
.contendorContenido {
    scrollbar-width: thin; /* Ancho de la barra de desplazamiento */
    scrollbar-color: #888 #f1f1f1; /* Color del "pulgar" y del fondo */
}
.custom-select {
    background-color: #ffffff !important; /* Fondo blanco */
    border-radius: 5px !important; /* Bordes redondeados */
    font-size: 16px !important; /* Tamaño de fuente */
    color: #333 !important; /* Color del texto */
    transition: border 0.3s, box-shadow 0.3s !important; /* Efectos de transición */
}

.custom-select:hover {
    border-color: #c02c2c !important; /* Cambio de color en hover */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2)!important; /* Sombra en hover */
}

.custom-select:focus {
    outline: none !important; /* Sin borde de enfoque */
    border-color: #c02c2c !important; /* Color de borde al enfocar */
    box-shadow: 0 0 5px rgba(109, 8, 158, 0.5) !important; /* Sombra al enfocar */
}



body .ui-steps .ui-steps-item.ui-state-highlight .ui-steps-number {
    background: #c02c2c !important;
    color: #fff !important;
    border-color: #c02c2c !important;
}
/*Definimos el tamaño del texto de abajo del icono*/
.contenedor-items-nav div p {
    font-size: 12px !important;
    color: white !important
}
.botonAsiento{
    background: #f7f2f2 !important;
}
/*Definimos que lso elementos vayan seguidos y tengan una separacion de 20px*/
.contenedor-items-nav {
    display: flex;
    column-gap: 20px;
    text-align: center;
    flex-wrap: wrap;
    align-items: center
}

/*Definimos que cada elemento tenga un ancho de 90px*/
.contenedor-items-nav div {
    width: 90px;
}

/*Animamos para cuando se pomnga el cursor encima del elemento */
.contenedor-items-nav div:hover {
    transition: .5s;
    transform: scale(1.2)
}

/*Al elemento commandLink al ser un a le quitamos la decoracion que lleva por defecto*/
.contenedor-items-nav div a {
    text-decoration: none !important;
}

/*Definimo meddidas para que aqui e mueva nuesto contenido principal*/
.contenedorContenido {
    height: 82vh;
    width: 100vw;
    overflow: auto
}


/*defiinimos el contenedor para los tres items que contiene la seleccion de  turnos*/
.contenedorTurnos {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
}

/*defiinimosuna clase para poder dar el ancho del 100%*/
.full-width {
    width: 100% !important
}

/*damos tamaño de los iconos y lo posionamos en el centro*/
.iconosOrigenDestinoFecha {
    justify-content: center;
    align-self: center;
    width: 45px;
    font-size: 30px;
    transform: scale(1.6);
}

.contenedorPerffil {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

/* Estilos para el menú lateral del perfil */
.menuLateral {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.menuLateral .ui-panel {
    border: none;
}

.menuLateral .ui-menu {
    border: none;
    background: transparent;
}

.menuLateral .ui-menuitem-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.menuLateral .ui-menuitem-link:hover {
    background: var(--color-primario);
    color: var(--color-secundario);
}

.menuLateral .ui-menuitem-icon {
    margin-right: 8px;
}

/*damos tamaño de los label y ponemos negrita */
.labelOrigenDestinoFecha {
    font-size: 12px !important;
    font-weight: bold
}

/*posiccionmales el fotter en el centro y lo hacemos repsonsivo*/
.footer {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    z-index: 1
}

/*Contenedor del la fecha y el boton de buscar*/
.contenedorBuscarTurno {
    display: flex;
    column-gap: 20px;
}

/*Separador arriba y abajo*/
.separador-arriba-abajo {
    margin: 10px 0
}

.mainConteinerItinerario {
    display: grid;
    height: 100vh;
    grid-template-rows: auto 80vh auto
}

/*Contenedor exito*/
.contenedorExito {
    display: grid;
    grid-template-columns: 2fr auto;
    align-items: center;
    text-align: center
}


.iconoContactanos {
    color: #25D366;
    position: absolute;
    bottom: 50px;
    right: 20px;
    font-size: 50px;
}

.msgGracias {
    text-align: center;
    font-size: 30px;
    margin: 10px
}

.contenedor-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 15px;
    column-gap: 80px;
}


.contenedor-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15px;
    column-gap: 80px;
}

.hamburger {
    display: none !important;
}

.contenedor-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 15px;
    row-gap: 10px
}

.contenedor-flex-row-unido {
    display: flex;
    column-gap: 25px;
    align-items: center
}

.contenedor-flex-row-real {
    display: flex;
}

.contenedorPasajeros {
    display: grid;
    grid-template-columns: 1fr 5fr;
    column-gap: 10px;
}

.contenedorPagos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10px;
}

.label-ancho {
    width: 50%;
    font-weight: bold
}

#pay {
    display: none;
}

.contenedorFormasPago {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 25px;
    align-items: center;
}

.botonesDerecha {
    display: flex;
    justify-content: flex-end;
    column-gap: 20px
}

.iconosNav {
    width: 50px;
    font-size: 30px !important
}

.contenedorMenuLeft {
    margin: 30px 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none !important
}

.contenedorMenuLeft .contenedor-flex-row-real {
    align-items: center;
    column-gap: 10px;
}

.sidebar-modern {
    min-width: 220px;
    padding: 20px;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    border-right: 1px solid #e0e0e0;
}

.header-user {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-left: 10px;
}

.oscuro {
    font-weight: bold
}

/*Sobreescrinbiendo primefaces dise;*/
body .ui-datagrid .ui-datagrid-content {
    padding: 0px !important;
}

.ui-datatable-reflow .ui-datatable-data td[role="gridcell"] .ui-column-title {
    font-weight: bold;
    width: 100% !important
}

.ui-selectonemenu .ui-selectonemenu-label {
    white-space: pre-wrap !important;
}

.modalesResponsivos {
    max-height: 90% !important;
    min-width: 50% !important;
    max-width: 90% !important;
    overflow: auto
}

body .ui-fieldset .ui-fieldset-legend {
    padding: 5px !important
}

body .ui-panel .ui-panel-titlebar {
    padding: 10px
}

body .ui-datepicker .ui-datepicker-calendar td {
    padding: 0px !important
}

.ui-datalist-content ui-widget-content ul {
    list-style: none !important
}


body .ui-datalist .ui-datalist-content {
    border: none !important
}

@media (max-width: 1200px) {
    .contenedor-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contenedorPasajeros {
        grid-template-columns: 1fr;
        column-gap: 0px;
    }

    .contenedorPagos {
        grid-template-columns: 1fr
    }
}

@media (max-width: 1080px) {
    .contenedorTurnos {
        grid-template-columns: repeat(2, 2fr);
    }

    .contenedorExito {
        grid-template-columns: 1fr;

    }
}

@media (max-width: 990px) {
    .contenedor-grid-3 {
        grid-template-columns: 1fr;
    }

    .label-ancho {
        width: 100%
    }

    .contenedor-flex-row {
        align-items: flex-start
    }
}


@media (max-width: 815px) {
    .contenedor-items-nav {
        display: none
    }

    .hamburger {
        display: inline-block !important
    }

}


@media (max-width: 780px) {
    .maintoolbar {
        justify-content: center !important
    }

    .contenedorFormasPago {
        grid-template-columns: 1fr;
        gap: 0
    }
}

@media (max-width: 680px) {
    .responsive-table .ui-datatable-data tr td {
        display: block;
    }

    .responsive-table .ui-datatable-data tr td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 50%;
        margin-left: -1px;
        margin-bottom: 5px;
    }

    .responsive-table .ui-datatable-thead > tr > th,
    .responsive-table .ui-datatable-tfoot > tr > td {
        display: none;
    }
    .contenedorTurnos {
        grid-template-columns: 1fr;
    }

    .contenedor-items-nav {
        gap: 5px;
        flex-wrap: wrap;
    }

    .contenedor-flex-row {
        flex-direction: column
    }

    .contenedor-grid-2 {
        grid-template-columns:1fr;
        row-gap: 0px;
        column-gap: 0px;
    }

    .contenedor-items-nav div {
        width: 70px;
    }

    .contenedorBuscarTurno {
        flex-direction: row;
        column-gap: 0px;
        row-gap: 10px
    }

    .contenedor-flex-row-unido {
        flex-direction: column
    }

    body .ui-steps .ui-steps-item .ui-menuitem-link .ui-steps-title {
        display: none
    }

    .contenedorPerffil {
        grid-template-columns: 1fr;
    }

    .menuLateral {
        display: none
    }

    .botonesDerecha {
        column-gap: 0;
        row-gap: 10px;
        flex-direction: column

    }
    .footer {
        flex-direction: column!important;
        text-align: center!important;
    }

    .footer .social-media {
        flex-basis: 100%!important;
        margin-bottom: 20px!important;
    }

    .iconoContactanos {
        margin-left: 0!important;
        margin-top: 10px!important;
    }
}



@media (max-width: 780px) {
    .responsive-table .ui-datatable-data tr td {
        display: block !important;

    }
    body .ui-datatable .ui-datatable-data > tr > td {
        padding: 0rem 0rem !important;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-width: 0 0 1px 0;
    }
    .responsive-table .ui-datatable-data tr td:before {
        content: attr(data-label) !important;
        font-weight: bold !important;
        display: inline-block !important;
        width: 50% !important;
        margin-left: -1px !important;
        margin-bottom: 5px !important;
    }

    .responsive-table .ui-datatable-thead > tr > th,
    .responsive-table .ui-datatable-tfoot > tr > td {
        display: none!important;
    }
    .maintoolbar {
        justify-content: center !important
    }

    .contenedorFormasPago {
        grid-template-columns: 1fr;
        gap: 0
    }
    .footer {
        flex-direction: column !important;
        text-align: center !important;
    }

    .footer .social-media {
        flex-basis: 100% !important;
        margin-bottom: 20px !important;
    }

    .iconoContactanos {
        margin-left: 0;
        margin-top: 10px !important;
    }
    .footer {
        gap: 0px !important;

    }

}
/* Estilo para el diálogo */
.qr-dialog {
    background: linear-gradient(to bottom, #ffffff, #f0f0f5) !important;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
    text-align: center; /* Asegura que el contenido esté centrado */
}

.qr-dialog-header {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff !important; /* Texto blanco */
    background-color: var(--color-primario) !important;/* Color llamativo para el fondo */
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-transform: uppercase; /* Texto en mayúsculas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para el texto */
}

/* Estilo para el contenedor del QR */
.qr-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    background-color: #fff !important;
    border: 1px solid #ddd;
}

/* Estilo del texto de escaneo */
.scan-text {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

/* Estilo para el código QR */
.qr-image {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 3px solid #442d59 !important;
    padding: 10px;
    background-color: #00daa3 !important;
}

/* Estilo del enlace */
.qr-link {
    font-size: 18px;
    color: #6d089e !important;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px; /* Añade un espacio sobre el enlace */
}

/* Botón de cerrar */
.close-btn {
    background-color: #6d089e !important;
    color: white !important;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
}

.close-btn:hover {
    background-color: #8b42c6 !important;
    transition: background-color 0.3s ease !important;
}
/* estilos.css */
.contenedor-exito {
    width: 100%;
    padding: 0px;
    background-color: #f9f9f9 !important;
}

.texto-gracias {
    font-size: 24px;
    font-weight: 600;
    color: #444 !important;
    text-align: center;
    margin-bottom: 20px;
}

.contenedor-info {
    background-color: #fff !important;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.titulo-exito {
    font-weight: bold;
    font-size: 22px;
    color: #3366ff;
    margin-bottom: 10px;
}

.mensaje-exito, .detalle-exito {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contenedor-tarjeta {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
}

.label-exito {
    font-size: 18px;
    color: #333;
    margin-right: 10px;
}

.valor-exito {
    font-size: 18px;
    color: #c02c2c;
    font-weight: bold;
}
.valorcodigoPartida {
    font-size: 25px;
    font-weight: bold;
    color: #c02c2c;
}
.valor-total-exito {
    font-size: 20px;
    color: #c02c2c;
    font-weight: bold;
}

.qr-code {
    display: block;
    margin: 20px auto;
}

.data-list {
    border: none;
    width: 90%;
    margin: 0 auto;
}

.boton-personalizado {
    background: #6d089e;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
}

.boton-personalizado:hover {
    background-color: #8c1ab6;
}

.botones-derecha {
    text-align: right;
    margin-top: 20px;
}
.franja-gracias {
    background-color: #6d089e; /* Color de la franja */
    padding: 20px;
    text-align: center;
    border-radius: 10px; /* Bordes redondeados, opcional */
}

.texto-gracias-grande {
    font-size: 36px; /* Aumenta el tamaño del texto */
    font-weight: 700; /* Hace el texto más grueso */
    color: #fff; /* Cambia el color del texto */
    margin: 0;
}
.brand-logo {
    width: 62px; /* Ajusta el tamaño según tus necesidades */
    display: block;
    margin: 0 auto 5px;
}
.dialog-header {
    text-align: center;
    margin-bottom: 15px;
}
.dialog-title {
    font-size: 1.5rem;
    color: #d32f2f;
    margin-top: 0;
}
.scan-text {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
}
.estilosTurnosHora {
    display: flex; /* Alinear icono y texto */
    align-items: center; /* Centrar verticalmente */
    font-family: 'Segoe UI', 'Arial', sans-serif; /* Fuente moderna */
    font-size: 16px; /* Tamaño del texto */
    color:#bc5462; /* Verde atractivo */
    font-weight: bold; /* Texto en negrita */
    background-color: #f9f9f9; /* Fondo claro */
    border-radius: 5px; /* Bordes redondeados */
    padding: 5px 10px; /* Espaciado interno */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra suave */
    gap: 5px; /* Espacio entre el emoji y la hora */
}
.whatsapp-button {
    position: fixed;
    width: 46px;
  height: 45px;
  bottom: 40px;
  right: 5px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    text-align: center;
    font-size: 71px !important;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
}
.whatsapp-icon {
    font-size: 36px; /* Aumenta el tamaño del icono */
    color: white; /* Asegura que sea blanco */
}
.whatsapp-tooltip {
 
    position: absolute;
    transform: translateX(-50%);
    background-color: #25D366;
    color: white;
    padding: 1px 8px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 42px;

}
#userDefault {
    min-height: 150px;
    color: #c02c2c;
    font-size: 12rem;
    background: #d3d3d391;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
