/*ESTILOS DE HEADER*/
.form-control-dark {
    border-color:#B40000;
}

.form-control-dark:focus {
    border-color: #fff;
    box-shadow: 0 0 0 .25rem #B40000;
}

.text-small {
    font-size: 85%;
}

.dropdown-toggle {
    outline: 0;
}
.btn-logout{
    border: 1px solid white !important;
    color: white !important;
}
.btn-logout:hover{
    border: 1px solid white !important;
    color: white !important;
}


/*FIN DE ESTILOS DE HEADER*/

/*site header*/
.site-header {
    background-color: #B40000;
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}

.site-header a {
    color: #8e8e8e;
    transition: color .15s ease-in-out;
}

.site-header a:hover {
    color: #fff;
    text-decoration: none;
}
/*fin de site header*/

/*product*/
.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    height: 3rem;
    background-color: #B40000;
    border: solid #B40000;
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.product-device {
    position: absolute;
    right: 10%;
    bottom: -30%;
    width: 300px;
    height: 540px;
    background-color:#B40000;
    border-radius: 21px;
    transform: rotate(30deg);
}

.product-device::before {
    position: absolute;
    top: 10%;
    right: 10px;
    bottom: 10%;
    left: 10px;
    content: "";
    background-color: #B40000;
    border-radius: 5px;
}

.product-device-2 {
    top: -25%;
    right: auto;
    bottom: 0;
    left: 5%;
    background-color: #e5e5e5;
}


/*
 * Extra utilities
 */

.flex-equal > * {
    flex: 1;
}

@media (min-width: 768px) {
    .flex-md-equal > * {
        flex: 1;
    }
}



#img{
    max-height: 100% !important;
    max-width: 100% !important;
}



/* Sobrescribir .btn-dark con color principal #B40000 */
.btn-dark,
.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active,
.btn-dark.active,
.show > .btn-dark.dropdown-toggle {
  background-color: #B40000 !important;
  border-color: #B40000 !important;
  color: #ffffff !important;
}

/* Hover -> un tono más oscuro para indicar interacción */
.btn-dark:hover,
.btn-dark:focus {
  background-color: #990000 !important; /* 15% más oscuro */
  border-color: #990000 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Active / pressed */
.btn-dark:active,
.btn-dark.active,
.btn-dark:not(:disabled):not(.disabled):active,
.show > .btn-dark.dropdown-toggle:active {
  background-color: #7a0000 !important; /* más oscuro cuando está activo */
  border-color: #7a0000 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Focus (outline accesible) */
.btn-dark:focus {
  outline: 0 !important;
  box-shadow: 0 0 0 0.25rem rgba(180, 0, 0, 0.25) !important;
}

/* Disabled */
.btn-dark:disabled,
.btn-dark.disabled {
  background-color: #B40000 !important;
  border-color: #B40000 !important;
  color: rgba(255,255,255,0.65) !important;
  opacity: 0.65 !important;
  pointer-events: none !important;
}

/* Tamaños (mantener aspecto consistente) */
.btn-dark.btn-lg,
.btn-dark.btn-sm {
  background-color: #B40000 !important;
  border-color: #B40000 !important;
  color: #ffffff !important;
}

/* Botones outline .btn-outline-dark */
.btn-outline-dark {
  color: #B40000 !important;
  border-color: #B40000 !important;
  background-color: transparent !important;
}

/* Hover de outline -> fondo lleno del color */
.btn-outline-dark:hover,
.btn-outline-dark:focus {
  color: #ffffff !important;
  background-color: #B40000 !important;
  border-color: #B40000 !important;
  box-shadow: 0 0 0 0.25rem rgba(180, 0, 0, 0.12) !important;
}

/* Active de outline */
.btn-outline-dark:active,
.btn-outline-dark.active,
.btn-outline-dark:not(:disabled):not(.disabled):active {
  color: #ffffff !important;
  background-color: #7a0000 !important;
  border-color: #7a0000 !important;
}

/* Disabled outline */
.btn-outline-dark:disabled,
.btn-outline-dark.disabled {
  color: rgba(180,0,0,0.5) !important;
  border-color: rgba(180,0,0,0.2) !important;
  background-color: transparent !important;
  opacity: 0.7 !important;
}

/* Dropdown toggles que usan btn-dark */
.btn-dark.dropdown-toggle::after,
.btn-outline-dark.dropdown-toggle::after {
  border-top-color: #ffffff !important; /* flecha visible sobre fondo oscuro */
}

.text-dark, .bg-dark {
    background-color: #B40000 !important;
    color: #fff !important;
}


/* Nota: mantener este archivo cargado después de bootstrap.css para asegurar la prioridad. */