/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark-gray: #282828;
    --input-gray: #3A3A3A;
    --white: #FFFFFF;
    --light-gray: #AAAAAA;
    --medium-gray: #888888;
    --neon-green: #66FF00;
    --lime-green: #66FF00;
    --lime-green-dark: #55DD00;
    --lime-green-darker: #44BB00;
    --lime-green-light: #77FF33;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--black);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

/* Background image for auth pages */
body.auth-page {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Brand Colors */
.brand-lime {
    color: var(--neon-green);
}

.brand-white {
    color: var(--white);
}

/* Auth Card */
.auth-card {
    background-color: rgba(40, 40, 40, 0.95);
    border: none;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Auth Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo-text {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
}

.logo-hrms {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--medium-gray);
    letter-spacing: 0.2em;
    margin-left: 8px;
    text-transform: uppercase;
}

.form-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 8px;
    font-size: 2em;
    font-weight: bold;
}

.form-subtitle {
    color: var(--light-gray);
    text-align: left;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    align-items: start;
}

.form-row .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 82%;
}

.form-group label {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1em;
}

.form-group input {
    background-color: var(--input-gray);
    border: 1px solid transparent;
    color: var(--white);
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--white);
    background-color: var(--input-gray);
}

.form-group input::placeholder {
    color: var(--medium-gray);
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    margin-top: -10px;
    margin-bottom: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--white);
    font-size: 0.95rem;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--neon-green);
    background-color: var(--input-gray);
    border: 2px solid var(--medium-gray);
    border-radius: 4px;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--neon-green);
    border-color: var(--neon-green);
}

.checkbox-label span {
    color: var(--white);
    font-weight: 500;
}

.form-group select {
    background-color: var(--input-gray);
    border: 1px solid transparent;
    color: var(--white);
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23AAAAAA' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--white);
    background-color: var(--input-gray);
}

.form-group select option {
    background-color: var(--input-gray);
    color: var(--white);
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.password-toggle:hover {
    opacity: 0.8;
}

/* Professional Eye Icon */
.eye-icon {
    width: 20px;
    height: 20px;
    display: block;
    position: relative;
}

/* Open Eye Icon (Show Password) */
.eye-open::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 12px;
    border: 2px solid var(--medium-gray);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 2px;
    left: 0;
    transition: border-color 0.3s ease;
}

.eye-open::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    top: 5px;
    left: 6px;
    transition: background-color 0.3s ease;
}

.password-toggle:hover .eye-open::before,
.password-toggle:hover .eye-open::after {
    border-color: var(--white);
    background-color: var(--white);
}

/* Closed Eye Icon (Hide Password) */
.eye-closed::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 12px;
    border: 2px solid var(--medium-gray);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 2px;
    left: 0;
    transition: border-color 0.3s ease;
}

.eye-closed::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--medium-gray);
    top: 7px;
    left: -1px;
    transform: rotate(-45deg);
    transition: background-color 0.3s ease;
}

.password-toggle:hover .eye-closed::before,
.password-toggle:hover .eye-closed::after {
    border-color: var(--white);
    background-color: var(--white);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    background-color: var(--neon-green);
    color: var(--black);
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    width: 100%;
}

.btn:hover {
    background-color: var(--lime-green-light);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--neon-green);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--lime-green-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--lime-green);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Check-In/Check-Out Buttons - Ensure Lime Green Color */
#checkInBtn,
#checkOutBtn,
#checkInBtnAttendance,
#checkOutBtnAttendance {
    background-color: var(--lime-green-darker);
    color: var(--black);
    font-weight: bold;
}

#checkInBtn:hover,
#checkOutBtn:hover,
#checkInBtnAttendance:hover,
#checkOutBtnAttendance:hover {
    background-color: var(--lime-green-dark);
    color: var(--black);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Error Message */
.error-message {
    color: #ff4444;
    background-color: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    padding: 12px;
    border-radius: 5px;
    display: none;
    font-size: 0.9rem;
}

.error-message.show {
    display: block;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    color: var(--light-gray);
}

.auth-footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--black);
    position: relative;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background-color: var(--dark-gray);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    border-right: 1px solid rgba(102, 255, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header .brand-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.sidebar-header .brand-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--medium-gray);
    margin-left: 8px;
    text-transform: uppercase;
}

.sidebar-action-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--neon-green);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.sidebar-action-btn:hover {
    background-color: var(--lime-green-light);
}

.sidebar-action-btn .icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--light-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background-color: rgba(102, 255, 0, 0.1);
    color: var(--white);
}

.nav-item.active {
    background-color: rgba(102, 255, 0, 0.15);
    color: var(--neon-green);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background-color: var(--neon-green);
    border-radius: 0 2px 2px 0;
}

.nav-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    flex-shrink: 0;
}

.nav-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Professional Icons - Navigation */
.nav-icon {
    position: relative;
}

.icon-chart {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top: none;
    border-right: none;
    display: block;
    position: relative;
}

.icon-chart::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: currentColor;
    bottom: 2px;
    left: 2px;
    border-radius: 1px;
}

.icon-users {
    width: 18px;
    height: 12px;
    display: block;
    position: relative;
}

.icon-users::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    left: 0;
    top: 2px;
}

.icon-users::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
    right: 0;
    top: 2px;
}

.icon-list {
    width: 18px;
    height: 14px;
    display: block;
    position: relative;
}

.icon-list::before,
.icon-list::after {
    content: '';
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
}

.icon-list::before {
    top: 0;
}

.icon-list::after {
    top: 6px;
    width: 12px;
}

.icon-user {
    width: 12px;
    height: 16px;
    display: block;
    position: relative;
    margin: 0 auto;
}

.icon-user::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 0;
    left: 0;
}

.icon-user::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 8px;
    border: 2px solid currentColor;
    border-top: none;
    border-radius: 0 0 7px 7px;
    bottom: 0;
    left: -2px;
}

.icon-settings {
    width: 16px;
    height: 16px;
    display: block;
    position: relative;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-settings::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: currentColor;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    box-shadow: 0 3px 0 currentColor, 0 6px 0 currentColor, 0 9px 0 currentColor;
}

/* Professional Icons - Summary Cards */
.card-icon {
    position: relative;
}

.icon-calendar {
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-radius: 3px;
    display: block;
    position: relative;
}

.icon-calendar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: currentColor;
    top: 4px;
    left: 0;
}

.icon-check {
    width: 18px;
    height: 12px;
    display: block;
    position: relative;
}

.icon-check::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 5px;
    border: 2px solid currentColor;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    top: 2px;
    left: 2px;
}

.icon-clock {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: block;
    position: relative;
}

.icon-clock::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 5px;
    background: currentColor;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
}

.icon-x {
    width: 16px;
    height: 16px;
    display: block;
    position: relative;
}

.icon-x::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    top: 7px;
    left: 1px;
}

.icon-x::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: currentColor;
    transform: rotate(-45deg);
    top: 7px;
    left: 1px;
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--black);
    margin-left: 260px;
    width: calc(100% - 260px);
}

/* Top Header */
.dashboard-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 30px;
    background-color: var(--dark-gray);
    border-bottom: 1px solid rgba(102, 255, 0, 0.2);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--neon-green);
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-role {
    color: var(--light-gray);
    font-size: 0.85rem;
}

.logout-btn {
    padding: 0;
    background-color: transparent;
    border: none;
    color: var(--neon-green);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
}

.logout-btn:hover {
    color: var(--lime-green-light);
}

.logout-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.logout-btn:hover i {
    transform: translateX(2px);
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* Page Content */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.page-subtitle {
    color: var(--light-gray);
    font-size: 1rem;
}

.status-card {
    background-color: var(--dark-gray);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.status-content {
    color: var(--white);
    line-height: 1.8;
}

.status-content p {
    margin-bottom: 10px;
}

.status-content strong {
    color: var(--neon-green);
}

/* Summary Cards */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background-color: var(--dark-gray);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
    position: relative;
}

.card-menu {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--medium-gray);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.card-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 5px;
}

.card-label {
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Action Cards Row */
.action-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.action-card,
.info-card-modern {
    background-color: var(--dark-gray);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-title {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.working-hours-info {
    color: var(--white);
    line-height: 2;
}

.working-hours-info p {
    margin-bottom: 10px;
}

.working-hours-info strong {
    color: var(--neon-green);
}

/* Clock and Calendar Row */
.clock-calendar-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Analog Clock Styles */
.clock-card {
    background-color: var(--dark-gray);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.analog-clock-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.clock-canvas {
    background-color: transparent;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 30px rgba(102, 255, 0, 0.2), 0 4px 15px rgba(0, 0, 0, 0.1);
}

.digital-time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.clock-time-12h {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-green);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.clock-date {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.clock-timezone {
    font-size: 0.85rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Calendar Styles - Small */
.calendar-card-small {
    background-color: var(--dark-gray);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.calendar-container-small {
    margin-top: 10px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    color: var(--white);
}

.calendar-nav-btn {
    background-color: var(--input-gray);
    border: none;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background-color: var(--neon-green);
    color: var(--black);
}

.calendar-month-year {
    font-weight: 600;
    font-size: 0.95rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.calendar-weekday {
    text-align: center;
    color: var(--light-gray);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 6px 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: var(--white);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--input-gray);
    padding: 4px;
    position: relative;
}

.calendar-day.off-day {
    background-color: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    font-weight: 600;
}

.calendar-day.off-day::after {
    content: 'Holiday';
    position: absolute;
    bottom: 2px;
    font-size: 0.55rem;
    font-weight: 600;
    color: #ff4444;
}

.calendar-day.today {
    background-color: var(--neon-green);
    color: var(--black);
    font-weight: bold;
}

.calendar-day.today.off-day::after {
    color: var(--black);
}

.calendar-day.other-month {
    color: var(--medium-gray);
    opacity: 0.5;
}

.calendar-day:hover:not(.off-day):not(.other-month) {
    background-color: rgba(102, 255, 0, 0.2);
}

/* Attendance Actions */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.action-buttons .btn {
    flex: 1;
}

.off-day-message {
    background-color: rgba(255, 255, 0, 0.1);
    border: 1px solid #ffff00;
    color: #ffff00;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
    font-weight: 600;
}

.off-day-message.show {
    display: block;
}

.attendance-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    font-weight: 600;
}

.attendance-message.show {
    display: block;
}

.attendance-message.success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--lime-green);
    color: var(--lime-green);
}

.attendance-message.error {
    background-color: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

/* Table Section Modern */
.table-section-modern {
    margin-bottom: 30px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-header .filter-buttons {
    display: flex;
    gap: 10px;
}

.table-header .filter-btn {
    padding: 8px 16px;
    background-color: var(--input-gray);
    border: 1px solid transparent;
    color: var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.table-header .filter-btn:hover {
    background-color: rgba(102, 255, 0, 0.1);
    color: var(--neon-green);
}

.table-header .filter-btn.active,
.filter-btn-records.active {
    background-color: var(--lime-green-darker);
    color: var(--black);
    border-color: var(--lime-green-darker);
}

.filter-btn-records {
    padding: 8px 16px;
    background-color: var(--input-gray);
    border: 1px solid transparent;
    color: var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn-records:hover {
    background-color: rgba(102, 255, 0, 0.1);
    color: var(--neon-green);
}

.table-card-modern {
    background-color: var(--dark-gray);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}

.attendance-table {
    width: 100%;
    border-collapse: collapse;
}

.attendance-table thead {
    background-color: transparent;
}

.attendance-table th {
    color: var(--light-gray);
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.attendance-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.attendance-table tbody tr:hover {
    background-color: rgba(102, 255, 0, 0.05);
}

/* Status Badges */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-present {
    background-color: rgba(0, 255, 0, 0.2);
    color: var(--lime-green);
    border: 1px solid var(--lime-green);
}

.status-late {
    background-color: rgba(255, 255, 0, 0.2);
    color: #ffff00;
    border: 1px solid #ffff00;
}

.status-early {
    background-color: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid #ffa500;
}

.status-absent {
    background-color: rgba(255, 68, 68, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

.status-offday {
    background-color: rgba(128, 128, 128, 0.2);
    color: #808080;
    border: 1px solid #808080;
}

/* Remove footer from dashboard */
.dashboard-wrapper .footer {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .dashboard-wrapper {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 15px;
        position: relative;
        height: auto;
    }

    .dashboard-main {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-nav {
        flex-direction: row;
        gap: 10px;
    }

    .summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-cards-row {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .dashboard-header {
        padding: 15px;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .attendance-table {
        font-size: 0.85rem;
    }

    .attendance-table th,
    .attendance-table td {
        padding: 10px 5px;
    }
}
