/* Header General */
/*Colores
*
*Principal-> #00B4FF #00B4FF
*Secundario-> #000000 #EC0C6E
*Tercer -> #FF8F00
*border style box-shadow: 0px 1px 6px 0px #E3E3E3;
*
*/
/*
html,
  body {
      height: 100%;
      display: flex;
      flex-direction: column;
      height: 100vh;
}
 
.main {
     flex: 1;
     justify-content: center;
     align-items: center;
     flex-grow: 1; 
    padding: 20px;
    background-color: #f8f9fa;
 }
  .main.login {
    display: flex;    
}*/

/* Reset básico */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh; /* Garantiza altura mínima de viewport */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Doble protección para navegadores antiguos */
}

.main {
    flex: 1 0 auto; /* Ocupa todo el espacio disponible */
    width: 100%;
    /*padding: 20px;*7
    background-color: #ffffff;*/
}

/* Contenedor específico para login */
.main.login {
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 72px); /* Altura total menos padding */
    display: flex;
}

.main.admin{
    display: flex; /* Convertimos el contenedor principal en flex */
    padding: 0px;
    min-height: calc(100vh - 72px);
}

/* Formulario de login */
.login-form {
    width: 100%;
    max-width: 400px;
    /*padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}

.main-heade {
    flex-shrink: 0; /* Evita que se encoja */
    height: 60px; /* Altura fija */
}

footer {
    flex-shrink: 0;
    height: 72px;
}

/* Header Público */
.main-header {
    background: #0d6efd;
    /*background: rgba(0, 180, 255, 1);*/
    /*background: #00B4FF;*/
    /*background: #0d6efd;*/
}


/* Header Admin */
.admin-header {
    background: #34495e;
}

.admin-nav nav.navbar{
    display: none !important;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

/**Style de home**/
.bg-cyan {
    background-color: #0d6efd;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.testimonial-card {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.price-list .list-group-item {
    border: none;
    padding: 0.5rem 0;
}
.card-cotizacion-ejemplo {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    background-color: #ffffff;
    border-radius: 0.5rem;
    transform: rotate(2deg) skewX(2deg);
}

.card-cotizacion-ejemplo:hover {
    transform: rotate(0deg) skewX(0deg);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.card {
    transition: all 0.3s ease;
    border-radius: 5px;
}

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

.hover-effect {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 200, 255, 0.15);
}

.btn-outline-cyan {
    color: #0d6efd;
    border-color: #0d6efd;
    transition: all 0.3s ease;
}

.btn-outline-cyan:hover {
    background-color: #0d6efd;
    color: white;
}

.icon-container {
    transition: transform 0.3s ease;
}

.card:hover .icon-container {
    transform: scale(1.1);
}
.border-top {
    border-top: 2px solid #dee2e6 !important;
}
.bg-blue {
    --tw-bg-opacity: 1;
    background-color: rgb(219 234 254 / var(--tw-bg-opacity));
    color: #0d6efd;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
}
.text-info-ejemplo{
    font-size: 12px;
}
/**End**/

/**Style testimonios**/
.testimonial-card {
    background: white;
    border-radius: 15px;
    transition: transform 0.3s ease;
    min-height: 198px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    opacity: 0.3;
}

.owl-dots {
    margin-top: 30px !important;
}

.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #0d6efd !important;
}
/**End style**/
.step {
    margin-bottom: 30px;
}

input,
select,
textarea {
    width: 90%;
    padding: 8px;
    margin: 5px 0;
}

/* Agrega esto en tu archivo CSS o en un <style> en el header */
.hero {
    
}

.hero .container {
    position: relative;
    z-index: 2;
}

.cotizador h1, .cotizador p{
 color: #000;
}


.servicio-card, .subservicio-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.subservicio-card {
    border: 2px solid #dcdcdc38;
}

.servicio-card:hover, .subservicio-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.servicio-card.selected, .subservicio-card.selected {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.servicio-card.border-primary, .subservicio-card.border-primary {
    border-color: #0d6efd !important;
    background-color: #f8f9fa;
}

/*progress*/
 /* Contenedor de los pasos */
 .progress-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     position: relative;
     max-width: 80%;
     margin: 5px auto;
 }

 /* Línea de progreso */
 .progress-line {
     position: absolute;
     left: 0;
     width: 100%;
     height: 10px;
     border-radius: 20px;
     background: #ddd;
     z-index: 0;
     transform: translateY(-50%);
 }

 .progress-line-fill {
     position: absolute;
     top: -1px;
     left: 0;
     height: 10px;
     border-radius: 10px;
     background: #0d6efd;
     width: 0%;
     z-index: 1;
     transition: width 0.4s ease-in-out;
     transform: translateY(-100%);
 }

 /* Círculos de pasos */
 .step-top {
     position: relative;
     z-index: 2;
     text-align: center;
 }

 .step-circle {
     width: 30px;
     height: 30px;
     line-height: 40px;
     border-radius: 50%;
     background: #ddd;
     color: #666;
     font-weight: 300;
     font-size: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto 8px;
     transition: background 0.3s, color 0.3s;
 }

 .step-top.active .step-circle {
     background: #0d6efd;
     color: #fff;
 }

 .step-title {
     font-size: 14px;
     color: #666;
 }

 .step-top.active .step-title {
     color: #0d6efd;
     font-weight: bold;
 }
/**/
/**Accordion radio*/
.accordion-header {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Espacio entre el radio y el botón */
    padding: 10px;
    cursor: pointer;
}

/* Personalizar el radio */
.subservicio-radio {
    width: 25px;
    /* Aumenta el tamaño */
    height: 25px;
    accent-color: #0d6efd;
    /* Azul suave */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Estilo cuando el radio está seleccionado */
.subservicio-radio:checked {
    transform: scale(1.1);
    /* Pequeño aumento */
    /*box-shadow: 0 0 8px rgba(74, 144, 226, 0.6);*/
    /* Brillo suave */
}

/* Efecto al hacer clic */
.subservicio-radio:active {
    transform: scale(0.9);
    /* Efecto de presión */
}
/*End*/

/*input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}*/


.cursor-pointer {
    cursor: pointer;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.has-error {
    border-left: 3px solid #dc3545;
    padding-left: 10px;
}

.alert {
    transition: opacity 0.3s ease;
}

/*Admin Style Dashboard*/
.admin-dashboard {
            display: flex;
            height: 100vh;
        }

        .admin-menu {
            width: 250px;
            background-color: #343a40;
            color: white;
            display: flex;
            flex-direction: column;
            padding: 1rem;
        }

        .admin-menu ul {
            list-style: none;
            padding: 0;
        }

        .admin-menu li {
            margin-bottom: 1rem;
        }

        .admin-menu a {
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
        }

        .admin-menu a i {
            margin-right: 0.5rem;
        }

        .admin-menu .active a {
            font-weight: bold;
            background-color: #495057;
            border-radius: 5px;
            padding: 0.5rem;
        }

        .dashboard-content {
            flex: 1;
            padding: 2rem;
            overflow-y: auto;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }

        .stat-card {
            background-color: #ffffff;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 1.5rem;
            text-align: center;
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
        }

        .stat-icon {
            font-size: 2.5rem;
            color: #0d6efd;
            margin-bottom: 1rem;
        }

        .stat-number {
            font-size: 1.25rem;
            font-weight: bold;
            color: #343a40;
        }


        /* Estilos para el sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s;
}

.sidebar-header {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
}

.nav-link {
    padding: 10px 20px;
    color: white;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Ajustar el contenido principal cuando el sidebar está activo */
.main-content {
    margin-left: 250px;
    padding: 20px;
}

.admin-nav nav.navbar {
    display: none !important;
}

.admin-footer {
    display: none !important;
}

/*End Admin*/

/**Style Calendar**/
/* Contenedor principal */
#calendar {
    min-width: 800px; /* Ajusta según tus necesidades */
    min-height: 600px; /* Ajusta según tus necesidades */
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Cabecera */
.fc-toolbar-title {
    font-size: 1.5em !important;
    color: #2c3e50;
    margin: 0; /* Eliminar margen por defecto */
}

.fc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0; /* Espaciado interno */
}

/* Botones de navegación */
.fc-button-primary {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: white !important;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 4px;
}

.fc-button-primary:hover {
    background-color: #45a049 !important;
}

/* Slots disponibles */
.fc-event.available-slot {
    background: #e8f5e9 !important;
    border: 1px solid #81c784 !important;
    cursor: pointer;
    border-radius: 4px; /* Bordes redondeados */
    padding: 4px; /* Espaciado interno */
}

.fc-event.available-slot .fc-event-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-event.available-slot .fc-event-time {
    font-weight: bold;
    color: #1b5e20; /* Color del texto */
}

.fc-event.available-slot .fc-event-title {
    color: #1b5e20; /* Color del texto */
}

/* Botón de reserva */
.book-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    cursor: pointer;
}


.book-btn:hover {
    background: #45a049;
}

/* Hover effect */
.fc-event.available-slot:hover {
    background: #c8e6c9 !important;
}

/* Celdas del calendario */
.fc-timegrid-slot {
    height: 50px !important;
    border-color: #e0e0e0; /* Color de las líneas */
}

.fc-timegrid-axis {
    background: #f5f5f5; /* Fondo de la columna de horas */
}

/* Días no laborables */
.fc-day-disabled {
    background: #f9f9f9; /* Fondo gris claro */
    color: #bdbdbd; /* Texto gris */
}
/**End **/

/*Pop up detalle cotizacion*/
#tablaServicios pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 0;
    font-size: 0.9em;
}

.table-dark th {
    background: #212529;
    color: white;
}

.modal-lg {
    /*max-width: 90%;*/
}
/**/

/**
Actualizacion de estados cotizacion
*/
.estado-select {
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.estado-select:focus {
    box-shadow: none;
}
.bg-success-subtle {
    background-color: #d1e7dd !important;
}
/**End*/

@media (max-width: 768px) {
    .hero {
        min-height: 90vh;
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }

    .hero .lead {
        font-size: 1.25rem !important;
    }

    .servicio-card {
        margin-bottom: 1rem;
    }
}