/* ==========================================================================
   Premium Styles - Custom UI
   ========================================================================== */

.form-control {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 2px solid rgba(114, 170, 254, 0.9) !important;
  border-radius: 0 !important;
  font-size: 17px !important;
  padding: 5px !important;
  height: auto !important;
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: transparent !important;
  border-bottom: 4px solid rgba(35, 122, 254, 0.9) !important;
  -webkit-box-shadow: 0px 3px 0px -2px rgba(0, 0, 0, 0.2) !important;
  -moz-box-shadow: 0px 3px 0px -2px rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0px 3px 0px -2px rgba(0, 0, 0, 0.2) !important;
  outline: none !important;
}

.select2 {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid rgba(114, 170, 254, 0.9);
  border-radius: 0;
  font-size: 17px;
}

.form-control:disabled {
  background-color: rgba(222, 222, 222, 0.9) !important;
  border: none !important;
  border-bottom: 2px solid rgba(114, 170, 254, 0.9) !important;
  border-radius: 5px !important;
  font-size: 17px !important;
  padding: 5px !important;
}

.input-group-addon {
  background-color: transparent;
  border: none;
  border-bottom: 0px solid rgba(114, 170, 254, 0.9);
  border-radius: 0;
  padding: 0px;
}

.login {
  background-color: transparent !important;
  border-radius: 4px;
  font-size: 17px;
  -webkit-box-shadow: 0px 3px 0px -2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 0px -2px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 0px -2px rgba(0, 0, 0, 0.2);
}

input[readonly],
textarea[readonly] {
  background-color: #f9f9f9 !important;
  border: 0px solid #ccc !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  color: #555 !important;
  cursor: not-allowed !important;
}

.blink-red {
  animation: blinker 1s linear infinite;
  border: none !important;
  border-bottom: 2px solid rgba(255, 42, 3, 0.9) !important;
  border-radius: 10px !important;
}

.btn-main-md:disabled, .btn-disabled {
    background-color: #ccc !important;
    border-color: #bbb !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

@keyframes blinker {
  50% {
    opacity: 0.5;
  }
}

/* [juan] Estilo base para el circulito de notificación del header */
.cal-badge {
  position: absolute;
  top: 7px;
  right: 5px;
  display: none;
  padding: 2px 6px;
  border-radius: 50%;
  font-size: 10px;
  background-color: transparent;
  color: #fff !important;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* [juan] ANIMACIONES DE CALENDARIO - REFINADAS Y ELEGANTES */
@keyframes cal-soft-glow-1 {
  0% {
    filter: drop-shadow(0 0 1px rgba(46, 204, 113, 0.3));
  }

  50% {
    filter: drop-shadow(0 0 6px rgba(46, 204, 113, 0.7));
  }

  100% {
    filter: drop-shadow(0 0 1px rgba(46, 204, 113, 0.3));
  }
}

@keyframes cal-soft-glow-2 {
  0% {
    filter: drop-shadow(0 0 2px rgba(243, 156, 18, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(243, 156, 18, 0.8));
  }

  100% {
    filter: drop-shadow(0 0 2px rgba(243, 156, 18, 0.4));
  }
}

@keyframes cal-soft-glow-3 {
  0% {
    filter: drop-shadow(0 0 4px rgba(231, 76, 60, 0.5));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 15px rgba(231, 76, 60, 1));
    transform: scale(1.08);
  }

  100% {
    filter: drop-shadow(0 0 4px rgba(231, 76, 60, 0.5));
    transform: scale(1);
  }
}

.cal-urgencia-1 {
  color: #2ecc71 !important;
  animation: cal-soft-glow-1 3s ease-in-out infinite;
}

.cal-urgencia-2 {
  color: #f39c12 !important;
  animation: cal-soft-glow-2 2s ease-in-out infinite;
}

.cal-urgencia-3 {
  color: #e74c3c !important;
  animation: cal-soft-glow-3 1.2s ease-in-out infinite;
}

@keyframes cal-badge-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.cal-badge-u-1 {
  background-color: #2ecc71 !important;
  animation: cal-badge-pulse 2.5s infinite;
}

.cal-badge-u-2 {
  background-color: #f39c12 !important;
  animation: cal-badge-pulse 1.8s infinite;
}

.cal-badge-u-3 {
  background-color: #e74c3c !important;
  animation: cal-badge-pulse 1s infinite;
}s