/* ==========================================================
   HASH VALIDATOR SYSTEM
   Professional Enterprise Theme
========================================================== */

/* ===========================
   Global
=========================== */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width:768px) {
    html {
        font-size:16px;
    }
}

body {

    margin-bottom:100px;

    background:#f5f7fb;

    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;

}

/* ===========================
   Focus
=========================== */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus{

    box-shadow:0 0 0 .2rem rgba(25,135,84,.25);

}

/* ===========================
   Floating Labels
=========================== */

.form-floating>.form-control::placeholder,
.form-floating>.form-control-plaintext::placeholder{

    color:var(--bs-secondary-color);

    text-align:end;

}

.form-floating>.form-control:focus::placeholder,
.form-floating>.form-control-plaintext:focus::placeholder{

    text-align:start;

}

/* ==========================================================
   NAVBAR
========================================================== */

.navbar{

    background:#198754 !important;

    box-shadow:0 3px 12px rgba(0,0,0,.15);

}

.navbar-brand{

    color:white !important;

    font-size:24px;

    font-weight:700;

}

.navbar-nav .nav-link{

    position:relative;

    color:white !important;

    padding:10px 18px;

    border-radius:8px;

    transition:all .35s ease;

    font-weight:500;

}

/* Hover */

.navbar-nav .nav-link:hover{

    color:#FFD43B !important;

    background:rgba(255,255,255,.12);

}

/* Icons */

.navbar-nav .nav-link i{

    margin-right:6px;

    transition:all .35s ease;

}

/* Icon Animation */

.navbar-nav .nav-link:hover i{

    transform:scale(1.35) rotate(10deg);

}

/* Underline Animation */

.navbar-nav .nav-link::after{

    content:"";

    position:absolute;

    bottom:2px;

    left:50%;

    width:0;

    height:3px;

    background:#FFD43B;

    border-radius:10px;

    transform:translateX(-50%);

    transition:.35s;

}

.navbar-nav .nav-link:hover::after{

    width:80%;

}

/* Click */

.navbar-nav .nav-link:active{

    transform:scale(.95);

}

/* ==========================================================
   DROPDOWN
========================================================== */

.dropdown-menu{

    border:none;

    border-radius:12px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

    animation:dropdown .25s ease;

}

@keyframes dropdown{

from{

opacity:0;

transform:translateY(-10px);

}

to{

opacity:1;

transform:translateY(0);

}

}

.dropdown-item{

    transition:.25s;

}

.dropdown-item:hover{

    background:#198754;

    color:white;

    padding-left:24px;

}

/* ==========================================================
   BUTTONS
========================================================== */

.btn-primary{

    background:#198754;

    border-color:#198754;

    transition:.3s;

}

.btn-primary:hover{

    background:#157347;

    border-color:#157347;

    transform:translateY(-2px);

}

.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover{

    transform:translateY(-2px);

}

/* ==========================================================
   CARDS
========================================================== */

.card{

    border:none;

    border-radius:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:0 12px 25px rgba(0,0,0,.15);

}

/* ==========================================================
   TABLES
========================================================== */

.table{

    background:white;

}

.table thead{

    background:#198754;

    color:white;

}

.table tbody tr:hover{

    background:#eef8f2;

}

/* ==========================================================
   BADGES
========================================================== */

.badge{

    font-size:.85rem;

    padding:8px 12px;

}

/* ==========================================================
   FOOTER
========================================================== */

.footer{

    margin-top:20px;

    padding:15px;

    background:#198754;

    color:white;

    text-align:center;

}

/* ==========================================================
   MAIN CONTENT
========================================================== */

main{

    min-height:auto;

    padding:25px;

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f1f1f1;

}

::-webkit-scrollbar-thumb{

    background:#198754;

    border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

    background:#157347;

}