﻿body {
    margin: 0;
    padding: 0;
    font-family: 'popins', sans-serif;
    background-color: #f8f9fa;
    font-size: 12px;
}

/* -----------login page ------------*/
.background-gredient {
    background-color: hsl(218, 41%, 15%);
    background-image: radial-gradient(650px circle at 0% 0%, hsl(280, 1%, 40%) 15%, hsl(280, 1%, 30%) 35%, hsl(280, 1%, 20%) 75%, hsl(280, 1%, 19%) 80%,
    /* hsl(280, 1%, 45%); */
    transparent 100%), radial-gradient(1250px circle at 100% 100%, hsl(280, 1%, 45%) 15%, hsl(280, 1%, 30%) 35%, hsl(280, 1%, 20%) 75%, hsl(280, 1%, 19%) 80%, transparent 100%);
}

.btnLogin {
    background: #99c221;
    color: #fff;
}

    .btnLogin:hover {
        background: transparent;
        border: 1px solid #99c221;
        color: #99c221;
    }

.inputclass {
    width: 100%;
    padding: 5px 30px 5px 10px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid grey;
    background-color: transparent;
    color: grey;
    outline: none;
}

    .inputclass:hover {
        color: #99c221;
        border-bottom: 2px solid #99c221;
    }

    .inputclass:focus {
        color: #99c221;
        border-bottom: 2px solid #99c221;
    }
      /* Divider with lines */
    .divider {
      display: flex;
      align-items: center;
      text-align: center;
      margin: 30px 0;
    }

    .divider::before,
    .divider::after {
      content: "";
      flex: 1;
      border-top: 1px solid #ccc;
    }

    .divider::before {
      margin-right: 10px;
    }

    .divider::after {
      margin-left: 10px;
    }

/* -----------login page ------------ */

.map-container {
   height: calc(100vh - 30vh);
    /*height: 60vh;*/
    width: 100%;
}

.form-control {
    font-size: 12px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 29vh);
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-align: center;
    z-index: 1;
}

.attendance-container {
    position: fixed;
    bottom: 75px;
    left: 5%;
    width: 90%;
    background: white;
    padding: 10px 22px;
    text-align: center;
    font-size: 16px;
    z-index: 2;
    border-radius: 15px;
    transform: translateY(100%) translateX(-50%);
    animation: slideUp 0.5s ease-out forwards;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

    .profile img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

.check-in-btn {
    width: 80px;
    height: 80px;
    background: #99c221;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.bottom-nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: grey;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    /*box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);*/
}

.nav-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
}

    .nav-item i {
        font-size: 20px;
        color: inherit;
    }

.bg-sd {
    background: #99c221;
}

.bg-grey {
    background: #808080;
}


/*.bg-light-sd{
            background:rgba(153, 194, 33, 0.5);
        }*/
.alert-success {
    --bs-alert-color: #99c221;
    --bs-alert-bg: background:rgba(153, 194, 33, 0.3);
    --bs-alert-border-color: #99c221;
    --bs-alert-link-color: background:rgba(153, 194, 33, 0.3);
}

/*loader section*/
#loader {
    position: fixed; /* Fixed position on the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.spinner {
    border: 4px solid rgba(153, 194, 33, 0.3);
    border-top: 4px solid #99c221;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .spinner {
        width: 50px;
        height: 50px;
    }
}
/*loader section*/
.table-sticky th {
    background-color: white;
    position: sticky;
    top: -1px;
    z-index: 0;
}

.table-responsive {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
}

/*change password page*/
input[value="Change Password"] {
    background-color: #99c221;
    color: #fff;
    border-radius: 10px;
    padding: 5px 25px;
    font-weight: 600;
    border: 1px solid #99c221;
}

input[value="Cancel"] {
    background-image: radial-gradient(650px circle at 0% 0%, hsl(280, 1%, 40%) 15%, hsl(280, 1%, 30%) 35%, hsl(280, 1%, 20%) 75%, hsl(280, 1%, 19%) 80%, transparent 100%), radial-gradient(1250px circle at 100% 100%, hsl(280, 1%, 45%) 15%, hsl(280, 1%, 30%) 35%, hsl(280, 1%, 20%) 75%, hsl(280, 1%, 19%) 80%, transparent 100%);
    color: #fff;
    border-radius: 10px;
    padding: 5px 25px;
    font-weight: 600;
    border: 1px solid hsl(280, 1%, 20%);
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 5px 30px 5px 10px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid grey;
    background-color: transparent;
    color: grey;
    outline: none;
}

    input[type="text"], input[type="password"]:hover {
        border-bottom: 2px solid #99c221;
        color: #99c221;
    }

.password-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #666;
}
    .toggle-password:hover {
        color: #99c221;
    }
/*change password page*/

