/*
*******************************************
*******************************************

** - Default CSS

*******************************************
*******************************************
*/

/*================================================
Default CSS
=================================================*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Josefin Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

:active {
    outline: none;
    box-shadow: none; 
}

:focus {
    outline: none;
    box-shadow: none; 
}

::-webkit-scrollbar {
    width: 5px;
    height: 4px;
    cursor: pointer;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    cursor: pointer;
}

::-webkit-scrollbar-thumb {
    background-color: #002b40;
    border-radius: 10px;
    cursor: pointer;
}

:root {
    scroll-padding-top: 80px;
}

/*================================================
    Employee Login Page CSS
=================================================*/

.employee-login {
    background: #f5f7fb;
    overflow-x: hidden;
}

.employee-login .container-fluid {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.employee-login .login-card {
    height: 700px;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
    background: #fff;
}

.employee-login .left-panel {
    background: #ffffff;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.employee-login .logo {
    display: grid;
    place-items: center;
    padding-bottom: 40px;
}

.employee-login .logo img {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

.employee-login .subtitle {
    color: #6c757d;
    margin-bottom: 35px;
}

.employee-login .form-control {
    border-radius: 30px;
    padding: 14px 22px;
}

.employee-login .btn-login {
    background: linear-gradient(135deg, #6a11cb, #2575fc, #6a11cb);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 14px;
    border: none;
}

.employee-login .btn-login:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb, #2575fc);
    color: #fff;
}

.employee-login .form-control {
    border: none;
    outline: none;
    box-shadow: none;
    background: #f1f3f6;
    border-radius: 30px;
    padding: 14px 22px;
    transition: box-shadow 0.3s ease;
}

.employee-login .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(17, 128, 231, 0.4);
    background: #fff;
}

.employee-login .right-panel {
    position: relative;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.employee-login .login-right-side-img {
    position: relative;
    width: 100%;
    height: 100%;
}

.employee-login .login-right-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.employee-login .login-right-side-img:hover img {
    transform: scale(1.12);
}

.employee-login .login-right-side-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.employee-login .admin-overlay-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 40px;
    text-align: center;
}

.employee-login .admin-overlay-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px #000;
}

.employee-login .admin-overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px #000;
}

.employee-login .btn-admin-login {
    padding: 14px 36px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.employee-login .btn-admin-login:hover {
    background: transparent;
    border: 2px solid #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.employee-login .login-right-side-img::after {
    z-index: 1;
}

.employee-login .login-right-side-img img {
    z-index: 0;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
    font-size: 18px;
}

.toggle-password:hover {
    color: #1f83d4ff;
}

@media (max-width: 1200px) {
    .employee-login .login-card {
        height: 650px;
    }
}

@media (max-width: 992px) {
    .employee-login .login-card {
        height: auto;
    }

    .employee-login .right-panel {
        display: none;
    }

    .employee-login .left-panel {
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .employee-login .left-panel {
        padding: 30px 25px;
    }

    .employee-login h4 {
        font-size: 1.3rem;
    }

    .employee-login .form-control,
    .employee-login .btn-login {
        padding: 12px 18px;
    }
}

/*================================================
    Admin Login Page CSS
=================================================*/

.admin-login {
    background: #f5f7fb;
    overflow-x: hidden;
}

.admin-login .container-fluid {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.admin-login .login-card {
    height: 700px;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
    background: #fff;
}

.admin-login .left-panel {
    background: #ffffff;
    padding: 30px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.admin-login .logo {
    display: grid;
    place-items: center;
    padding-bottom: 40px;
}

.admin-login .logo img {
    width: 150px;
    height: 80px;
    object-fit: contain;
}

.admin-login .subtitle {
    color: #6c757d;
    margin-bottom: 35px;
}

.admin-login .form-control {
    border-radius: 30px;
    padding: 14px 22px;
}

.admin-login .btn-login {
    background: linear-gradient(135deg, #6a11cb, #2575fc, #6a11cb);
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 14px;
    border: none;
}

.admin-login .btn-login:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb, #2575fc);
    color: #fff;
}

.admin-login .form-control {
    border: none;
    outline: none;
    box-shadow: none;
    background: #f1f3f6;
    border-radius: 30px;
    padding: 14px 22px;
    transition: box-shadow 0.3s ease;
}

.admin-login .form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(17, 128, 231, 0.4);
    background: #fff;
}

.admin-login .right-panel {
    position: relative;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.admin-login .login-right-side-img {
    position: relative;
    width: 100%;
    height: 100%;
}

.admin-login .login-right-side-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.admin-login .login-right-side-img:hover img {
    transform: scale(1.12);
}

.admin-login .login-right-side-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.admin-login .employee-overlay-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    padding: 40px;
    text-align: center;
}

.admin-login .employee-overlay-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px #000;
}

.admin-login .employee-overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px #000;
}

.admin-login .btn-admin-login {
    padding: 14px 36px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-login .btn-admin-login:hover {
    background: transparent;
    border: 2px solid #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.admin-login .login-right-side-img::after {
    z-index: 1;
}

.admin-login .login-right-side-img img {
    z-index: 0;
}

@media (max-width: 1200px) {
    .admin-login .login-card {
        height: 650px;
    }
}

@media (max-width: 992px) {
    .admin-login .login-card {
        height: auto;
    }

    .admin-login .right-panel {
        display: none;
    }

    .admin-login .left-panel {
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .admin-login .left-panel {
        padding: 30px 25px;
    }

    .admin-login h4 {
        font-size: 1.3rem;
    }

    .admin-login .form-control,
    .admin-login .btn-login {
        padding: 12px 18px;
    }
}

/*================================================
    Employee Dashboard Page CSS
=================================================*/

.employee-dashboard {
    display: flex;
    height: 100vh !important;
    background: #f5f7fb;
}

.employee-dashboard .sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0; /* important */
    background: linear-gradient(180deg, #1e3c72, #2a5298);
    color: #fff;
    padding: 20px;
    transition: 0.35s ease;
    overflow-y: auto;
    scrollbar-width: none;
}

.employee-dashboard .sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.employee-dashboard .sidebar.hide {
    margin-left: -280px;
}

.employee-dashboard .profile {
    text-align: center;
    margin-bottom: 25px;
}

.employee-dashboard .profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 10px 0;
    border: 3px solid #fff;
}

.employee-dashboard .menu {
    list-style: none;
    padding: 0;
}

.employee-dashboard .menu li {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 6px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.25s ease;
}

.employee-dashboard .menu li a:focus,
.employee-dashboard .menu li a:active {
    outline: none;
    box-shadow: none; 
}

.employee-dashboard .menu li a {
    text-decoration: none;
    color: #fff;
}

.employee-dashboard .menu li i {
    font-size: 18px;
    min-width: 22px;
}

.employee-dashboard .menu li:hover,
.employee-dashboard .menu li.active {
    background: rgba(255, 255, 255, 0.25);
}

.employee-dashboard .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 100% !important;
    overflow-y: auto;   /* scroll here */
    overflow-x: hidden;
}

.employee-dashboard .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border: none;
    background: #fff;
    padding: 15px 12px 5px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.employee-dashboard .menu-btn {
    border: none !important;
    background: transparent;
    font-size: 25px;
    color: rgb(25, 101, 163);
    outline: none;
}

.employee-dashboard .menu-btn:focus,
.employee-dashboard .menu-btn:active {
    outline: none;
    box-shadow: none; 
}

.employee-dashboard .topbar img {
    width: 100px;
    height: 50px;
}

@media (max-width: 576px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        z-index: 1000;
        margin-left: -280px;
    }

    .sidebar.show {
        margin-left: 0;
    }
}

@media (max-width: 992px) and (orientation: landscape) {
    .sidebar {
        position: relative;
        margin-left: 0;
    }
}

/* Timing */

.world-timing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1px 0 10px 0;
}

.world-timing .timing-box {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.world-timing .time-card {
    text-align: start;
}

.world-timing .country {
    font-size: 16px;
    opacity: .8;
}

.world-timing .time {
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

@media (max-width: 576px) {

    .world-timing {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .world-timing .timing-box {
        justify-content: flex-end;
        gap: 15px;
        width: 100%;
        text-align: right;
    }

    .world-timing .time-card {
        text-align: right;
    }

    .world-timing .country {
        font-size: 12px;
    }

    .world-timing .time {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 999px) {
    .world-timing {
        flex-direction: column;
        align-items: flex-end;
    }

    .world-timing h3 {
        align-self: flex-start;
    }

    .world-timing .timing-box {
        gap: 30px;
    }
}

/* Welcome Text */

#welcomeText {
    font-weight: 600;
    min-height: 32px;
    white-space: normal;
    overflow: hidden;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0% {
        border-color: transparent;
    }

    50% {
        border-color: #0d6efd;
    }

    100% {
        border-color: transparent;
    }
}

@media (max-width: 576px) {
    #welcomeText {
        font-size: 15px;
        line-height: 22px;
    }
}

/*================================================
  footer Page CSS
=================================================*/

.dashboard-footer {
    font-size: 13px;
    color: #6c757d;
    background-color: transparent;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    display: inline-block;
    margin-left: 15px;
}

.footer-links a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #1985af;
}

