﻿body {
    background-color: #F1F5F8;
}

.header-box .btn-primary {
    background-color: #00A9A6 !important;
    color: #fff !important;
}

.header-box {
    margin-top: 50px;
    margin-bottom: 30px;
}

#results-table_wrapper {
    padding-top: 20px;
    background-color: #fff;
    border-radius: 20px;
    -webkit-box-shadow: 5px 5px 18px -15px #000000;
    box-shadow: 5px 5px 18px -15px #000000;
    padding-bottom: 5px;
}

.dt-length {
    padding-left: 30px;
    padding-bottom: 15px;
}

.dt-search {
    padding-right: 30px;
    padding-bottom: 15px;
}

.dt-info {
    padding-left: 30px;
}

.dt-paging {
    padding-right: 30px;
}

.table {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-top: 20px;
    font-size: 0.85rem;
    max-width: 100%;
    table-layout: auto; /* Permite que las columnas se ajusten al contenido */
}

    .table th, .table td {
        padding: 6px 8px;
        vertical-align: middle;
        /* Elimina truncado y nowrap para permitir ajuste de texto */
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        /*word-break: break-word;*/ /* Permite saltos de línea en palabras largas */
    }

    .table thead th {
        background-color: #00A9A6;
        color: #fff;
        border-bottom: 2px solid #dee2e6;
        font-weight: 600;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .table tbody tr:nth-child(even) {
        background-color: #F1F5F8;
    }

    .table tbody tr:hover {
        background-color: #e9ecef;
        transition: background 0.2s;
    }

.btn-primary, .btn-secondary {
    padding: 6px 16px;
    font-size: 0.95rem;
    border-radius: 4px;
}

a.btn-primary, a.btn-secondary {
    color: #fff;
    text-decoration: none;
}

    a.btn-primary:hover, a.btn-secondary:hover {
        opacity: 0.85;
    }



.box-center {
    border-radius: 20px;
    background-color: #fff;
    min-height: 200px;
    -webkit-box-shadow: 0px 0px 18px -15px #000000;
    box-shadow: 0px 0px 18px -15px #000000;
}

.table td a {
    margin-right: 4px;
}

.table th:nth-child(6),
.table th:nth-child(7),
.table td:nth-child(8),
.table td:nth-child(9) {
    min-width: 90px;
    text-align: center;
}







div.dt-container .dt-paging .dt-paging-button:hover {
    background: none !important;
    background-color: #f1f5f8 !important;
    color: #000 !important;
    border-color: #f1f5f8 !important;
}


div.dt-container .dt-paging .dt-paging-button.current, div.dt-container .dt-paging .dt-paging-button.current:hover {
    background-color: #00A9A6 !important;
    color: #fff !important;
    border-color: #00A9A6 !important;
}


.bg-nuevo-prestador {
    background-color: #ccc;
    background-image: url('../images/bg-presdator.jpg');
    background-size: cover;
    background-position: center left;
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    position: relative;
}


.box-formulario {
    padding: 30px 40px;
}

    .box-formulario .form-control {
        margin-bottom: 10px;
    }

.botonera-form {
    margin-top: 20px;
}

.box-formulario .btn-primary {
    background-color: #00A9A6 !important;
    color: #fff !important;
}

.box-formulario H3 {
    font-size: 20px;
}

.box-formulario p {
    font-size: 14px;
}

.btn-eliminar {
    background-color: #FF2900;
    color: #fff;
}


    .btn-eliminar:hover {
        background-color: #DE2400;
        color: #fff;
    }


.logo-chico {
    position: absolute;
    bottom: 18px;
    left: 25px;
    width: 60px;
}

.logo-chico img {
    width: 60px;
}



@media (max-width: 480px) { /*480*/

    .bg-nuevo-prestador {
        min-height: 250px;
    }
}



@media (max-width: 720px) { /*720*/

    #results-table th,
    #results-table td {
        white-space: nowrap !important;
        word-break: normal !important;
    }


    .dt-layout-table {
        width: 100%;
        overflow-x: auto;
    }

    #results-table {
        width: 100% !important;
        min-width: 900px;
    }
}
