﻿body {
}

/*.btnModulo1 {
    background: url(../Images/btnConsultar.png) center;
    background-size: 100% 100%;
    background: rgb(76, 255, 0);
    border: none;
    cursor:pointer;
    padding: 5px 15px;
    color:white;
    transition: .5s ease;
    border-radius:10px;
    height:45px;
}*/

.textplaca {
    background: url(../Images/Placa.png) center;
    background-size: 100% 100%;
    height: 65px;
    width: 160px;
    /*Height="57px" Width="148px"*/
    /*color:#fff;*/
    /*display: inline-block;*/
    /*font-size:1.25em;*/
    /*margin:20px;*/
    /*padding: 10px 0px;*/
    text-align: center;
    /*width:200px;*/
    /*text-decoration:none;*/
    /*box-shadow:0px 3px 0px #373c3c;*/
    /*border-radius:10px;*/
    /*transition: .5s ease;*/
}

.btnprincipal {
    display: block;
    width: 200px;
    height: 40px;
    background-color: transparent;
    text-decoration: none;
    /*background:#04ba0d;*/
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    border-radius: 10px;
    color: #777;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.CampoCargaPDF {
    display: block;
    width: 140px;
    height: 30px;
    background-color: transparent;
    text-decoration: none;
    /*background:#fff;*/
    line-height: 30px;
    text-align: left;
    font-size: 14px;
    border-radius: 10px;
    color: rgba(0,0,0,0.7);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.btnsecundario {
    display: block;
    width: 140px;
    height: 30px;
    background-color: transparent;
    text-decoration: none;
    /*background:#fff;*/
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    border-radius: 10px;
    color: #777;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.btngrilla {
    display: block;
    width: 80px;
    height: 20px;
    background: #fff;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    border-radius: 10px;
    color: #777;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.icon {
    color: #f00;
    text-align: left;
    font-size: 16px;
}


.btnAyuda {
    display: block;
    width: 80px;
    height: 40px;
    background-color: transparent;
    text-decoration: none;
    /*background:#04ba0d;*/
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    border-radius: 10px;
    color: #777;
    /*cursor:pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);*/
}

.btnAyudaModal {
    display: block;
    /* width: 80px;
    height: 40px;*/
    background-color: transparent;
    text-decoration: none;
    /*line-height: 40px;*/
    text-align: center;
    font-size: 16px;
    border-radius: 10px;
    color: #777;
}

.btnModulo1 {
    background: url(../Images/btnConsultar.png) center;
    background-size: 100% 100%;
    /*color:#fff;*/
    display: inline-block;
    font-size: 1.25em;
    margin: 20px;
    padding: 10px 0px;
    text-align: center;
    width: 150px;
    text-decoration: none;
    /*box-shadow:0px 3px 0px #373c3c;*/
    border-radius: 10px;
    transition: .5s ease;
    border: none;
}

.btnModuloCalcular {
    background: url(../Images/Calcular.png) center;
    background-size: 100% 100%;
    color: #fff;
    display: inline-block;
    font-size: 1.25em;
    margin: 20px;
    padding: 10px 0px;
    text-align: center;
    width: 150px;
    height: 40px;
    text-decoration: none;
    /*box-shadow:0px 3px 0px #373c3c;*/
    border-radius: 10px;
}

.ImagenConstruccion {
    background: url(../Images/webconstrucción.jpg) center;
    background-size: 100% 100%;
    height: 350px;
    width: 600px;
}

/*.btnModulo1:focus {
    outline: 0;
}

    .btnModulo1:hover {
        padding: 8px 18px;
    }*/

.btnModulo2 {
    background: url(../Images/btnConsultar.png) center;
    background-size: 100% 100%;
    /*background: rgb(76, 255, 0);*/
    border: none;
    cursor: pointer;
    padding: 5px 15px;
    color: white;
    transition: .5s ease;
    border-radius: 10px;
    height: 45px;
}

    .btnModulo2:focus {
        outline: 0;
    }

    .btnModulo2:hover {
        padding: 8px 18px;
    }

.btnModulo3 {
    background: url(../Images/btnConsultar.png) center;
    background-size: 100% 100%;
    /*background: rgb(76, 255, 0);*/
    border: none;
    cursor: pointer;
    padding: 5px 15px;
    color: white;
    transition: .5s ease;
    border-radius: 10px;
    height: 45px;
}

    .btnModulo3:focus {
        outline: 0;
    }

    .btnModulo3:hover {
        padding: 8px 18px;
    }

/*-----------------------------------------------------------------------------------*/
ul.item1 {
    list-style-image: url(../Images/car.png);
}

ul.item2 {
    list-style-image: url(../Images/money.png);
}

ul.item3 {
    list-style-image: url(../Images/contract.png);
}

ul.item4 {
    list-style-image: url(../Images/refresh.png);
}

ul.item5 {
    list-style-image: url(../Images/guide.png);
}

ul.Certitem1 {
    list-style-image: url(../Images/one.png);
}

ul.Certitem2 {
    list-style-image: url(../Images/two.png);
}

ul.buscardeguello {
    list-style-image: url(../Images/cow.png);
}

@media (max-width: 576px) {
    .modal-fullscreen-custom {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
    }

        .modal-fullscreen-custom .modal-content {
            height: 100vh;
            border-radius: 0;
        }

        .modal-fullscreen-custom .modal-body {
            overflow-y: auto;
        }
}

.label-compact {
    margin-bottom: 0.1rem; /* reduce el espacio inferior entre labels */
    line-height: 1.1; /* reduce el espacio vertical del texto */
    display: block; /* asegura que cada label esté en su propia línea */
    font-size: 14px;
}


/* Modales para mostrar mensajes con Sweetalert2 */
.modal-errores {
    width: 41em !important;
    background-color: #ffd8df;
}

.modal-success {
    width: 41em !important;
    background-color: #C7EAD9;
}

.modal-errores-content {
    max-height: 18em;
    overflow-y: auto;
    width: 100%;
    color: #99253a;
    display: flex;
}

/*Efectos para los botones*/
.boton-accion {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: white;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    height: 80px;
    width: 100%;
}

.boton-accion-md {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: white;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    height: 50px;
    width: 100%;
    margin-top: 0.5rem;
}

.boton-accion-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: white;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

    .boton-accion:hover, .boton-accion-md:hover, .boton-accion-sm:hover {
        background-color: #f0f0f0;
        border-color: #999;
        transform: scale(1.05);
        cursor: pointer;
    }

.boton-accion i, .boton-accion-md i {
    font-size: 24px;
    margin-bottom: 5px;
    color: #d00; /* Rojo base, puedes ajustar */
}

.boton-accion-sm i {
    font-size: 18px;
    margin-bottom: 5px;
    color: #d00; /* Rojo base, puedes ajustar */
}

.boton-accion-texto, .boton-accion-md-texto, .boton-accion-sm-texto {
    text-decoration: none;
    font-size: 14px;
}

/* 📱 Media query para pantallas pequeñas (menos de 576px) */
@media (max-width: 576px) {
    .boton-accion-texto, .boton-accion-md-texto, .boton-accion-sm-texto {
        font-size: 12px;
    }

    .boton-accion i, .boton-accion-md i, .boton-accion-sm i {
        font-size: 20px;
    }
}

.custom-file-upload label {
    background-color: #007bff;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: block; /* 🟢 Ocupa todo el ancho */
    width: 100%; /* 🟢 Se ajusta al tamaño del col- */
    box-sizing: border-box; /* 🔒 Evita que el padding lo desborde */
}

.input-oculto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.nombre-archivo {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #333;
    word-break: break-word;
}

/*para estilos de las Grillas*/
.tabla-grilla {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

    .tabla-grilla th, .tabla-grilla td {
        border: 1px solid #ccc;
        padding: 8px;
        text-align: left;
    }

    .tabla-grilla th {
        background-color: #f4f4f4;
        color: #333;
        font-weight: bold;
    }

    .tabla-grilla tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .tabla-grilla tr:hover {
        background-color: #eef;
    }

    .tabla-grilla .acciones {
        text-align: center;
    }

.btn-eliminar {
    background-color: #d9534f;
    border: none;
    color: white;
    padding: 4px 8px;
    font-size: 13px;
    cursor: pointer;
    border-radius: 3px;
}

    .btn-eliminar:hover {
        background-color: #c9302c;
    }

.mensaje-vacio {
    padding: 10px;
    color: #666;
    font-style: italic;
}

/*Para hacer el loading*/
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

#loading-text {
    font-size: 1.5rem;
    font-weight: bold;
    animation: colorChange 2s infinite;
}

/* Animaciones */
@keyframes colorChange {
    0% {
        color: #c62828;
    }

    25% {
        color: #1565c0;
    }

    50% {
        color: #2e7d32;
    }

    75% {
        color: #f9a825;
    }

    100% {
        color: #c62828;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loading-content img {
    width: 120px;
    animation: pulso 1.2s ease-in-out infinite;
}

.loading-content img {
    width: 120px;
    animation: girar 2s linear infinite;
}

.loading-logo {
    width: 40vw;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    animation: colorPulse 2s infinite ease-in-out;
}

@keyframes colorPulse {
    0% {
        filter: grayscale(0) brightness(1) hue-rotate(0deg);
        opacity: 1;
    }

    50% {
        filter: grayscale(0.4) brightness(0.8) hue-rotate(120deg);
        opacity: 0.6;
    }

    100% {
        filter: grayscale(0) brightness(1) hue-rotate(0deg);
        opacity: 1;
    }
}












/*Para las lsites del paso a paso*/
.pasos {
    counter-reset: paso;
    list-style: none;
    padding: 0;
}

    .pasos > li {
        counter-increment: paso;
        position: relative;
        margin: 1em 0;
        padding-left: 40px;
    }

        .pasos > li::before {
            content: counter(paso);
            position: absolute;
            left: 0;
            top: 0.1em;
            background-color: #2cb674;
            color: white;
            width: 25px;
            height: 25px;
            text-align: center;
            line-height: 25px;
            border-radius: 50%;
            font-weight: bold;
        }

    .pasos h3 {
        margin: 0 0 0.5em 0;
        font-size: 1.8em; /* puedes subir a 1.5em o más si quieres más grande */
        font-weight: bold;
        margin: 0 0 0.5em 0;
    }

    .pasos ul {
        list-style-type: disc;
        padding-left: 1.5em;
        font-size: 1.5em; /* aumenta el texto de los <li> */
        list-style-type: disc;
        padding-left: 1.5em;
    }

.step-circle {
    background-color: #28a745; /* Verde Bootstrap */
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


/* Colores de fondo para las Tablas  o grillas */
.tabla-estampillas tbody tr {
    background-color: #f8f9fc; /* color claro */
}

    .tabla-estampillas tbody tr:hover {
        background-color: #d0e7ff !important;
    }

.text-right {
    text-align: right;
}
.text-justify-all {
    text-align: justify-all;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}