/* Contenedor flotante */
.floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Botón flotante principal */
.floating-button {
    width: 60px;
    height: 60px;
    background-color: #007bff;
    /* Color de fondo */
    color: white;
    /* Color del ícono */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 24px;
    /* Tamaño del ícono */
    transition: all 0.3s ease;
}

.floating-button:hover {
    color: white;
    background-color: #0056b3;
    /* Color al pasar el mouse */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
    /* Animación de agrandado */
}

/* Contenedor de íconos sociales */
.social-icons {
    display: none;
    /* Oculto por defecto */
    position: absolute;
    bottom: 70px;
    /* Justo arriba del botón principal */
    right: 0;
    flex-direction: column;
    align-items: center;
}

/* Íconos sociales */
.social-icons a {
    width: 50px;
    height: 50px;
    background-color: #fff;
    /* Fondo blanco para los íconos */
    color: #007bff;
    /* Color del ícono */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 20px;
    /* Tamaño del ícono */
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #007bff;
    /* Cambia el fondo al pasar el mouse */
    color: white;
    /* Cambia el color del ícono */
}

.fondo {
    background-image: url('../img/fondo.jpg');
    background-attachment: fixed;
    background-size: cover;
}

.checkbox-wrapper-8 .tgl {
    display: none;
}

.checkbox-wrapper-8 .tgl,
.checkbox-wrapper-8 .tgl:after,
.checkbox-wrapper-8 .tgl:before,
.checkbox-wrapper-8 .tgl *,
.checkbox-wrapper-8 .tgl *:after,
.checkbox-wrapper-8 .tgl *:before,
.checkbox-wrapper-8 .tgl+.tgl-btn {
    box-sizing: border-box;
}

.checkbox-wrapper-8 .tgl::-moz-selection,
.checkbox-wrapper-8 .tgl:after::-moz-selection,
.checkbox-wrapper-8 .tgl:before::-moz-selection,
.checkbox-wrapper-8 .tgl *::-moz-selection,
.checkbox-wrapper-8 .tgl *:after::-moz-selection,
.checkbox-wrapper-8 .tgl *:before::-moz-selection,
.checkbox-wrapper-8 .tgl+.tgl-btn::-moz-selection,
.checkbox-wrapper-8 .tgl::selection,
.checkbox-wrapper-8 .tgl:after::selection,
.checkbox-wrapper-8 .tgl:before::selection,
.checkbox-wrapper-8 .tgl *::selection,
.checkbox-wrapper-8 .tgl *:after::selection,
.checkbox-wrapper-8 .tgl *:before::selection,
.checkbox-wrapper-8 .tgl+.tgl-btn::selection {
    background: none;
}

.checkbox-wrapper-8 .tgl+.tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-wrapper-8 .tgl+.tgl-btn:after,
.checkbox-wrapper-8 .tgl+.tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}

.checkbox-wrapper-8 .tgl+.tgl-btn:after {
    left: 0;
}

.checkbox-wrapper-8 .tgl+.tgl-btn:before {
    display: none;
}

.checkbox-wrapper-8 .tgl:checked+.tgl-btn:after {
    left: 50%;
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn {
    overflow: hidden;
    transform: skew(-10deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.2s ease;
    font-family: sans-serif;
    background: #888;
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:after,
.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:before {
    transform: skew(10deg);
    display: inline-block;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
    position: absolute;
    line-height: 2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:after {
    left: 100%;
    content: attr(data-tg-on);
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:before {
    left: 0;
    content: attr(data-tg-off);
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:active {
    background: #888;
}

.checkbox-wrapper-8 .tgl-skewed+.tgl-btn:active:before {
    left: -10%;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn {
    background: #86d993;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn:before {
    left: -100%;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn:after {
    left: 0;
}

.checkbox-wrapper-8 .tgl-skewed:checked+.tgl-btn:active:after {
    left: 10%;
}


/* ------------------ ALERTAS (Material Design) ------------------ */

/* Danger */
.alert-danger,
.bg-danger {
    background-color: #f44336 !important;
    /* Rojo Material Design */
    color: white;
    border: none;
}

/* Success */
.alert-success,
.bg-success {
    background-color: #00ac31 !important;
    /* Verde Material Design */
    color: white;
    border: none;
}

/* Info */
.alert-info,
.bg-info {
    background-color: #2196f3 !important;
    /* Azul Material Design */
    color: white;
    border: none;
}

/* Warning */
.alert-warning,
.bg-warning {
    background-color: #ff9800 !important;
    /* Naranja Material Design */
    color: white;
    border: none;
}

.pendiente {
    background-color: red;
}

.en_proceso {
    background-color: yellow;
    color: black;
}

.en_espera {
    background-color: orange;
}

.reparado {
    background-color: blue;
}

.entregado {
    background-color: green;
}

.cancelado {
    background-color: black;
}

.no_reparable {
    background-color: firebrick;
}

/* Primary */
.alert-primary,
.bg-primary {
    background-color: #3f51b5 !important;
    /* Azul Oscuro Material Design */
    color: white;
    border: none;
}

.btn-primary {
    background-color: #205dc1 !important;
}

.text-primary {
    color: #205dc1 !important;
}

.sidebar .nav .nav-item.active>.nav-link .menu-title {
    color: #205dc1 !important;
    font-family: "ubuntu-medium", sans-serif;
}

.sidebar .nav .nav-item.active>.nav-link i {
    color: #205dc1 !important;
    ;
}

/* .active{
    color: #205dc1 !important;
} */

/* Secondary */
.alert-secondary,
.bg-secondary {
    background-color: #9e9e9e !important;
    /* Gris Material Design */
    color: white;
    border: none;
}

/* ------------------ BOTONES (Material Design) ------------------ */

/* Danger Button */
.btn-danger {
    background-color: #f44336 !important;
    /* Rojo Material Design */
    color: white;
    border: none;
}

.btn-danger:hover {
    background-color: #d32f2f !important;
    /* Hover más oscuro */
}

/* Success Button */
.btn-success {
    background-color: #34ae3a !important;
    /* Verde Material Design */
    color: white;
    border: none;
}

.btn-success:hover {
    background-color: #388e3c !important;
    /* Hover más oscuro */
}

/* Info Button */
.btn-info {
    background-color: #2196f3 !important;
    /* Azul Material Design */
    color: white;
    border: none;
}

.btn-info:hover {
    background-color: #1976d2 !important;
    /* Hover más oscuro */
}

/* Warning Button */
.btn-warning {
    background-color: #ff9800 !important;
    /* Naranja Material Design */
    color: white;
    border: none;
}

.btn-warning:hover {
    background-color: #f57c00 !important;
    /* Hover más oscuro */
}

/* Secondary Button */
.btn-secondary {
    background-color: #9e9e9e !important;
    /* Gris Material Design */
    color: white;
    border: none;
}

.btn-secondary:hover {
    background-color: #757575 !important;
    /* Hover más oscuro */
}


/* ------------------ ESTILOS DE CARDS (Material Design) ------------------ */

.card {
    border: none;
    /* Elimina el borde por defecto de Bootstrap */
    border-radius: 8px;
    /* Bordes redondeados como en Material Design */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    /* Sombra sutil estilo Material Design */
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Hover para efecto más elevado (z-depth) */
.card:hover {
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    /* Sombra más pronunciada al hacer hover */
}

/* Agrega algo de padding interno */
.card-body {
    padding: 20px;
}

/* Si usas imágenes dentro de las cards */
.card-img-top {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Títulos de la card */
.card-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #3f51b5;
    /* Color principal de Material Design */
}

/* Texto en la card */
.card-text {
    font-size: 1rem;
    color: #616161;
    /* Gris oscuro para el texto */
}

/* Footer de la card */
.card-footer {
    background-color: transparent;
    /* Fondo transparente */
    border-top: none;
    /* Sin borde en el footer */
    padding-top: 15px;
    padding-bottom: 15px;
    color: #757575;
    /* Texto gris claro */
    font-size: 0.9rem;
}

/* Opcional: Colores específicos para distintas cards */

/* Card de éxito (Material Design Verde) */
.card-success {
    background-color: #e8f5e9;
    color: #388e3c;
}

.card-success .card-title {
    color: #2e7d32;
}

/* Card de información (Material Design Azul) */
.card-info {
    background-color: #e3f2fd;
    color: #1976d2;
}

.card-info .card-title {
    color: #1565c0;
}

/* Card de advertencia (Material Design Naranja) */
.card-warning {
    background-color: #fff3e0;
    color: #f57c00;
}

.card-warning .card-title {
    color: #e65100;
}

/* Card de peligro (Material Design Rojo) */
.card-danger {
    background-color: #ffebee;
    color: #d32f2f;
}

.card-danger .card-title {
    color: #c62828;
}

/* ------------------ FORM-CONTROL (Material Design) ------------------ */

/* Input básico */
.form-control {
    background-color: #ffffff;
    /* Fondo gris claro, estilo Material Design */
    border: 0.5px solid #3f51b5;
    border-radius: 4px;
    /* Bordes ligeramente redondeados */
    padding: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    /* Transiciones suaves */
}

/* Efecto de enfoque (focus) en el input */
.form-control:focus {
    background-color: #ffffff;
    /* Cambia a blanco en foco */
    border: 1px solid #3f51b5;
    /* Borde azul oscuro estilo Material Design */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra externa sutil al hacer foco */
    outline: none;
    /* Elimina el borde de foco por defecto */
}

/* Placeholder estilo Material Design */
.form-control::placeholder {
    color: #9e9e9e;
    /* Color gris claro */
}

/* Deshabilitado */
.form-control:disabled,
.form-control[readonly] {
    background-color: #f3efef;
    /* Fondo gris más claro */
    color: #9e9e9e;
    /* Texto gris claro */
    box-shadow: none;
    /* Sin sombra */
}

/* ------------------ SELECTS (Material Design) ------------------ */

.form-select {
    background-color: #f5f5f5;
    /* Igual fondo que los inputs */
    border: none;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    /* Sombra interna */
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    background-color: #ffffff;
    border: 2px solid #3f51b5;
    /* Azul oscuro en foco */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* ------------------ CHECKBOXES & RADIO BUTTONS (Material Design) ------------------ */

.form-check-input {
    appearance: none;
    /* Elimina el estilo por defecto */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* Hace que el checkbox sea circular */
    border: 2px solid #9e9e9e;
    /* Borde gris claro */
    background-color: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-check-input:checked {
    background-color: #3f51b5;
    /* Azul oscuro cuando está marcado */
    border-color: #3f51b5;
}

.form-check-input:focus {
    box-shadow: 0 0 4px rgba(63, 81, 181, 0.5);
    /* Sombra azul suave en foco */
}

/* ------------------ FILE INPUT (Material Design) ------------------ */

.custom-file-input {
    background-color: #f5f5f5;
    border: none;
    padding: 10px;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.custom-file-input:focus {
    border: 2px solid #3f51b5;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    outline: none;
}

.custom-file-label::after {
    content: "Seleccionar";
    /* Texto de botón personalizado */
    background-color: #3f51b5;
    /* Color del botón de selección de archivo */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

table td {
    padding: 6px !important;
}

.card-stats {
    border-radius: 10px;
    color: white;
    position: relative;
    padding: 10px 20px 0px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-stats .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    opacity: 0.2;
}

.card-stats h4 {
    font-size: 1rem;
}

.card-stats h2 {
    font-size: 2rem;
    font-weight: bold;
}

.card-stats p {
    margin: 0;
    font-size: 0.9rem;
}

/* Gradients for each card */
.bg-purple {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
}

.bg-orange {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
}

.bg-green {
    background: linear-gradient(45deg, #43e97b, #38f9d7);
}

.bg-yellow {
    background: linear-gradient(45deg, #fbd72b, #f9484a);
}

.bg-white {
    background-color: white;
    color: black;
}