/**

 modal

@brand-primary: #CD1818;

@brand-success: #5cb85c;

@brand-info:    #5bc0de;

@brand-warning: #f0ad4e;

@brand-danger:  #d9534f;



*/

#titan-message-modal-id .modal-header.primary {
  background: #cd1818;
}

#titan-message-modal-id .modal-header.success {
  background: #5cb85c;
}

#titan-message-modal-id .modal-header.info {
  background: #5bc0de;
}

#titan-message-modal-id .modal-header.warning {
  background: #f0ad4e;
}

#titan-message-modal-id .modal-header.danger {
  background: #d9534f;
}

div#titan-popup {
  position: absolute;

  bottom: 30px;

  left: 30px;

  display: none;

  z-index: 10001;
}

div#titan-popup .alert {
  margin: 0;

  box-shadow: 2px 2px 15px #444;
}

div.tab-content {
  /*height: calc(100% - 42px);*/
}

div.tab-pane {
  /*height: 100%;*/
}

#titan-message-modal-id .modal-header.primary {
  background: #fff;
}

#titan-message-modal-id .modal-header.success {
  background: #fff;
}

#titan-message-modal-id .modal-header.info {
  background: #fff;
}

#titan-message-modal-id .modal-header.warning {
  background: #fff;
}

#titan-message-modal-id .modal-header.danger {
  background: #fff;
}

.titan-error-view {
  z-index: 10001;
  position: fixed;
  background: #000000b5;
  width: 100%;
  height: 100%;
  padding: 100px;
  color: #e91e63;
  font-size: 24px;
}

.titan-error-view-title {
  color: #fff;
}

.titan-error-view-message {
  color: #ffff;
}

.titan-error-view anonymous {
  white-space: break-spaces;
}

h5.titan-error-view-code {
  font-size: 14px;
  background: #ffffffc4;
  color: #000;
  padding: 30px;
}

div.titan-error-view-code-line-number {
  width: 24px;
  color: #7e2d2d;
  font-weight: 600;
  border-right: 2px solid #ff9800;
}

.titan-error-view-code-transparent {
  display: inline-block;
  color: transparent;
}

.titan-error-view-code-symbol {
  display: inline-block;
  color: red;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: -2px;
}

.titan-error-view-code-lines {
  padding: 0;
  margin: 0;
  display: flex;
}

.titan-error-view-code-tab {
  color: transparent;
}

.titan-error-view-close {
  position: absolute;
  top: 30px;
  right: 100px;
  background: #fff4;
  color: #fff;
  padding: 2px;
  height: 60px;
  width: 60px;
  text-align: center;
  font-family: cursive;
  font-size: xx-large;
  border-radius: 50%;
  cursor: pointer;
}

.titan-field-error input,
.titan-field-error select,
.titan-field-error textarea {
  border: 1px solid #f44336;
}

.titan-field-error .titan-msj-error {
  font-size: 12px;
  color: #f44336;
}

/* =============================================
   TITAN LOADER - Estilos globales
   ============================================= */

#loader-content {
  background: rgba(255, 255, 255, 0.92);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

#loader-content.show {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

#loader-content.hiding {
  opacity: 0;
}

#loader-content .spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

#loader-content .spinner > div {
  width: 14px;
  height: 14px;
  background-color: #6b7280;
  border-radius: 100%;
  display: inline-block;
  animation: titan-bounce 1.4s infinite ease-in-out both;
}

#loader-content .spinner .bounce1 {
  animation-delay: -0.32s;
}

#loader-content .spinner .bounce2 {
  animation-delay: -0.16s;
}

#loader-content .spinner .bounce3 {
  animation-delay: 0s;
}

@keyframes titan-bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}
