/*
==========================================================
APPLICATION LAYOUT
File: assets/css/app.css
==========================================================
*/

/* ==========================
   PAGE LAYOUT
========================== */

.wrapper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.main-content{
    flex:1;
    padding:20px;
}

/* ==========================
   CONTAINER
========================== */

.container-fluid{
    padding-left:20px;
    padding-right:20px;
}

/* ==========================
   PAGE HEADER
========================== */

.page-header{
    margin-bottom:20px;
    padding-bottom:10px;
    border-bottom:1px solid #d8e8dd;
}

.page-title{
    font-size:1.8rem;
    font-weight:600;
    color:#01796F;
}

.page-subtitle{
    color:#6c757d;
    font-size:.95rem;
}

/* ==========================
   BREADCRUMB
========================== */

.breadcrumb{
    background:#fff;
    padding:10px 15px;
    border-radius:8px;
}

.breadcrumb-item a{
    color:#01796F;
}

/* ==========================
   CONTENT
========================== */

.content{
    background:#fff;
    border-radius:10px;
    padding:20px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

/* ==========================
   SECTION TITLE
========================== */

.section-title{
    font-size:1.25rem;
    font-weight:600;
    color:#01796F;
    margin-bottom:15px;
}

/* ==========================
   LIST GROUP
========================== */

.list-group-item{
    border:1px solid #d8e8dd;
}

/* ==========================
   PAGINATION
========================== */

.pagination .page-link{
    color:#01796F;
}

.pagination .active .page-link{
    background:#01796F;
    border-color:#01796F;
}

/* ==========================
   SPINNER
========================== */

.loading{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

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

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

::-webkit-scrollbar-track{
    background:#eef7f1;
}

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

::-webkit-scrollbar-thumb:hover{
    background:#015e56;
}
/* ==========================
   PAGE BODY
========================== */

.page-body{
    margin-top:20px;
}

/* ==========================
   CONTENT HEADER
========================== */

.content-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    flex-wrap:wrap;
    gap:10px;
}

/* ==========================
   ACTION BUTTONS
========================== */

.action-buttons{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

/* ==========================
   PAGE DESCRIPTION
========================== */

.page-description{
    color:#6c757d;
    margin-bottom:20px;
}

/* ==========================
   DIVIDERS
========================== */

.divider{
    border-top:1px solid #d8e8dd;
    margin:20px 0;
}

/* ==========================
   EMPTY STATE
========================== */

.empty-state{
    text-align:center;
    padding:50px 20px;
    color:#6c757d;
}

.empty-state i{
    font-size:50px;
    color:#01796F;
    margin-bottom:15px;
}

/* ==========================
   PAGE LOADER
========================== */

.page-loader{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:250px;
}

/* ==========================
   STICKY HEADER
========================== */

.sticky-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:#fff;
}

/* ==========================
   HORIZONTAL RULE
========================== */

hr{
    border-color:#d8e8dd;
}

/* ==========================
   ANIMATIONS
========================== */

.fade-in{
    animation:fadeIn .3s ease-in-out;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

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

@media(max-width:768px){

    .content-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .action-buttons{
        width:100%;
    }

}