/* --- SIDEBAR MEJORADO Y FIJO (AJUSTES ADICIONALES) --- */
#sidebar-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  height: 100vh !important;
  min-height: 100vh !important;
  width: 270px;
  min-width: 220px;
  max-width: 320px;
  background: #f8f9fa;
  border-right: 1.5px solid #e3e6f0;
  z-index: 1040;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-shadow: 2px 0 12px rgba(0,0,0,0.03);
          box-shadow: 2px 0 12px rgba(0,0,0,0.03);
  -webkit-transition: all 0.25s cubic-bezier(.4,0,.2,1);
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-top: 0.5rem;
}

#sidebar-wrapper.sticky-top {
  position: fixed !important;
  top: 0 !important;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: -270px;
}

#sidebar-wrapper .list-group {
  width: 100%;
  margin-bottom: 1.5rem;
}

#sidebar-wrapper .list-group-item {
  border: none;
  background: transparent;
  padding: 0.75rem 1.25rem;
  font-size: 1.05rem;
  color: #495057;
  -webkit-transition: background 0.2s, color 0.2s;
  transition: background 0.2s, color 0.2s;
}
#sidebar-wrapper .list-group-item:hover,
#sidebar-wrapper .list-group-item.active {
  background: #e3eafc;
  color: #007bff;
  font-weight: 600;
}

#sidebar-wrapper h6, #sidebar-wrapper h3 {
  letter-spacing: 1px;
  font-weight: 700;
  color: #007bff;
}

#sidebar-wrapper .btn {
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

body.modal-open #sidebar-wrapper {
  padding-right: 0 !important;
}

#sidebar-wrapper::-webkit-scrollbar {
  width: 8px;
  background: #f8f9fa;
}
#sidebar-wrapper::-webkit-scrollbar-thumb {
  background: #e3e6f0;
  border-radius: 4px;
}

#page-content-wrapper {
  margin-left: 270px;
  -webkit-transition: margin 0.25s cubic-bezier(.4,0,.2,1);
  transition: margin 0.25s cubic-bezier(.4,0,.2,1);
}
#wrapper.toggled #page-content-wrapper {
  margin-left: 0;
}

@media (max-width: 991.98px) {
  #sidebar-wrapper {
    width: 210px;
    min-width: 150px;
  }
  #page-content-wrapper {
    margin-left: 210px;
  }
  #wrapper.toggled #sidebar-wrapper {
    margin-left: -210px;
  }
  #wrapper.toggled #page-content-wrapper {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  #sidebar-wrapper {
    position: fixed !important;
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    z-index: 1050;
    -webkit-box-shadow: 0 2px 12px rgba(0,0,0,0.10);
            box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  }
  #page-content-wrapper {
    margin-left: 0;
  }
}

body.modal-open {
  padding-right: 0 !important;
}

/* --- FORZAR REDIBUJO DEL SIDEBAR AL VOLVER DE OTRA PESTAÑA --- */
@media (min-width: 0px) {
  #sidebar-wrapper {
    will-change: transform;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
}

/* --- FIN AJUSTES --- */

/* --- AJUSTES DE FORMULARIO Y CIERRE EN SIDEBAR --- */
#sidebar-wrapper .form-group {
  margin-bottom: 0.75rem;
}
#sidebar-wrapper input.form-control,
#sidebar-wrapper select.form-control,
#sidebar-wrapper select.custom-select {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  font-size: 0.98rem;
  padding: 0.375rem 0.75rem;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
#sidebar-wrapper label {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
#sidebar-wrapper .row,
#sidebar-wrapper .col-lg-12,
#sidebar-wrapper .col-12,
#sidebar-wrapper .col-xl-12 {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#sidebar-wrapper h3.text-primary {
  font-size: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  line-height: 1.1;
  word-break: break-word;
}
#sidebar-wrapper .fa-times {
  font-size: 1.7rem;
  line-height: 1;
  vertical-align: middle;
}
#sidebar-wrapper .d-flex.justify-content-xl-end {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* --- FIN AJUSTES SIDEBAR --- */
@media (min-width: 768px) {
  .style1 {
    float: none;
    clear: none;
    position: fixed;
  }
}
width: 1056px;
.style1 {
}
#navTabs1_1_tab {
}
.tabs {
  font-size: 19px;
}
.style2 {
  font-size: 19px;
}
.style3 {
  font-size: 19px;
}
.style4 {
  font-size: 19px;
  border-top-left-radius: 39px;
  border-top-right-radius: 39px;
  border-bottom-left-radius: 39px;
  border-bottom-right-radius: 39px;
}
div.col {
}
div.row {
}
#actualizar_citas {
}
#inp_fechayhora {
  text-align: center;
}
#inp_fechayhorafin {
  text-align: center;
}
div.style2.small.col-xl-10.offset-xl-1 {
}
#col_calend {
  /* background-color:#fafafa */
}
img.card-img-top.img-fluid.ml-2.w-25.h-25 {
}
@media (max-width: 1000px) {
  .modal-dialog {
    max-width: none;
  }
}

.roundd {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.modal_ficha-dialog {
  width: 98%;
  height: 92%;
  padding: 0;
}

.modal_ficha-content {
  height: 99%;
}

.calendf {
  font-size: 8px;
  position: relative;
}
@media (min-width: 576px) {
  .calendf {
    font-size: 12px;
  }
}
@media (min-width: 1200px) {
  .calendf {
    position: relative;
    font-size: 16px;
  }

  .form-elegant .font-small {
    font-size: 0.8rem;
  }

  .form-elegant .z-depth-1a {
    -webkit-box-shadow: 0 2px 5px 0 rgba(55, 161, 255, 0.26),
      0 4px 12px 0 rgba(121, 155, 254, 0.25);
    box-shadow: 0 2px 5px 0 rgba(55, 161, 255, 0.26),
      0 4px 12px 0 rgba(121, 155, 254, 0.25);
  }

  .form-elegant .z-depth-1-half,
  .form-elegant .btn:hover {
    -webkit-box-shadow: 0 5px 11px 0 rgba(85, 182, 255, 0.28),
      0 4px 15px 0 rgba(36, 133, 255, 0.15);
    box-shadow: 0 5px 11px 0 rgba(85, 182, 255, 0.28),
      0 4px 15px 0 rgba(36, 133, 255, 0.15);
  }
}

#delimgscol {
  /* height: 180px */
  position: relative;
}

#delimgscol img {
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
}

#delimgscol button {
  position: absolute;
  top: 0px;
  right: 0px;
  opacity: 100;
  color: #2791f5;
  -webkit-transition: 0.5s ease;
}

#delimgscol:hover img,
#delimgscol:focus img {
  opacity: 0.8;
}

#delimgscol:hover button {
  color: #d90368;
}
#delimgscol:focus button {
  opacity: 0.8;
}

.switch.primary-switch label input[type="checkbox"]:checked + .lever {
  background-color: #48c8c8;
}
.switch.primary-switch label input[type="checkbox"]:checked + .lever:after {
  background-color: #48c8c8;
}

.style8 {
  font-size: 19px;
  border-width: 0px;
  border-top-left-radius: 380px;
  border-top-right-radius: 380px;
  border-bottom-left-radius: 380px;
  border-bottom-right-radius: 380px;
  width: 120px;
  height: 120px;
}

.style11 {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.style12 {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.style13 {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.style14 {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

div.card-body.pb-0 {
}
.style15 {
  background-color: rgba(240, 248, 252, 0.79);
}

.style16 {
  background-color: red;
}

.style17 {
  border: 9px solid rgb(0, 174, 255);
  border-left-width: 9;
}

.style18 {
  /* max-height: 1000px */
}

.style19 {
  height: 422px;
  background-color: #fff;
}

.style20 {
  height: 850px;
}

.style21 {
  /* max-height: 1900px */
}

.style5 {
}

.style6 {
  max-height: 75px;
}
.red-pill {
  color: #f8315a;
  background-color: #f8d7da;
  border-radius: 10rem;
  padding-right: 0.6em;
  padding-left: 0.6em;
}
.green-pill {
  color: #0ca357;
  background-color: #e5fcf2;
  border-radius: 10rem;
  padding-right: 0.6em;
  padding-left: 0.6em;
}
.blue-pill {
  color: #0176ff;
  background-color: #cde4fe;
  border-radius: 10rem;
  padding-right: 0.6em;
  padding-left: 0.6em;
}
.purple-pill {
  color: #aa66cc;
  background-color: #fffcff;
  border-radius: 10rem;
  padding-right: 0.6em;
  padding-left: 0.6em;
}
.info-pill {
  color: #33b5e5;
  background-color: #c9eefc;
  border-radius: 10rem;
  padding-right: 0.6em;
  padding-left: 0.6em;
}

.scroll_none::-webkit-scrollbar {
  display: none;
}

.hov {
  background-color: #d8f0fc;
}

.hov:hover {
  background-color: #f8f9fa;
}

.del_btn {
  color: #007bff;
}

.del_btn:hover {
  color: #ff2f2f;
}

.bigger_btn {
}

.bigger_btn:hover {
  font-size: 35px;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.del_ficha {
}

.over_diente {
}

.over_diente:hover {
  background-color: #adb5bd;
}



.trash_color {
  color: #33b5e5;
}

.trash_color:hover {
  color: #f00;
}

.trashisto_color {
  color: #a6c;
}

.trashisto_color:hover {
  color: #f00;
}

.selectrat {
}

.selectrat:hover {
  font-weight: bold !important;
  color: #140018;
  background-color: #c5a8fa;
  font-size: 52px;
}

.del_code {
  background-color: #6f42c1;
}

.del_code:hover {
  background-color: #dc3545;
}

.style7 {
  position: relative;
}

.cards-ficha {
  border: solid;border-width: 1.5px;
  border-color: #eeeeee;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.boton_chico_nav {
  border: solid;
  border-width: 2px;
  border-color: #3595f6;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #3595f6;
}

.boton_chico_nav:hover {
  color: #fff;
  background-color: #007bff;
}

.boton_chico_nav2 {
  border: solid;
  border-width: 2px;
  border-color: #ffa600;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #fff;
  background-color: #ffa600;
}

.boton_chico_nav2:hover {
  color: #ffa600;
  background-color: #fff;
}

.bot_header {
  border-radius: 10px !important;
  color: #fff !important;
}

.bot_header:hover {
  color: #007bff !important;
  background-color: rgb(251, 252, 255) !important;
}

.padding_forms {
  height: 52px;
  /* padding-top: 25px !important;
  padding-bottom: 25px !important; */
}

.bot_shadow_cita {
        -webkit-box-shadow: 1px 2px 1px rgba(202, 202, 202, 0.3) !important;
                
}

.bot_shadow_cita:active {
          -webkit-box-shadow: none !important;
                  
}
.bot_shadow_cita:hover {
  -webkit-box-shadow: 1px 2px 1px rgba(202, 202, 202, 0.3);
          
}
.tooth_over {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.tooth_over:hover {
  background-color: #e8f0ff;
  border-top-color: #007bff;
  border-top-width: 5px;
}
.tooth_over:active {
  background-color: #badbfc;
}
.tooth_over2 {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}
.tooth_over2:hover {
  background-color: #e8f0ff;
  border-top-color: #007bff;
  border-top-width: 5px;
}
.tooth_over2:active {
  background-color: #badbfc;
}
.wappler-temp {
}
.fond_premium {
  background-image: url("../assets/fondo_premium.jpeg");
  background-size: cover;
}
.borde_redo {
  border-radius: 10px;
}
.corona {
  color: #ffa600;
}
.borde_redo.bot_cobro:hover {
  
  background-color: #00c851 !important;
  color: white !important;


}

/* Gradiente para botón Entrar */
.blue-gradient {
  background: -webkit-gradient(linear, left top, right top, from(#1EAEFC), to(#3D4EC5));
  background: linear-gradient(to right, #1EAEFC, #3D4EC5);
  color: #fff;
  border: none;
}

/* Sombra y forma del botón */
.btn-rounded {
  border-radius: 25px;
}

.z-depth-1a {
  -webkit-box-shadow: 0 2px 5px 0 rgba(55, 161, 255, 0.26), 0 4px 12px 0 rgba(121, 155, 254, 0.25);
          box-shadow: 0 2px 5px 0 rgba(55, 161, 255, 0.26), 0 4px 12px 0 rgba(121, 155, 254, 0.25);
}

/* Sombra hover */
.z-depth-1a:hover {
  -webkit-box-shadow: 0 5px 11px 0 rgba(85, 182, 255, 0.28), 0 4px 15px 0 rgba(36, 133, 255, 0.15);
          box-shadow: 0 5px 11px 0 rgba(85, 182, 255, 0.28), 0 4px 15px 0 rgba(36, 133, 255, 0.15);
}

/* Fondo con patrón */
.body_pattern {
  background-image: url("../assets/pattern.png");
  background-repeat: repeat;
  background-size: 700px 700px;
  background-color: #fdfdfd;
}


/* Video de fondo: ocupa todo el contenedor */
#backgroundVideo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}

/* Créditos del video */
.pexels-credit {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 12px;
  color: white;
  z-index: 2;
}



/* Custom large whatsapp switch */
.custom-switch-whatsapp {
    padding-left: 3.75rem; 
}

.custom-switch-whatsapp .custom-control-label::before {
    left: -3.75rem;
    width: 3.25rem; 
    height: 1.75rem;
    border-radius: 2rem;
    border-color: #25d366;
    background-color: #fff;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.custom-switch-whatsapp .custom-control-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-3.75rem + 2px);
    width: calc(1.75rem - 4px);
    height: calc(1.75rem - 4px);
    border-radius: 50%;
    background-color: #25d366;
    -webkit-transition: background-color .3s ease, -webkit-transform .3s ease;
    transition: background-color .3s ease, -webkit-transform .3s ease;
    transition: transform .3s ease, background-color .3s ease;
    transition: transform .3s ease, background-color .3s ease, -webkit-transform .3s ease;
}

.custom-switch-whatsapp .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #25d366;
    border-color: #25d366;
}

.custom-switch-whatsapp .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    -webkit-transform: translateX(1.5rem);
            transform: translateX(1.5rem);
}

.custom-switch-whatsapp .custom-control-input:focus ~ .custom-control-label::before {
    -webkit-box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
            box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.25);
}

/* Hover effect */
.custom-switch-whatsapp:hover .custom-control-label::before {
    border-color: #1fa855;
}

/* Active state */
.custom-switch-whatsapp .custom-control-input:active ~ .custom-control-label::before {
    background-color: rgba(37, 211, 102, 0.15);
}

/* Modal envio de email y whatsapp */
        .send-link-nav-tabs .nav-link {
            border-radius: 8px 8px 0 0;
            border: none;
            color: #6c757d;
            font-weight: 500;
            padding: 12px 24px;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }
        
        .send-link-nav-tabs .nav-link:hover {
            border: none;
            background-color: #f8f9fa;
            color: #495057;
        }
        
        .send-link-nav-tabs .nav-link.active {
            background-color: #007bff;
            color: white;
            border: none;
        }
        
        .send-link-nav-tabs .nav-link.active .send-option-icon {
            color: white !important;
        }
        
        .send-link-tab-content {
            border: 1px solid #dee2e6;
            border-top: none;
            border-radius: 0 0 8px 8px;
            padding: 24px;
            background-color: #fff;
        }
        
        .send-option-icon {
            font-size: 1.2em;
            margin-right: 8px;
        }
        
        .whatsapp-color {
            color: #25D366;
        }
        
        .email-color {
            color: #007bff;
        }
        
        .send-link-info-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-left: 4px solid #007bff;
            border-radius: 6px;
            padding: 16px;
            margin-top: 16px;
        }
        
        .send-link-whatsapp-info {
            border-left-color: #25D366;
        }
        
        .send-link-form-control {
            height: 50px;
            border-radius: 6px;
            border: 1px solid #ced4da;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }
        
        .send-link-form-control:focus {
            border-color: #80bdff;
            -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
                    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
        
        .send-link-btn {
            border-radius: 6px;
            font-weight: 500;
            padding: 12px 24px;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }
        
        .send-link-btn-whatsapp {
            background-color: #25D366;
            border-color: #25D366;
            color: white;
        }
        
        .send-link-btn-whatsapp:hover {
            background-color: #128C7E;
            border-color: #128C7E;
            color: white;
        }
        
        .send-link-modal-header {
            border-bottom: 1px solid #dee2e6;
            background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
        }
        
        .send-link-modal-footer {
            border-top: 1px solid #dee2e6;
            background-color: #f8f9fa;
        }

        /* Campos modernos para fecha y hora */
.fecha-hora-cool {
  border-radius: 12px;
  border: 2px solid #007bff;
  font-size: 1.1rem;
  text-align: center;
  background: #f8fafd;
  -webkit-box-shadow: 0 2px 8px rgba(0,123,255,0.06);
          box-shadow: 0 2px 8px rgba(0,123,255,0.06);
  margin-right: 8px;
  -webkit-transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, -webkit-box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, box-shadow 0.2s, -webkit-box-shadow 0.2s;
}

.fecha-hora-cool:focus {
  border-color: #0056b3;
  -webkit-box-shadow: 0 0 0 2px #007bffa0;
          box-shadow: 0 0 0 2px #007bffa0;
}

.input-group .form-control.fecha-hora-cool {
  min-width: 135px;
  max-width: 180px;
}

@media (max-width: 576px) {
  .input-group .form-control.fecha-hora-cool {
    min-width: 95px;
    font-size: 0.98rem;
  }
}