/*override adminlte*/
.main-header {
    background-color: #00695C !important;
}

    .main-header .navbar-nav .nav-link {
        color: #fff !important; /* Cambia el color del texto a blanco */
    }

    .main-header .navbar-brand {
        color: #fff !important; /* Si tienes una marca, también cambiará a blanco */
    }

.brand-link {
    background-color: #00695C !important;
    padding: .8125rem .1rem !important;
    text-align: center;
    text-decoration: none;
}

.brand-text {
    font-family: "Dancing Script", cursive !important;
    font-size: 26px !important;
}

.main-sidebar {
    background-color: #222d32 !important;
}

.content-header {
    background-color: white !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 5px;
}

.content-wrapper {
    background-color: #E5E5E5 !important;
}

.custom-menu-item {
    
    border-left: 3px solid transparent;
    transition: border-left-color 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    color: #fff;
}

    .custom-menu-item.active,
    .custom-menu-item:hover,
    .custom-menu-item:focus {
        background-color: rgba(255, 255, 255, .1);
        /*background: #0d1214;*/
        border-left-color: #00695C;
        text-decoration: none;
        color: #fff;
    }



/*Login*/
.material-half-bg {
    height: 100vh;
    background-color: #e7e7e7;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

    .material-half-bg .cover {
        background-color: #00695C;
        height: 50vh;
    }


.login-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100vh;
}

    .login-content .logo {
        margin-bottom: 20px;
        font-family: "Dancing Script", cursive;
        color: #fff;
    }

        .login-content .logo h1, .login-content .logo .h1 {
            font-size: 52px;
            font-weight: 400;
        }

    .login-content .login-box {
        position: relative;
        min-width: 350px;
        min-height: 500px;
        background-color: #fff;
        -webkit-box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
        box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
        -webkit-perspective: 800px;
        perspective: 800px;
        -webkit-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }
        .login-content .login-box.error-visible {
            min-height: 580px;
            transition: min-height 0.3s ease-in-out;
        }

        .login-content .login-box .login-head {
            margin-top: 0;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #ddd;
            text-align: center;
        }

        .login-content .login-box label {
            color: #666;
            font-weight: 700;
        }

        .login-content .login-box .utility {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            padding: 1px;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }

        .login-content .login-box .btn-container {
            text-align: center;
            margin-bottom: 0;
        }

        .login-content .login-box .login-form, .login-content .login-box .forget-form {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 40px;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            -webkit-transition: all 0.5s ease-in-out;
            transition: all 0.5s ease-in-out;
        }

        .login-content .login-box .forget-form {
            opacity: 0;
            -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
        }

        .login-content .login-box.flipped {
            min-height: 320px;
        }

            .login-content .login-box.flipped .login-form {
                opacity: 0;
                -webkit-transform: rotateY(-180deg);
                transform: rotateY(-180deg);
            }

            .login-content .login-box.flipped .forget-form {
                opacity: 1;
                -webkit-transform: rotateY(0deg);
                transform: rotateY(0deg);
            }


@media (max-width: 351px) {
    .login-content .login-box {
        min-width: 100%;
    }

        .login-content .login-box .login-form, .login-content .login-box .forget-form {
            width: 100%;
        }
}


.lockscreen-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 100vh;
}

    .lockscreen-content .logo {
        font-family: "Dancing Script";
        margin-bottom: 40px;
        color: #fff;
    }

        .lockscreen-content .logo h1, .lockscreen-content .logo .h1 {
            font-size: 52px;
            font-weight: 400;
        }

    .lockscreen-content .lock-box {
        position: relative;
        min-width: 320px;
        padding: 20px 40px;
        background-color: #fff;
        -webkit-box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
        box-shadow: 0px 29px 147.5px 102.5px rgba(0, 0, 0, 0.05), 0px 29px 95px 0px rgba(0, 0, 0, 0.16);
        -webkit-perspective: 800px;
        perspective: 800px;
        -webkit-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

        .lockscreen-content .lock-box .user-image {
            border: 3px solid #fff;
            max-width: 100px;
            display: block;
            margin: 0 auto;
        }

        .lockscreen-content .lock-box .user-name {
            margin-bottom: 2px;
        }

        .lockscreen-content .lock-box label {
            color: #666;
            font-weight: 700;
        }

        .lockscreen-content .lock-box .btn-container {
            text-align: center;
        }


/* CSS para el efecto de sacudida */
.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* CSS para ajustar datatable */
table.dataTable thead th, table.dataTable tbody td {
    padding: 4px 8px; /* Ajusta el padding para hacer la tabla más compacta */
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0; /* Reduce el tamaño de los botones de paginación */
    margin: 0;
}

.text-limited {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Número de líneas que deseas mostrar */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.btn-container {
    display: flex;
    gap: 5px; /* Espacio entre los botones */
}

/*Facturacion, Cotiazion, etc*/
@media (max-width: 768px) {
    .card-footer-buttom {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background-color: white;
        padding: 10px;
        box-shadow: 0px -2px 5px rgba(0,0,0,0.1);
        text-align: center;
    }

        .card-footer-buttom button {
            width: 45%;
        }
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* Estilo moderno sin líneas divisorias */

/* Configuración general */
.dataTables_wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c2c2c;
    background-color: #ffffff;
}
/* Estilo de las celdas */
.dataTable td, .dataTable th {
    /*font-size: 14px; tamaños de celdas*/
    font-size: 14.5px;
    padding: 10px 14px; /* Compacto pero espacioso */
    text-align: left;
    vertical-align: middle;
    color: #2c2c2c;
    background-color: #ffffff;
    border: none; /* Sin líneas divisorias */
}


/* Encabezados */
.dataTable th {
    background-color: #f8f8f8;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: none; /* Sin líneas divisorias */
}

/* Filas alternadas (si se desea mantener) */
.dataTable tbody tr:nth-child(even) {
    background-color: #fafafa; /* Color muy sutil */
}

/* Efecto hover en celdas */
.dataTable tbody tr:hover td {
    background-color: #e0f7fa; /* Azul claro atractivo */
    transition: background-color 0.3s ease; /* Suavidad en el cambio */
    cursor: pointer; /* Indicar interactividad */
}

/* Campo de búsqueda */
.dataTables_filter input {
    font-size: 13px;
    padding: 6px 10px; /* Reducir tamaño */
    border: 1px solid #d1d1d1;
    border-radius: 8px; /* Bordes redondeados */
    outline: none;
    transition: border-color 0.2s ease;
}

    .dataTables_filter input:focus {
        border-color: #007aff;
        box-shadow: 0px 0px 4px rgba(0, 122, 255, 0.3);
    }

/* Paginación */
.dataTables_paginate .paginate_button {
    font-size: 13px;
    padding: 6px 10px; /* Compactar botones */
    margin: 0 4px;
    border: 1px solid #d1d1d1;
    border-radius: 8px; /* Bordes redondeados */
    background-color: #ffffff;
    color: #007aff;
    transition: all 0.2s ease;
}

    .dataTables_paginate .paginate_button:hover {
        background-color: #f0f8ff;
        border-color: #007aff;
    }

    .dataTables_paginate .paginate_button.current {
        background-color: #007aff;
        color: #ffffff;
        border-color: #007aff;
    }

    /* Ajuste para el botón "Primero" y "Último" */
    .dataTables_paginate .paginate_button.disabled {
        color: #bcbcbc;
        border-color: #e0e0e0;
        background-color: #f9f9f9;
        pointer-events: none;
    }

/* Ajuste para el encabezado general */
.dataTables_length select {
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #d1d1d1;
    outline: none;
    background-color: #ffffff;
}

/* Barra de información */
.dataTables_info {
    font-size: 15px;
    color: #555;
}