.text_capitalize{
    text-transform: capitalize;
}
:root {
    --sidebar-width: 250px;
    --collapsed-width: 60px;
    --transition-time: 0.3s;
    --primary-color: #07a3e0;
    --second-color: #3c72bc;
    --third-color: #d1f8ff;
    --primary-text:#ffffff;
    --background-color: #f7f9fc;
    --menu-color: #252525;
    --menu-hover: #00aeef;
    --menu-text: #afafaf;
    --height-top:130px;
    --height-bottom:70px;
    --cr-grey: #e8e8e8;
}
.h100 {
    height: 100%;
    overflow: auto
}
.btn{
    cursor: pointer;
    /*border-radius: 50px;*/
    height: 45px;
    padding: 10px;
    /*border: 1px solid black;*/
    text-align: center;
    /*background: white;*/
    color: white;
    border-radius: 10px;
    margin:3px;
    background: linear-gradient(90deg,var(--primary-color),var(--second-color));
}
.btn:active {
    transform: scale(0.95); /* Reducir tamaño */
    background-color: #dfdfe0; /* Cambiar ligeramente el color */
}

.wauto{width: auto; }
.w100{ width: 100% !important;}
.h90{height: 90%;}
.w3-bold{ font-weight: bold;}

.w3-input,.w3-select {
    border: 2px solid #9ec6f3;
    border-radius: 25px; /* Bordes redondeados */
    transition: border-color 0.3s ease;
    padding: 2px 8px !important;
}

.w3-input:focus,.w3-input:active, .w3-select:focus,.w3-select:active{
    border-color: #007BFF !important ;
    outline: none;
}


input:read-only, textArea:read-only,
input:disabled,textArea:disabled,select:disabled{background: #4d4c4c;color:#ffffff;}

.primary_color{
    color:var(--primary_color_text)!important;
    background: var(--primary_color);
}
.second_color{
    color: var(--second_color_text);
    background: var(--second_color);
}



input[type="checkbox"].w3-check {
        appearance: none;         /* Oculta el diseño nativo del checkbox */
        -webkit-appearance: none;
        width: 28px;
        height: 28px;
        font-size: 20px;
        text-align: center;
        line-height: 28px;
        border: 2px solid #999;
        border-radius: 4px;
        cursor: pointer;
        background-color: white;
        top: 0px;
    }

    input[type="checkbox"].w3-check:checked::before {
        content: "✔️";
        display: block;
    }

    input[type="checkbox"].w3-check:not(:checked)::before {
        content: "❌";
        display: block;
    }

    .Fondo_principal{
        background: linear-gradient(90deg,var(--primary-color),var(--second-color));
        color: var(--primary-text);
    }

    table{
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        box-shadow:3px 4px 10px 0 rgba(0,0,0,0.2)
    }
    table thead tr{
        background: linear-gradient(90deg,var(--primary-color),var(--second-color));
        color: var(--primary-text);
        font-size: 12px;
        border-radius: 50px;
    }
    table thead tr th{
        text-transform: uppercase;
        font-weight: bold;
    }
    /* Esquinas superiores redondeadas */
    table thead th:first-child {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }
    table thead th:last-child {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }
    table tbody tr{
        border-bottom: 1px solid #f1f1f1;
    }
    td,th{
        padding: 10px 8px;
    }

    .cr-titulo{
        text-transform: uppercase;
        font-size: 36px;
        font-weight: bold;
        color:var(--second-color)
    }
    .cr-subtitulo{
        text-transform: capitalize;
        font-size: 24px;
        font-weight: bold;
        color:var(--second-color)
    }
    .cr-panelfForm{
        background-color: var(--cr-grey);
        border-radius:8px;
        border:1px solid black!important;

    }