/* ===========================================================
   COMMON LAYOUT CSS
   Used For:
   1. Index Page
   2. Login Page
   3. Employee List Page
=========================================================== */

/* ================= HEADER ================= */


.main-header {
    background: #000;
}

.logo-row {
    background: #eaeef7;
    padding: 6px 0;
    border-bottom: 4px solid #0a3d62;
}

.dept-logo,
.gov-logo {
    height: 60px;
}

.dept-title {
    font-weight: bold;
    color: #c0392b;
    font-size: 22px;
    line-height: 30px;
}

.menu-row {
    background: #0a3d62;
}

.menu-row .navbar {
    padding: 10px 20px;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 10px 15px;
}

.navbar-nav .nav-link:hover {
    background: #f1c40f;
    color: #000 !important;
    border-radius: 4px;
}

.profile-btn {
    background: #27ae60;
    padding: 8px 15px;
    border-radius: 20px;
    color: #fff !important;
}


/* ================= LOGIN PAGE ================= */

.login-container {
    width: 320px;
    margin: 60px auto;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid rgba(45, 173, 255, 0.86);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.login-logo {
    width: 110px;
    margin-bottom: 30px;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    background: #e9edf3;
    border: none;
}

.captcha-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.captcha-img {
    background: #f3e8df;
    padding: 10px 20px;
    font-size: 22px;
    font-weight: bold;
    color: red;
    letter-spacing: 2px;
}

.btn-login {
    background: #1b83e6;
    color: #fff;
    border: none;
    width: 100%;
    height: 50px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.btn-login:hover {
    background: #c41468;
}


/* ================= DASHBOARD COMMON ================= */

.page_title span {
    font-size: 18px;
    font-weight: bold;
}

.counter_section {
    border-radius: 8px;
    padding: 15px;
    color: #fff;
}

.counter_no .total_no {
    font-size: 22px;
}

.white_shd {
    border-radius: 10px;
}


/* ================= EMPLOYEE TABLE PAGE ================= */

.table-section {
    padding: 40px 20px;
}

.table-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0a3d62;
    text-align: center;
}

.table thead {
    background-color: #1c8dde;
}

.table thead th {
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
}

.table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table tbody td {
    text-align: center;
    vertical-align: middle;
}


/* ================= FOOTER ================= */

.footer {
    background: #eeeeee;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: #000;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .dept-logo,
    .gov-logo {
        height: 60px;
    }

    .dept-title {
        font-size: 18px;
    }

    .login-container {
        width: 90%;
        padding: 30px 20px;
    }

    .table-title {
        font-size: 18px;
    }
}
