
/* Diseño general del formulario */
.logodtf{
    margin: 10px 20px 0 2px;
}   
.logodtf img {
    width: 18%;
}
.avisos-form {
    width: 98%; 
    margin: 0 auto; /* Centra el formulario en la pantalla */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}
.explica {
    display: block;
    font: small-caption;
    font-style: italic;
    color: #919191;
}
/* Estilo de las pestañas */
#tabs ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: -11px;
}
#tabs ul li {
    margin-right: 10px;
}

#tabs ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    background-color: #f9f9f9;
}

#tabs ul li a:hover, #tabs ul li a:focus, #tabs ul li a.active {
    background-color: #2271b1;
    border-color: #1b44fc;
    color: white;
}

/* Estilo de cada sección del formulario */
.form-avisos-section {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

/* Estilo de cada fila del formulario */
.form-avisos-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 5px 10px 0px 10px;
}

/* Etiquetas alineadas a la izquierda */
.form-avisos-row label {
    flex: 0 0 150px; /* Ajusta el ancho según sea necesario */
    margin-right: 10px;
}


/* Botones de acción */
.form-avisos-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}
.objetivo {
    text-decoration: none !important;
    display: inline-block;
    font-size: x-small;
    color: #a7a7a7;
}
#estadoprueba {
    background-color: #007308;
    position: absolute;
    width: 200px;
    right: 10px;
    color: white;
    text-align: center;
    padding: 10px;
    display: none;
    z-index: 20000;
    cursor: pointer;
}
.dtf-banda-aviso {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #ccd;
    background: #eef;
    width: 90%;
    text-align: center;
    font-size: x-small;
}
.dtf-banda-aviso--toast {
    background: #fff9f0;
    border-color: #ff9d00;
}
.dtf-banda-aviso--modal {
    background: #d9f7d0;
    border-color: #00ff18;
}
.dtf-banda-aviso--fullscreen { 
    background: #ffabab;
    border-color: #ff0000;
}
.fila-desactivada {
    text-decoration-line: line-through;
    text-decoration-color: #0202028c;
    text-decoration-thickness: 12px;
}
.desactivado {
    background: #c1c1c1;
    border-color: #2f2f2f;
}
.preview-aviso {
    cursor:zoom-in;
}



/* FRONT */

.banner-flex { display: flex; align-items: center; gap: 20px; }
.banner-flex .img { flex: 0 0 140px; text-align: center; }
.banner-flex .content { flex: 1; text-align: center; }
.banner-flex h2 { margin: 0 0 8px 0; }
.banner-flex p { margin: 0; }
.banner-flex img { max-width: 100%; height: auto; }

.dtf-aviso-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 10999;
    background: rgb(73 73 73 / 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(22px);
}
.dtf-aviso-fullscreen__inner {
  background: #fff; color: #222;
  max-width: 720px; width: 100%;
  border-radius: 12px; padding: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.dtf-aviso-fullscreen__title {
    margin: 0 0 .5rem;
    font-size: 1.6rem;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3e3e3;
}
.dtf-aviso-fullscreen__msg { margin-bottom: 1rem; }
.dtf-aviso-fullscreen__close {
  background: #111; color: #fff; border: 0; padding: .6rem 1rem; border-radius: 8px; cursor: pointer;
}

/* Modo frameless */
.dtf-aviso-fullscreen.is-frameless .dtf-aviso-fullscreen__inner,
.dtf-aviso-fullscreen .dtf-aviso-fullscreen__inner.no-frame {
    background: #ffffffad;
    backdrop-filter: blur(11px);
}

/* barra de progreso arriba del modal */
.dtf-aviso-fullscreen__progress {
  position: absolute; top: 0; left: 10px; right: 10px; height: 4px;
  background: rgba(0,0,0,0.08); overflow: hidden; border-top-left-radius:16px; border-top-right-radius:16px;
}
.dtf-aviso-fullscreen__progress .bar {
  width: 100%; height: 100%;
  background: linear-gradient(90deg, #4caf50, #ff9800);
  animation-name: dtf-shrink; animation-timing-function: linear; animation-fill-mode: forwards;
}
@keyframes dtf-shrink { from { width:100%; } to { width:0%; } }

/* contador sencillo en la esquina */
.dtf-aviso-fullscreen__countdown {
  position: absolute; top: 8px; right: 12px;
  font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: rgba(0,0,0,0.6); color: #fff; padding: 4px 8px; border-radius: 999px;
}


.alertify .ajs-dimmer {
    background: #00000054;
    backdrop-filter: blur(3px);
    opacity: 1;
}

.borde-multicolor-animado {
  position: relative;
  padding-bottom: 8px;
}

.borde-multicolor-animado::after {
    border-radius: 20px;
    padding: 0px;
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0px;
    height: 1px;
    background: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    green,
    cyan,
    blue,
    violet,
    red
  );
    background-size: 300% 100%;
    animation: moverGradiente 5s linear infinite;
}

.borde-multicolor-animado_modal {
  position: relative;
  padding-bottom: 8px;
}

.borde-multicolor-animado_modal::after {
    border-radius: 20px;
    padding: 0px;
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 1px;
    background: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    green,
    cyan,
    blue,
    violet,
    red
  );
    background-size: 300% 100%;
    animation: moverGradiente 5s linear infinite;
}

@keyframes moverGradiente {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

