﻿body {
}
 

/*Layout section Design*/
:root {
    --primary-color: #4caf50;
    --primary-hover: #45a049;
    --danger-color: #f44336;
    --success-color: #4caf50;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --bg-light: #f5f5f5;
}

.sidebar .nav-link.active {
    background-color: #E6F4F0; /* Light green background */
    color: #26876A !important; /* Active text color */
    font-weight: 600;
}

    .sidebar .nav-link.active i {
        color: #26876A !important;
    }


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: var(--text-dark);
}

.submenu {
    display: none;
    padding-left: 35px;
}

    .submenu.show {
        display: block;
    }

.toggle-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

    .toggle-icon.rotate {
        transform: rotate(180deg);
    }


/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1.5rem;
}

.navbar-brand {
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark) !important;
}

.logo-box {
    width: 190px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
}

.company-name-main {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f44336;
    line-height: 1;
}

.company-name-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: #f44336;
    line-height: 1;
}

.search-container .input-group {
    max-width: 400px;
}

.search-container .form-control {
    border-radius: 6px;
    font-size: 0.95rem;
}

    .search-container .form-control::placeholder {
        color: #999;
    }


.user-avatar {
    width: 36px;
    height: 36px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #999;
}

/* Sidebar Styles */
.d-flex {
    display: flex;
}

.sidebar {
    width: 250px;
    min-height: calc(100vh - 80px);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: fixed;
    left: 0;
    top: 50px;
    bottom: 0px !important;
    overflow-y: auto;
}

.sidebar-nav .nav {
    padding: 0 1rem;
}

.sidebar-nav .nav-link {
    color: #222222;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600; /* Semibold */
    font-size: 15px;
}

    .sidebar-nav .nav-link i {
        width: 20px;
        text-align: center;
        color: #666;
    }

    .sidebar-nav .nav-link:hover {
        background-color: #f0f0f0;
        color: var(--text-dark);
    }

    .sidebar-nav .nav-link.active {
        background-color: #e8f5e9;
        color: var(--primary-color);
        font-weight: 600;
    }

        .sidebar-nav .nav-link.active i {
            color: var(--primary-color);
        }

.sidebar-nav .sub-link {
    padding-left: 3rem;
    font-size: 0.9rem;
}

/* Main Content Styles */
.main-content {
    margin-left: 250px;
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

    .main-content h2 {
        font-weight: 700;
        color: var(--text-dark);
        font-size: 1.75rem;
    }

/* Card Styles */
.card {
    border-radius: 8px;
    border: none;
}

.card-header {
    border-radius: 8px 8px 0 0;
}

    .card-header h5 {
        font-weight: 600;
        color: var(--text-dark);
    }

 

.text-info {
    color: #0066cc !important;
}

    .text-info:hover {
        color: #004a99 !important;
    }

/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 70px;
        right: 0;
        background: white;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .search-container {
        display: none !important;
    }

    .sidebar {
        width: 100%;
        min-height: auto;
        position: relative;
        top: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

        .sidebar.show {
            max-height: 500px;
        }

    .sidebar-nav .nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.5rem;
    }

    .sidebar-nav .nav-link {
        margin: 0.25rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }

        .main-content h2 {
            font-size: 1.5rem;
        }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-brand {
        font-size: 0.9rem;
    }

    .logo-box {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .company-name-main {
        font-size: 0.65rem;
    }

    .company-name-sub {
        font-size: 0.55rem;
    }

    .main-content {
        padding: 1rem;
    }

    .content-wrapper {
        padding: 1rem;
    }
 
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.8rem;
    }

    .logo-box {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .company-name-main {
        font-size: 0.6rem;
    }

    .company-name-sub {
        font-size: 0.5rem;
    }

    .main-content h2 {
        font-size: 1.25rem;
    }

    .main-content {
        padding: 0.75rem;
    }

    .content-wrapper {
        padding: 0.75rem;
    }

    .d-flex button.btn-outline-primary {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    /* Hide some columns on very small screens */
    .table thead th:nth-child(n+6),
    .table tbody td:nth-child(n+6) {
        display: none;
    }

    .sidebar-nav .nav {
        flex-direction: column;
    }

    .sidebar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}


/*Get Employee css design  */ 
html {
    overflow-x: hidden;
}

.search-group {
    position: relative;
    width: 100%;
}

    .search-group .search-input {
        width: 100%;
        padding: 10px 14px 10px 40px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 14px;
    }

    .search-group .search-icon {
        position: absolute;
        top: 50%;
        left: 12px;
        transform: translateY(-50%);
        color: #888;
        font-size: 14px;
    }

.table-container {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

th {
    font-weight: 600;
    font-size: 15px;
}

td {
    font-size: 14px;
}

.switch-btn {
    width: 45px;
    height: 22px;
    background: #d3d3d3;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: 0.2s;
}

    .switch-btn .circle {
        width: 18px;
        height: 18px;
        background: white;
        border-radius: 50%;
        position: absolute;
        top: 2px;
        left: 3px;
        transition: 0.2s;
    }

.switch-on {
    background: #4CAF50 !important;
}

    .switch-on .circle {
        left: 23px !important;
    }

.action-buttons {
    display: flex;
    gap: 10px;
}

.view-history-btn {
    background-color: #d6fff5; /* soft mint green */
    color: #167c63; /* dark green text */
    border: 1px solid #8de0cd; /* light green border */
    padding: 8px 22px;
    border-radius: 25px; /* rounded pill shape */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

    .view-history-btn:hover {
        background-color: #c0f7ec; /* slightly darker on hover */
        border-color: #75d9bf;
    }


.btn-edit {
    background: #2196F3;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
}

.btn-delete {
    background: #e53935;
    color: white;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
}




/* Edit Employee Design here*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}

.main-container {
    padding: 30px;
    margin-top: -40px;
}

.page-title {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.back-btn {
    font-size: 22px;
    margin-bottom: 20px;
    cursor: pointer;
}

.section-title {
    margin: 20px 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.grid-2-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.textarea {
    height: 105px;
    resize: none;
}

.profile-pic {
    margin: 20px 0;
}

    .profile-pic img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
    }

.btn-row {
    margin: 20px 0;
    display: flex;
    justify-content: flex-end;
}

.add-btn {
    background: #48c067;
    padding: 10px 25px;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.preview-box {
    background: #F3F3F3;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .preview-row p {
        font-size: 14px;
    }

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-2-inner {
        grid-template-columns: 1fr;
    }

    .btn-row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

 
/*dashbord style start here*/

.dashboard-header h2 {
    font-weight: 700;
}

.date-pill {
    background: #fff;
    padding: 8px 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-weight: 600;
}

/* Stat cards */
.stat-card {
    padding: 18px;
    border-radius: 14px;
    min-width: 140px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    flex: 1;
}

.stat-title {
    font-weight: 600;
    font-size: 14px;
}

.stat-value {
    font-size: 30px;
    font-weight: bold;
}

.stat-blue .stat-value {
    color: #2e86ff;
}

.stat-blue {
    background-color: #E6F1FF;
}

.stat-green .stat-value {
    color: #2ecc71;
}

.stat-green {
    background-color: #DDFFDE;
}

.stat-red .stat-value {
    color: #ff3b3b;
}

.stat-red {
    background-color: #FFEFEE;
}

.stat-orange .stat-value {
    color: #ff9800;
}

.stat-orange {
    background-color: #FFF1E2;
}

.stat-yellow .stat-value {
    color: #d4e157;
}

.stat-yellow {
    background-color: #F5FECD;
}

/* Panel Card */
.panel-card {
    border-radius: 14px;
    border: 1px solid #eee;
    background: #fff;
}

.panel-title {
    font-weight: 700;
    padding: 15px;
    font-size: 16px;
}

/* Legends */
.legend-dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.blue {
    background: #2e86ff;
}

.orange {
    background: #ff9800;
}

.green {
    background: #2ecc71;
}

/* Table */
.recent-table thead {
    background: #37a23f;
    color: white;
}

.recent-table th, .recent-table td {
    padding: 12px;
    font-weight:600;
}

@media (max-width: 992px) {
    .stat-card {
        flex: 1 1 45%;
    }
}

/*Employee Management Page Design css start here  */
 
html {
    overflow-x: hidden;
}

.search-group {
    position: relative;
    width: 100%;
}

.header-line {
    border: 0;
    border-top: 2px solid #000000 !important; /* dark black line */
    margin: 5px 0 15px 0;
}

.search-group .search-input {
    width: 100%;
    padding: 10px 14px 10px 40px; /* left padding for icon */
    border: 1px solid #ccc; /* grey border */
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
}

.search-group .search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #888; /* grey icon */
    font-size: 14px;
}

.leave-management-container {
    max-width: 100%;
}

.page-header {
    margin-top: 0 !important; /* Remove top big space */
    padding-top: 0 !important;
}

.header-line {
    border: 0;
    border-top: 1px solid #cccccc; /* light grey line */
    margin: 5px 0 15px 0; /* tighten spacing */
}


.page-title {
    margin-top: -20px !important;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.view-history-btn {
    background-color: #d6fff5; /* soft mint green */
    color: #167c63; /* dark green text */
    border: 1px solid #8de0cd; /* light green border */
    padding: 8px 22px;
    border-radius: 25px; /* rounded pill shape */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

    .view-history-btn:hover {
        background-color: #c0f7ec; /* slightly darker on hover */
        border-color: #75d9bf;
    }


.table-title {
    font: Montserrat;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.table-container {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
    overflow-x: hidden !important;
}

.leave-table thead {
    background-color: #f5f5f5;
}

.leave-table th {
    border-bottom: 2px solid #222222;
    font-weight: 600;
    color: #222222;
    padding: 6px;
    text-align: center;
    font-size: 15px;
    vertical-align: middle;
}

.leave-table td {
    padding: 10px;
    border-bottom: 1px solid #222222;
    color: #222222;
    font-size: 15px;
    vertical-align: middle;
    text-align: center;
    font-weight: 600;
}

.leave-table tbody tr:hover {
    background-color: #f9f9f9;
}

.row-number {
    color: #222222;
    font-weight: 500;
}

.view-link {
    color: #4398D3;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .view-link:hover {
        color: #4398D3;
        text-decoration: underline;
    }

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-reject, .btn-approve {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* Icon size */
    cursor: pointer;
    color: white;
}

.btn-reject {
    background-color: #e53935; /* red */
}

    .btn-reject:hover {
        background-color: #c62828;
    }

.btn-approve {
    background-color: #43a047; /* green */
}

    .btn-approve:hover {
        background-color: #388e3c;
    }


/* Responsive Design */
@media (max-width: 768px) {
    .leave-management-container {
        padding: 15px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .page-title {
        font-size: 22px;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .leave-table th,
    .leave-table td {
        padding: 10px;
        font-size: 12px;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .btn-action {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .leave-management-container {
        padding: 10px;
    }

    .page-title {
        font-size: 18px;
    }

    .table-title {
        font-size: 16px;
    }

    .leave-table th,
    .leave-table td {
        padding: 8px 5px;
        font-size: 11px;
    }

    .view-link {
        font-size: 12px;
    }

    .btn-action {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/*Add Employee Page Design css */
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}

.main-container {
    padding: 30px;
    margin-top: -40px;
}

.page-title {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.back-btn {
    font-size: 22px;
    margin-bottom: 20px;
    cursor: pointer;
}

.section-title {
    margin: 20px 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.grid-2-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.textarea {
    height: 105px;
    resize: none;
}

.profile-pic {
    margin: 20px 0;
}

    .profile-pic img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
    }

.btn-row {
    margin: 20px 0;
    display: flex;
    justify-content: flex-end;
}

.add-btn {
    background: #48c067;
    padding: 10px 25px;
    color: white;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.preview-box {
    background: #F3F3F3;
    padding: 20px;
    border-radius: 10px;
    margin-top: 10px;
}

.preview-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .preview-row p {
        font-size: 14px;
    }

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .grid-2-inner {
        grid-template-columns: 1fr;
    }

    .btn-row {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}


/*Location Tracking page Design style*/
 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #1a1a1a;
}

.container-main {
    padding: 24px;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 16px;
}

    .header h1 {
        font-size: 24px;
        font-weight: 600;
        color: #1a1a1a;
    }

.date-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a1a;
}

    .date-dropdown:hover {
        background-color: #f8f9fa;
    }

/* Main Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.card-section {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

/* Map Section */
.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #999;
}

.map-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #555;
}

.employee-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.98);
    padding: 12px 16px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 10;
}

.employee-info-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 14px;
}

.employee-info-role {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.map-pin {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    border: 2px solid white;
}

.pin-green {
    background-color: #4ade80;
}

.pin-red {
    background-color: #ef4444;
}

/* Table Section */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 0 12px;
    height: 40px;
}

    .search-box input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 14px;
        background-color: transparent;
        color: #1a1a1a;
    }

        .search-box input::placeholder {
            color: #999;
        }

.search-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #999;
}

.refresh-btn {
    background-color: #22c55e;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    transition: background-color 0.2s;
}

    .refresh-btn:hover {
        background-color: #16a34a;
        color: white;
        text-decoration: none;
    }

.refresh-icon {
    width: 16px;
    height: 16px;
}

/* Table Styles */
.employee-table {
    width: 100%;
    border-collapse: collapse;
}

    .employee-table thead {
       /* background-color: #f8f9fa;*/
        border-bottom: 1px solid #e8e8e8;
    }

    .employee-table th {
        padding: 12px 16px;
        text-align: left;
        font-weight: 600;
        font-size: 15px;
        /*color: #555;*/
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .employee-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 15px;
        color: #1a1a1a;
        font-weight: 600;
    }

    .employee-table tbody tr:hover {
        background-color: #f8f9fa;
    }

.view-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

    .view-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .container-main {
        padding: 16px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .table-header {
        flex-direction: column;
    }

    .employee-table {
        font-size: 12px;
    }

        .employee-table th,
        .employee-table td {
            padding: 8px 12px;
        }
}


/*Leave Histoyr css design */
 
html {
    overflow-x: hidden;
}

.search-group {
    position: relative;
    width: 100%;
}

.header-line {
    border: 0;
    border-top: 2px solid #000000 !important; /* dark black line */
    margin: 5px 0 15px 0;
}
/* Medium width search box */
.search-medium {
    width: 280px; /* adjust: 240px, 260px, 300px */
    margin: 0 auto; /* center align if needed */
}

/* Input fixed width inside */
.search-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #888;
}

/* Employee Info */
.emp-info {
    font-family: 'Montserrat', sans-serif;
}

.emp-name, .emp-designation {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* MONTH DROPDOWN (top right) */
.month-select {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* STATUS BADGES */
.status-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

    /* Approved – Green */
    .status-badge.approved {
        background-color: #ccf3dd;
        color: #0f8f4a;
    }

    /* Pending – Yellow */
    .status-badge.pending {
        background-color: #fff1c6;
        color: #c99700;
    }

    /* Rejected – Red */
    .status-badge.rejected {
        background-color: #ffd5d5;
        color: #d12323;
    }


/* Optional hover */
.month-select:hover {
    background-color: #f3f3f3;
}


.back-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
}

    .back-btn:hover {
        color: #000;
    }


.leave-management-container {
}

.page-header {
    margin-top: 0 !important; /* Remove top big space */
    padding-top: 0 !important;
}

.header-line {
    border: 0;
    border-top: 1px solid #cccccc; /* light grey line */
    margin: 5px 0 15px 0; /* tighten spacing */
}


.page-title {
    margin-top: -20px !important;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.view-history-btn {
    background-color: #d6fff5; /* soft mint green */
    color: #167c63; /* dark green text */
    border: 1px solid #8de0cd; /* light green border */
    padding: 8px 22px;
    border-radius: 25px; /* rounded pill shape */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

    .view-history-btn:hover {
        background-color: #c0f7ec; /* slightly darker on hover */
        border-color: #75d9bf;
    }


.table-title {
    font: Montserrat;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.table-container {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 5px;
    overflow-x: hidden !important;
}

.leave-table thead {
    background-color: #f5f5f5;
}

.leave-table th {
    border-bottom: 2px solid #222222;
    font-weight: 600;
    color: #222222;
    padding: 6px;
    text-align: left;
    font-size: 16px;
    vertical-align: middle;
    white-space: nowrap; /* Prevents awkward wrapping */
}

.leave-table td {
    padding: 15px;
    border-bottom: 1px solid #222222;
    color: #222222;
    font-size: 16px;
    vertical-align: middle;
    white-space: nowrap; /* Prevents awkward wrapping */
}

.leave-table tbody tr:hover {
    background-color: #f9f9f9;
}

.row-number {
    color: #222222;
    font-weight: 500;
}

.view-link {
    color: #4398D3;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

    .view-link:hover {
        color: #4398D3;
        text-decoration: underline;
    }

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-reject, .btn-approve {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* Icon size */
    cursor: pointer;
    color: white;
}

.btn-reject {
    background-color: #e53935; /* red */
}

    .btn-reject:hover {
        background-color: #c62828;
    }

.btn-approve {
    background-color: #43a047; /* green */
}

    .btn-approve:hover {
        background-color: #388e3c;
    }


/* Responsive Design */
@media (max-width: 768px) {
    .leave-management-container {
        padding: 15px;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .page-title {
        font-size: 22px;
    }

    .table-responsive {
        overflow-x: auto;
    }

    .leave-table th,
    .leave-table td {
        padding: 10px;
        font-size: 12px;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .btn-action {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .leave-management-container {
        padding: 10px;
    }

    .page-title {
        font-size: 18px;
    }

    .table-title {
        font-size: 16px;
    }

    .leave-table th,
    .leave-table td {
        padding: 8px 5px;
        font-size: 11px;
    }

    .view-link {
        font-size: 12px;
    }

    .btn-action {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}

/* Reports css design*/
 
.report-container {
    font-family: 'Inter', sans-serif;
    padding: 30px 40px;
    color: #333;
    overflow-x: hidden !important;
}

.full-line {
    border-bottom: 2px solid #CBCBCB;
    width: 100%;
    margin: 15px 0 25px 0;
}

.page-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: -40px;
}

/* FILTER BUTTONS */
.filters-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    min-width: 180px;
    color: #36AF8A;
}

/* DOWNLOAD BUTTON */
.download-btn {
    background: #3CB371;
    padding: 10px 22px;
    border-radius: 25px;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    float: right;
    margin-bottom: 20px;
}

/* TABLE WRAPPER */
.table-wrapper {
    border: 1px solid #ddd;
    border-radius: 16px;
    padding: 0; /* remove padding */
    width: 100%; /* full width */
    background: #fff;
}


table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

thead tr {
    background: #fafafa;
    font-weight: 600;
    text-align: left;
}

th, td {
    padding: 16px 22px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

tr:last-child td {
    border-bottom: none;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .filter-btn {
        min-width: 100%;
    }

    .download-btn {
        width: 100%;
        float: none;
        text-align: center;
    }

    th, td {
        padding: 12px;
        white-space: normal; /* allow wrapping */
    }
}

/*
Salary Configuration css style */
 

.sc-salary-page {
    font-family: 'Inter', sans-serif;
    padding: 25px 40px;
    color: #333;
}

/* Heading */
.sc-page-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: -40px;
}

/* Top Filters */
.sc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.sc-filters {
    display: flex;
    gap: 12px;
}

.sc-filter-btn {
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    min-width: 150px;
}

/* Employee Info */
.sc-employee-info {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 25px;
}

/* Section Titles */
.sc-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
}

.sc-edit-link {
    font-size: 13px;
    color: #0066cc;
    cursor: pointer;
}

/* Basic Salary */
.sc-basic-salary-box {
    width: 260px;
}

.sc-basic-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sc-input-basic {
    width: 250px;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 35px;
}

/* Earnings + Deductions */
.sc-earning-deduction-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.sc-col-box {
    flex: 1;
    min-width: 340px;
}

/* Card */
.sc-panel-card {
    border: 1px solid #dcdcdc;
    border-radius: 12px;
    padding: 18px;
    background: #fff;
}

/* Grid Inputs */
.sc-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.sc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.sc-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sc-small-input {
    width: 100%;
    padding: 11px;
    border-radius: 8px;
    border: 1px solid #d1d1d1;
    font-size: 14px;
    background: #fafafa;
}

/* Totals */
.sc-total-box {
    margin-top: 25px;
    text-align: right;
    font-size: 16px;
    line-height: 26px;
}

.sc-text-red {
    color: red;
    font-weight: 600;
}

.sc-text-green {
    color: green;
    font-weight: 600;
}

.sc-full-line {
    border-bottom: 2px solid #CBCBCB;
    width: 100%;
    margin: 15px 0 25px 0;
}

/* Responsive */
@media(max-width: 900px) {
    .sc-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .sc-grid-4 {
        grid-template-columns: 1fr;
    }

    .sc-grid-3 {
        grid-template-columns: 1fr;
    }
}


/* Salary Calculation css*/
 
.salary-page {
    font-family: 'Inter', sans-serif;
    padding: 25px 40px;
    color: #333;
}

h1 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.top-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search-box {
    max-width: 350px;
    width: 100%;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 10px 20px;
    margin-left: 100px;
}

    .search-box input {
        border: none;
        outline: none;
        background: transparent;
        width: 100%; /* replaces flex: 1 */
        font-size: 14px;
    }


.filter-btn {
    background: #fff;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    color: #36AF8A;
}

.info-box {
    margin-top: 30px;
    font-size: 16px;
    line-height: 28px;
}

/** Row of two-cols **/
.two-column {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.col-6 {
    width: 48%;
}

.section-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    width: 100%;
}

.label-value {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.gross-total {
    font-weight: bold;
    margin-top: 15px;
}

.total-deduct {
    color: red;
    font-weight: 600;
    margin-top: 10px;
}

.final-box {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    background: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid #ccc;
    width: 100%;
}

.salary-btn {
    margin-top: 20px;
    background: #3CB371;
    padding: 12px 22px;
    border-radius: 25px;
    color: white;
    border: none;
    font-size: 15px;
    cursor: pointer;
    text-align: right;
}

.btn-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.label-value {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
}

    .label-value span:nth-child(2) {
        text-align: center;
        padding: 0 80px; /* More spacing around ":" */
        font-weight: 600;
    }



/* Mobile Responsive */
@media (max-width: 900px) {
    .col-6 {
        width: 100%;
    }
}

/* Salary Slip design*/

.gtslip-container-fluid {
    width: 850px;
    margin: auto;
    font-family: Arial, sans-serif;
}

/* Header */
.gtslip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gtslip-header-left img {
    width: 140px;
}

.gtslip-header-right {
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

.gtslip-subtitle {
    font-size: 12px;
    font-weight: normal;
}

.gtslip-divider-line {
    border-top: 1px solid #000;
    margin: 10px 0;
}

/* Employee + Attendance Row */
.gtslip-emp-att-rows {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gtslip-employee-info {
    width: 45%;
    font-size: 14px;
    line-height: 1.5;
}

.gtslip-employee-title {
    font-weight: bold;
    margin-bottom: 10px;
}

/* Attendance Table */
.gtslip-attendance-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000000; /* outer border only */
    font-size: 14px;
}

    .gtslip-attendance-table th,
    .gtslip-attendance-table td {
        border: 1px solid #000000;
        padding: 6px;
        text-align: center;
    }

.gtslip-attendance-header {
    font-weight: bold;
    background: #f2f2f2;
}

/* FULL outer border box */
.gtslip-salary-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000000; /* outer border only */
    font-size: 14px;
}


    .gtslip-salary-table th,
    .gtslip-salary-table td {
        padding: 6px;
        text-align: center;
    }

.gtslip-salary-header-row th {
    background: #f2f2f2;
    font-weight: bold;
}

.gtslip-left-col {
    width: 15%;
}

.gtslip-right-col {
    width: 15%;
}

.gtslip-divider-col {
    width: 1%;
  /*  border-left: 2px solid #000;*/
    border-right: 1px solid #000;
}

.gtslip-top-line,
.gtslip-bottom-line {
    border-bottom: 1px solid #000;
    height: 8px;
}

/* Footer Signatures */
.gtslip-footer-signs {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    font-size: 14px;
}

.gtslip-footer-notes {
    font-size: 12px;
    color: #555;
}
