/*
*******************************************
*******************************************

** - Default CSS
** - Employee Login Area CSS
** - Employee Dashboard Area CSS
** - Attendance Form Area CSS
** - Attendance Sheet Area CSS
** - Employee Details
** - Daily Work Staus 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;
}

:focus {
    outline: 0 !important;
}

/*================================================
Employee Login Area CSS
=================================================*/

.employee-login-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../img/modern-office.jpg) no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.employee-login-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.employee-login-form,
.admin-login-form {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 30px;
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
}

.employee-login-form h2,
.admin-login-form h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 1px 1px 2px #000;
}

.employee-form-label,
.admin-form-label {
    color: #fff;
    text-shadow: 0.5px 0.5px 1px #000;
}

.employee-form-control,
.admin-form-control {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    margin-top: 15px;
}

.employee-form-control::placeholder,
.admin-form-control::placeholder {
    color: #eee;
}

.employee-form-control:focus,
.admin-form-control:focus {
    background: transparent;
    color: #fff;
}

.emp-login-btn,
.admin-login-btn {
    width: 100%;
    height: 40px;
    background-color: #fc308b;
    color: #fff;
    font-weight: bold;
    border: 2px solid #fff;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
}

/* Eye icon */

.password-container {
    position: relative;
}

.eye-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ccc;
}

.eye-icon:hover {
    color: #fff;
}

@media screen and (max-width: 768px) {
    .employee-login-form {
        padding: 20px;
    }

    .form-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 468px) {
    .employee-login-form {
        padding: 25px;
        width: 100%;
        max-width: 350px;
    }

    .employee-form-control {
        font-size: 0.95rem;
    }

    .emp-login-btn {
        font-size: 0.9rem;
        height: 36px;
    }
}

@media screen and (max-width: 360px) {
    .employee-login-form {
        max-width: 320px;
    }
}

/*================================================
Employee Dashboard Area CSS
=================================================*/
#Navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 999;
    background-color: gainsboro;
    backdrop-filter: blur(10px);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.website-name {
    display: flex;
    align-items: center;
}

.website-name img {
    width: 35px;
    height: 35px;
}

.logo-style {
    color: rgb(3, 3, 167);
    font-size: 30px;
    padding-top: 10px;
}

.employee-dashboard-section {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background: url(../img/modern-office.jpg) no-repeat center center/cover;
    position: relative;
}

.employee-dashboard-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.dashboard {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    animation: fadeIn 1s ease-in-out;
}

.dashboard-title {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 40px;
    color: #fff;
}

.dashboard-title h1 {
    font-size: 42px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.dashboard-card-option {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid #dee2e6;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.dashboard-card-option i {
    font-size: 48px;
    margin-bottom: 15px;
    color: orange;
    text-shadow: 1px 1px 2px #000;
}

.dashboard-card-option h5 {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
    text-shadow: 1px 1px 2px #000;
}

.dashboard-card-option:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
    .dashboard {
        max-width: 90%;
        padding: 0 20px;
    }

    .dashboard-title h1 {
        font-size: 32px;
    }

    .dashboard-card-option {
        padding: 20px 15px;
        border-radius: 12px;
    }

    .dashboard-card-option i {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .dashboard-card-option h5 {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .employee-dashboard-section {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }

    .dashboard {
        max-width: 95%;
        padding: 0 10px;
    }

    .dashboard-title {
        margin-bottom: 30px;
    }

    .dashboard-title h1 {
        font-size: 24px;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    }

    .dashboard-card-option {
        padding: 15px 10px;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .dashboard-card-option i {
        font-size: 30px;
        margin-bottom: 8px;
    }

    .dashboard-card-option h5 {
        font-size: 14px;
    }

    .dashboard-card-option:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    .website-name img {
        width: 25px;
        height: 25px;
    }

    .logo-style {
        font-size: 22px;
    }
}

/*================================================
Attendance Form Area CSS
=================================================*/

.attendanceform_section {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background: url(../img/modern-office.jpg) no-repeat center center/cover;
    position: relative;
}

.attendanceform_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.attendanceform_section_details {
    background: transparent;
    backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 2px solid rgba(255, 255, 255, .2);
}

.employee_details input {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgb(192, 178, 178) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}

#employeeDisplayName {
    color: orange;
    text-shadow: 1px 1px 2px #000;
    font-family: "Pacifico", cursive;
    font-style: normal;
}

.attendance-form-label {
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

.attendance-form-btn .signin-btn {
    background-color: rgb(25, 194, 25);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 1px 1px 2px #000;
    border: none;
}

.attendance-form-btn .signout-btn {
    background-color: #f15a66;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 1px 1px 2px #000;
    border: none;
}

.attendance-form-btn .signin-btn:hover {
    border: 2px solid rgb(25, 194, 25);
    background-color: #fff;
    color: rgb(25, 194, 25);
    text-shadow: none;
}

.attendance-form-btn .signout-btn:hover {
    border: 2px solid #f15a66;
    background-color: #fff;
    color: #f15a66;
    text-shadow: none;
}

.time-box {
    font-size: 1.1rem;
    color: #fff;
}

.status-present {
    color: green;
    font-weight: bold;
}

.status-absent {
    color: red;
    font-weight: bold;
}

.attendance-form-btn .save-btn {
    width: 25%;
    height: 40px;
    border-radius: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    text-shadow: 1px 1px 2px #000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.attendance-form-btn .save-btn:hover {
    border: 2px solid #007bff;
    background-color: #fff;
    color: #007bff;
    text-shadow: none;
    font-weight: 700;
}

#reasonSection {
    display: none;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: none !important;
    border-color: #86b7fe;
}

.profile-img {
    width: 150px;
    height: 220px;
    border: 3px solid #007bff;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#reasonSection textarea {
    background: transparent !important;
    border: 2px solid rgb(192, 178, 178) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: #fff !important;
}

#reasonSection textarea::placeholder {
    color: #fff;
}

@media screen and (max-width: 768px) {
    .attendanceform_section {
        height: auto;
    }
}

/*================================================
Attendance Sheet Area CSS
=================================================*/

.attendance_sheet_section {
    width: 100%;
    height: 100vh;
    display: grid;
    place-items: center;
    background: url(../img/modern-office.jpg) no-repeat center center/cover;
    position: relative;
}

.attendance_sheet_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.website-name {
    display: flex;
    align-items: center;
}

.attendance-logo-style {
    color: #ffffff;
    font-size: 30px;
    padding-top: 10px;
    text-shadow: 1px 1px 2px #000;
}

.attendance_sheet_form {
    position: relative;
    z-index: 1;
    padding: 30px;
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(5px);
}

#currentTime {
    font-size: 16px;
    color: #333;
}

.attendance-table input {
    width: 35px;
    text-align: center;
    font-weight: 500;
}

.present {
    background-color: #28a745 !important;
    color: white;
}

.absent {
    background-color: #dc3545 !important;
    color: white;
}

.weekoff {
    background-color: #0d6efd !important;
    color: white;
}

.holiday {
    background-color: #ffc107 !important;
    color: black;
}

.month-selector {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 10px 20px;
}

.month-selector button {
    background-color: #ffcc80;
    color: #000;
    font-weight: bold;
    border: 1px solid #ddd;
    padding: 8px 0;
    transition: 0.2s;
}

.month-selector button:hover {
    background-color: #ffa726;
}

.noborder-input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
    font-weight: bold;
    color: #333;
}

.id-name-input {
    width: 150px !important;
    text-align: left;
}

.month-input {
    width: 140px !important;
}

.noborder-input {
    color: #fff !important;
    font-weight: 900;
}

.id-name-input,
.month-input {
    background: transparent !important;
    font-weight: bold;
}

.attendance-table th,
.attendance-table td {
    background-color: transparent !important;
    color: #fff;
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
}

.attendance-table th {
    color: white !important;
    text-align: center;
}

#attendance-body tr,
#attendance-body td {
    background-color: transparent !important;
    color: white;
}

#attendance-body input {
    background-color: transparent;
    border-radius: 3px;
    color: white;
    border: none;
}

.table-responsive {
    margin-top: 20px !important;
    max-height: 400px;
    overflow-y: auto;
}

.table-responsive::-webkit-scrollbar {
    width: 10px;
}

.table-responsive::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;
    border: 2px solid #ffffff44;
}

.table-responsive {
    scrollbar-width: thin;
    scrollbar-color: grey transparent;
}

.attendance-table td:not(:nth-child(n+6)):not(:nth-last-child(-n+3)) input {
    width: 180px;
}

.attendance-table th:last-child,
.attendance-table td:last-child,
.attendance-table th:nth-last-child(2),
.attendance-table td:nth-last-child(2),
.attendance-table th:nth-last-child(3),
.attendance-table td:nth-last-child(3) {
    width: 160px;
}

.day-input {
    width: 50px !important;
    padding: 2px;
    font-weight: bold;
    text-align: center;
}

.noborder-input {
    border: none;
    background: transparent;
    color: white;
}

.attendance-logo-style {
    font-size: 28px;
    font-weight: bold;
}

.no-click {
    pointer-events: none;
    cursor: default !important;
    opacity: 0.9;
}

.attendance-save-btn {
    display: grid;
    place-items: center;
    padding: 10px 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .attendance_sheet_section {
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 10px;
    }

    .month-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .attendance_sheet_form {
        max-width: 400px;
        padding: 20px;
    }

    .id-name-input {
        width: 120px !important;
    }

    .month-input {
        width: 110px !important;
    }

    .attendance-table input {
        width: 30px;
    }
}

@media (max-width: 586px) {
    .month-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }

    .attendance_sheet_form {
        max-width: 350px;
        padding: 15px;
    }

    .id-name-input {
        width: 100px !important;
    }

    .month-input {
        width: 90px !important;
    }

    .attendance-table input {
        width: 25px;
    }

    .attendance-logo-style {
        font-size: 24px;
    }
}

@media (max-width: 400px) {
    .attendance_sheet_section {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }

    .month-selector {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .month-selector button {
        padding: 6px 0;
        font-size: 14px;
    }

    .attendance_sheet_form {
        max-width: 350px;
        padding: 10px;
    }

    .id-name-input {
        width: 80px !important;
    }

    .month-input {
        width: 70px !important;
    }

    .attendance-table input {
        width: 20px;
        font-size: 12px;
    }

    .attendance-logo-style {
        font-size: 20px;
    }

    .attendance-table th,
    .attendance-table td {
        font-size: 12px;
        padding: 5px;
    }

    .table-responsive {
        max-height: 300px;
    }

    #currentTime {
        font-size: 14px;
    }
}

@media (max-width: 372px) {
    .attendance_sheet_form {
        max-width: 300px;
    }
}

@media (max-width: 318px) {
    .attendance_sheet_form {
        max-width: 280px;
    }
}

@media (max-width: 300px) {
    .attendance_sheet_form {
        max-width: 250px;
    }
}

@media (max-width: 269px) {
    .attendance_sheet_form {
        max-width: 200px;
    }
}

/*================================================
Employee Details CSS
=================================================*/

.employee_details_section {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background-image: url('../img/modern-office.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


.employee_details_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.ed_employee-card {
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: rgba(0, 0, 0, 0.35) 0 5px 15px;
    color: white;
}

.ed_employee-profile {
    padding: 2rem;
    text-align: center;
    flex: 1 1 35%;
    background-color: transparent;
    color: white;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.02);
}

.ed_employee-profile img {
    width: 140px;
    height: 200px;
    border-radius: 10px;
    border: 2px solid orange;
    margin-bottom: 1rem;
}

.ed_employee-profile h2 {
    font-size: 1.8rem;
    font-weight: bold;
}

.ed_employee-profile h2 span {
    color: orange;
}

.ed_employee-profile .ed_profile-section-title {
    margin-top: 1rem;
    border-bottom: 2px solid #fff;
    display: inline-block;
    margin-bottom: 1rem;
    font-weight: bold;
}

.ed_employee-profile p {
    margin: 0.3rem 0;
}

.ed_employee-details {
    flex: 1 1 65%;
    padding: 2rem;
}

.ed_details-section-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: orange;
    margin-bottom: 0.5rem;
}

.ed_skill-level span {
    font-size: 1.2rem;
    color: orange;
    margin-right: 4px;
}

.ed_skill-level span.inactive {
    color: #ccc;
}

.ed_social-icons i {
    font-size: 1.4rem;
    margin-right: 10px;
    color: white;
    cursor: pointer;
}

ul {
    padding-left: 1rem;
}

.ed_carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.ed_prev-btn,
.ed_next-btn {
    position: relative;
    z-index: 2;
    background-color: orange;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ed_prev-btn:hover,
.ed_next-btn:hover {
    background-color: orange;
}

.ed_prev-btn i,
.ed_next-btn i {
    color: #fff;
}

@media (max-width: 768px) {

    .ed_employee-card {
        flex-direction: column;
    }

    .ed_employee-details,
    .ed_employee-profile {
        padding: 1rem;
    }

    .ed_carousel-controls {
        gap: 0.5rem;
    }

    .ed_prev-btn,
    .ed_next-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/*================================================
Daily Work Staus CSS
=================================================*/

.workstatus_section {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: url(../img/modern-office.jpg) no-repeat center center/cover;
    background-attachment: fixed; /* Make background image fixed */
    position: relative;
}

.workstatus_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.workstatus_section_details {
    background: transparent;
    backdrop-filter: blur(5px);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 2px solid rgba(255, 255, 255, .2);
}

.work_details input,
.work_details textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid rgb(192, 178, 178) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}

.work_details textarea {
    border: 2px solid rgb(192, 178, 178) !important;
    border-radius: 10px !important;
}

.work_details textarea::placeholder,
.work_details input::placeholder {
    color: #fff !important;
}

#employeeDisplayName {
    color: orange;
    text-shadow: 1px 1px 2px #000;
    font-family: "Pacifico", cursive;
    font-style: normal;
}

.work-status-form-label {
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

.work-status-btn .save-btn {
    width: 25%;
    height: 40px;
    border-radius: 10px;
    background-color: green;
    color: white;
    border: none;
    text-shadow: 1px 1px 2px000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.work-status-btn .save-btn:hover {
    border: 2px solid orange;
    background-color: #fff;
    color: orange;
    text-shadow: none;
    font-weight: 700;
}

input:focus,
textarea:focus {
    background: transparent !important;
    outline: none;
    box-shadow: none !important;
    border-color: #86b7fe !important;
}

.ws_profile-img {
    width: 150px;
    height: 220px;
    border: 3px solid orange;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#status {
    border: none !important;
    box-shadow: none !important;
}

/* White calendar icon in date input */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) !important;
}


@media screen and (max-width: 768px) {
    .workstatus_section {
        height: auto;
    }
}