/* =========================
   GENERAL
========================= */

body{
    background: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
}

html,
body,
.app-wrapper,
.app-main,
.app-content{
    background: #ffffff !important;
}

.app-content{
    min-height: 100vh;
}


/* =========================
   SIDEBAR
========================= */

.app-sidebar{
    background: #0C3B5D !important;
    min-height: 100vh;

    transition:
        transform .35s ease,
        width .35s ease !important;
}

.sidebar-wrapper{
    transition: all .35s ease !important;
}

.sidebar-brand{
    background: #114d77 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    transition: all .35s ease !important;
}

.brand-text{
    color: white !important;
    font-weight: bold;
}

.app-sidebar .nav-link{
    color: #ffffff !important;
    border-radius: 8px;
    margin: 0 10px 5px 10px;
    padding: 10px 14px;

    transition:
        background-color .25s ease,
        transform .25s ease,
        padding-left .25s ease !important;
}

.app-sidebar .nav-link:hover{
    background: rgba(255,255,255,0.10);
    color: white !important;

    transform: translateX(5px);
}

.app-sidebar .nav-link.active{
    background: #41ADE7 !important;
    color: white !important;
}

.app-sidebar .nav-icon{
    margin-right: 8px;

    transition: transform .25s ease !important;
}

.app-sidebar .nav-link:hover .nav-icon{
    transform: scale(1.15);
}


/* =========================
   NAVBAR
========================= */

.app-header{
    background: #f8fafc !important;
    border-bottom: 1px solid #e5e7eb;

    transition:
        margin-left .35s ease !important;
}


/* =========================
   MAIN
========================= */

.app-main{
    transition:
        margin-left .35s ease !important;
}


/* =========================
   TITULOS
========================= */

h1,h2,h3,h4,h5{
    color: #111827;
    font-weight: bold;
}

.text-muted{
    color: #6b7280 !important;
}


/* =========================
   CARDS
========================= */

.card{
    border: none !important;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
}

.card-header{
    background: white;
    border-bottom: 1px solid #eee;
}


/* =========================
   TABLAS
========================= */

.table{
    margin-bottom: 0;
}

.table thead{
    background: #f9fafb;
}

.table thead th{
    border-bottom: none;
    color: #111827;
    font-weight: 600;
    padding: 14px;
}

.table tbody td{
    vertical-align: middle;
    padding: 14px;
}

.table-hover tbody tr:hover{
    background: #fafafa;
}


/* =========================
   BOTONES
========================= */

.btn{
    border-radius: 8px;
    font-weight: 500;
    padding: 8px 14px;
    transition: .2s;
}

.btn-primary{
    background: #41ADE7;
    border: none;
}

.btn-primary:hover{
    background: #2a9edb;
}

.btn-success{
    background: #198754;
    border: none;
}

.btn-success:hover{
    background: #157347;
}

.btn-warning{
    background: #ffc107;
    border: none;
    color: #000;
}

.btn-warning:hover{
    background: #e0a800;
    color: #000;
}

.btn-danger{
    border: none;
}

.btn-dark{
    background: #0C3B5D;
    border: none;
}

.btn-dark:hover{
    background: #114d77;
}


/* =========================
   BADGES
========================= */

.badge{
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}


/* =========================
   INPUTS
========================= */

.form-control,
.form-select{
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #d1d5db;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus{
    border-color: #41ADE7;
    box-shadow: 0 0 0 0.15rem rgba(65,173,231,.20) !important;
}


/* =========================
   ALERTAS
========================= */

.alert{
    border-radius: 12px;
    border: none;
}


/* =========================
   DOCUMENTOS
========================= */

.documento{
    background: white;
    border-radius: 10px;
}


/* =========================
   DASHBOARD CARDS
========================= */

.dashboard-card{
    border-radius: 18px;
    padding: 35px;
    color: white;
    position: relative;
    overflow: hidden;

    height: 230px;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 6px 18px rgba(0,0,0,0.12);

    transition: .25s;
}

.dashboard-card:hover{
    transform: translateY(-3px);
}

.dashboard-card > div{
    z-index: 2;
}

.dashboard-card h2{
    font-size: 56px;
    margin: 0;
    color: white;
    font-weight: bold;
}

.dashboard-card p{
    margin: 0;
    opacity: .95;
    font-size: 22px;
    font-weight: 500;

    min-height: 70px;

    display: flex;
    align-items: center;
}

.dashboard-card i{
    position: absolute;
    right: 25px;
    bottom: 20px;
    font-size: 70px;
    opacity: .20;
}


/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width: 8px;
}

::-webkit-scrollbar-thumb{
    background: #ccc;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover{
    background: #aaa;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width: 768px){

    .table thead{
        font-size: 13px;
    }

    .table tbody td{
        font-size: 13px;
    }

    .btn{
        font-size: 13px;
        padding: 7px 10px;
    }

    .dashboard-card{
        height: 200px;
        padding: 25px;
    }

    .dashboard-card h2{
        font-size: 42px;
    }

    .dashboard-card p{
        font-size: 18px;
    }

}

/* =========================
   ANIMACION COLAPSO SIDEBAR
========================= */

body.sidebar-collapse .app-sidebar{
    transition: margin-left .35s ease,
                transform .35s ease,
                width .35s ease !important;
}

body:not(.sidebar-collapse) .app-sidebar{
    transition: margin-left .35s ease,
                transform .35s ease,
                width .35s ease !important;
}

.app-sidebar{
    overflow-x: hidden;
}

/* CONTENIDO */

.app-main{
    transition: margin-left .35s ease !important;
}

.app-header{
    transition: margin-left .35s ease !important;
}