/* ==================== FONTS ==================== */
@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* ==================== CREATE EMPLOYEE MODAL ==================== */
.create-employee-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 16px;
}

.create-employee-modal {
    position: relative;
    width: 600px;
    max-width: calc(100vw - 32px);
    background: #FFFFFF;
    border-radius: 8px;
    border: 0.63px solid #E5E7EB;
    box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
    padding: 32px 24px 24px;
    font-family: Inter, sans-serif;
    display: flex;
    flex-direction: column;
}

.create-modal-close-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.create-modal-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.create-modal-icon {
    width: 35px;
    height: 35px;
    border-radius: 7px;
    background: linear-gradient(180deg, #083050 0%, #105583 100%);
    box-shadow: 0px 2px 4px -2px #0000001A, 0px 4px 6px -1px #0000001A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    flex-shrink: 0;
}

.create-modal-title-block h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}

.create-modal-title-block p {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
}

.create-modal-body {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

.create-field-row {
    display: flex;
    gap: 16px;
}

.create-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.create-field-group.full {
    width: 100%;
}

.create-field-group.half {
    flex: 1;
    min-width: 0;
}

.create-field-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    line-height: 20px;
}

.create-input {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 0.63px solid #D1D5DB;
    background: #F9FAFB;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #111827;
    font-family: Inter, sans-serif;
    box-sizing: border-box;
}

.create-input::placeholder {
    color: #6B7280;
}

.create-input:focus {
    outline: none;
    border-color: #D1D5DB;
}

.create-select {
    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='%236B7280' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.create-modal-footer {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.create-clear-btn,
.create-save-btn {
    height: 36px;
    min-width: 84px;
    border-radius: 6px;
    border: 0.63px solid #E5E7EB;
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.create-clear-btn {
    color: #111827;
}

.create-save-btn {
    background: #083050;
    color: #FFFFFF;
    border-color: #083050;
    min-width: 130px;
}

.create-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success/Error message - matches contact support style */

.create-alert {
    width: 100%;
    margin-top: 16px;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
    display: block;
    align-self: stretch !important;
}

.create-alert.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.create-alert.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.full-width-alert {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: block;
    align-self: stretch;
}

/* Form disabled state - matches contact support style */
.form-disabled .create-modal-body,
.form-disabled .view-modal-body {
    opacity: 0.5;
    pointer-events: none;
}

.form-disabled .create-input,
.form-disabled .create-select,
.form-disabled .view-input,
.form-disabled .view-select {
    background: #F3F4F6;
    cursor: not-allowed;
}

.form-disabled .create-modal-footer button,
.form-disabled .view-modal-footer button {
    opacity: 0.5;
    pointer-events: none;
}

/* ==================== VIEW EMPLOYEE MODAL ==================== */
.employee-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 16px;
}

.employee-view-modal {
    position: relative;
    width: 650px;
    max-width: calc(100vw - 32px);
    background: #FFFFFF;
    border-radius: 8px;
    border: 0.63px solid #E5E7EB;
    border-top: 0.63px solid #E5E7EB;
    box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
    padding: 32px 24px 24px;
    font-family: Inter, sans-serif;
    display: flex;
    flex-direction: column;
}

.view-modal-close-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

/* Unsaved changes banner - orange pill style */
.unsaved-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FE9A00;
    border-radius: 9999px;
    box-shadow: 0px 10px 50px -12px #00000040;
}

.unsaved-banner span {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
}

.unsaved-banner .unsaved-icon {
    width: 20px;
    height: 20px;
}

.view-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-right: 40px;
}

.view-modal-icon {
    font-size: 20px;
}

.view-modal-title-block h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-modal-title-block h2 .view-modal-icon {
    font-size: 20px;
}

.view-modal-title-block p {
    margin: 0;
    font-size: 14px;
    color: #6B7280;
}

.view-modal-body {
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.field-group.single {
    grid-column: 1 / -1;
}

/* View modal alerts */
.view-alert {
    width: 100%;
    margin-top: 16px;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
}

.view-alert.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.view-alert.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.view-input {
    height: 40px;
    border-radius: 6px;
    border: 0.63px solid #E5E7EB;
    background: #F9FAFB;
    padding: 0 12px;
    font-size: 14px;
    color: #111827;
}

.view-input:focus,
.view-select:focus {
    outline: none;
    border-color: #E5E7EB;
    box-shadow: none;
}

.view-input[readonly] {
    cursor: default;
}

.status-card {
    border-radius: 8px;
    border: 0.63px solid #E5E7EB;
    background: #F9FAFB;
    padding: 16px;
}

.status-card-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.status-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-note-block {
    flex: 1;
    padding-left: 101px;
}

.status-note {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}
.status-toggle {
    width: 32px;
    height: 18px;
    border-radius: 999px;
    border: 0.63px solid #000000;
    padding: 0;
    background: #d1d5db;
    position: relative;
    cursor: pointer;
}

.status-toggle .toggle-knob {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFFFFF;
    transition: transform 0.2s ease;
}

.status-toggle.active {
    background: #083050;
}

.status-toggle.active .toggle-knob {
    transform: translateX(12px);
}

.status-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.status-pill-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 71px;
    height: 21px;
    border-radius: 6px;
    border: 0.63px solid #A7F3D0;
    background: #DCFCE7;
    font-size: 12px;
    font-weight: 500;
    padding: 0 8px;
}

.status-pill-mini.inactive {
    min-width: 80px;
    border: none;
    /*border-top: 0.63px solid #000000;*/
    background: #FFE2E2;
    color: #9F0712;
}

.status-pill-mini .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
}

.status-pill-mini.inactive .status-dot {
    background: #EF4444;
}

.view-modal-footer {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.view-close-btn,
.view-cancel-btn,
.view-edit-btn,
.view-save-btn {
    height: 36px;
    min-width: 84px;
    border-radius: 6px;
    border: 0.63px solid #E5E7EB;
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.view-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.close-x {
    font-size: 12px;
}

.view-cancel-btn {
    color: #111827;
}

.view-edit-btn {
    background: #083050;
    color: #FFFFFF;
    border-color: #083050;
}

.view-edit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.view-save-btn {
    background: #083050;
    color: #FFFFFF;
    border-color: #083050;
    min-width: 120px;
}

.view-save-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.save-icon {
    font-size: 14px;
}

.edit-icon {
    font-size: 14px;
}

.edit-modal-icon {
    font-size: 20px;
}

/* Edit mode inactive styling */
.edit-mode-inactive {
    background: #FEF2F2;
    border: 0.63px solid #E5E7EB;
}

.status-timestamp {
    font-size: 12px;
    color: #6B7280;
    margin-left: 8px;
}

@font-face {
    font-family: 'Inter';
    src: url('/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

/* ==================== PAGE CONTAINER ==================== */
.employees-page {
    padding: 16px;
    padding-left: 0;
    padding-bottom: 40px;
    font-family: 'Inter', sans-serif;
    background: #F9FAFB;
    min-height: 100vh;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 20px;
    margin-bottom: 16px;
}

.breadcrumb-home-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.breadcrumb-text {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4B5563;
}

.breadcrumb-arrow {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.breadcrumb-current {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #4B5563;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    margin-bottom: 16px;
}

.page-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.page-title {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    margin: 0;
}

.page-title:focus {
    outline: none;
}

.info-icon {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    cursor: pointer;
}

.page-description {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #6B7280;
    margin: 0;
}

/* ==================== SEARCH AND FILTER CONTAINER ==================== */
.search-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
    margin-right: 16px;
    gap: 16px;
    background: #FFFFFF;
    border: 0.63px solid #E5E7EB;
    border-top: 0.63px solid #E5E7EB80;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0px 1px 2px -1px #0000001A, 0px 1px 3px 0px #0000001A;
}

.filter-section {
    display: flex;
    gap: 24px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-label {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #374151;
}

.search-input-wrapper {
    position: relative;
    width: 296px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    opacity: 0.5;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 8px 12px 8px 36px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #111827;
    border: 0.63px solid #D1D5DB;
    border-radius: 8px;
    background-color: #F9FAFB;
    box-sizing: border-box;
}

.filter-dropdown {
    width: 220px;
    max-width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #111827;
    border: 0.63px solid #D1D5DB;
    border-radius: 8px;
    background-color: #F9FAFB;
    appearance: none;
    background-image: url('/images/chevron-down.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    cursor: pointer;
}

.search-input::placeholder {
    color: #9CA3AF;
}

.search-input:focus {
    outline: none;
    border-color: #D1D5DB;
    box-shadow: none;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #D1D5DB;
    box-shadow: none;
}

.filter-dropdown option {
    font-family: Inter, sans-serif;
    font-size: 14px;
    color: #111827;
    background: #FFFFFF;
    padding: 8px 12px;
}

.action-section {
    display: flex;
    align-items: flex-end;
}

.create-button {
    height: 36px;
    padding: 0 16px;
    background: #083050;
    border: none;
    border-radius: 8px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.create-button:hover {
    background: #0a4068;
}

.plus-icon {
    font-size: 16px;
    font-weight: 600;
}

/* ==================== TABLE ==================== */
.employees-table {
    background: #FFFFFF;
    border: 0.63px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-right: 16px;
}

.table-header {
    display: flex;
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    padding: 12px 16px;
}

.header-cell {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #111827;
    cursor: pointer;
}

.header-cell.actions-header {
    flex: 0 0 140px;
    justify-content: center;
    cursor: default;
}

.sort-icon {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

.table-body {
    max-height: none;
    overflow-y: visible;
}

.table-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB;
    transition: background-color 0.15s ease;
}

.table-row:hover {
    background-color: #F9FAFB;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    flex: 1;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #111827;
    display: flex;
    align-items: center;
}

.table-cell.actions-cell {
    flex: 0 0 140px;
    justify-content: center;
    gap: 8px;
}

/* ==================== STATUS PILLS ==================== */
.status-active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 53.41px;
    height: 21.23px;
    padding: 0 8px;
    background-color: #DCFCE7;
    color: #166534;
    border-radius: 6px;
    border: 0.63px solid #A7F3D0;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}

.status-inactive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 53.41px;
    height: 21.23px;
    padding: 0 8px;
    background-color: #F3F4F6;
    color: #6B7280;
    border-radius: 6px;
    border: 0.63px solid #E5E7EB;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
}

.no-association-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 103.74px;
    height: 21.23px;
    padding: 0 12px;
    background-color: #FFCD71;
    border-radius: 6px;
    border: 0.63px solid #000000;
    border-top: 0.63px solid #000000;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #68480D;
}

/* ==================== ACTION BUTTONS ==================== */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    border: none;
    cursor: pointer;
}

.view-btn {
    background-color: #DCFCE7;
    color: #166534;
    width: 74.32px;
    height: 28px;
    justify-content: center;
}

.view-btn:hover {
    background-color: #BBF7D0;
}

.edit-btn {
    background-color: #DBEAFE;
    color: #193CB8;
    width: 67.75px;
    height: 28px;
    justify-content: center;
}

.edit-btn:hover {
    background-color: #BFDBFE;
}

.action-icon {
    width: 14px;
    height: 14px;
}

.view-icon,
.edit-icon {
    font-size: 12px;
}

/* ==================== NO RESULTS ==================== */
.no-results {
    text-align: center;
    padding: 40px;
    color: #6B7280;
    font-size: 14px;
    background: #FFFFFF;
    border: 0.63px solid #E5E7EB;
    border-radius: 12px;
    margin-right: 16px;
}

/* ==================== PAGINATION WRAPPER ==================== */
.pagination-wrapper {
    display: flex;
    justify-content: flex-end;
    padding: 16px 0;
    margin-right: 16px;
}

/* ==================== MODAL STYLES ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-box {
    background-color: #fff;
    border-radius: 12px;
    width: 800px;
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    color: #000;
    display: flex;
    flex-direction: column;
}

.modal-content {
    padding: 43px;
    overflow-y: auto;
    flex-grow: 1;
}

.modalheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: -15px;
}

.modalconfigheader {
    font-size: 22px;
    font-weight: 500;
    color: #000000;
    margin-left: -26px;
}

.arrowicon {
    margin-left: -2px;
    height: 16px;
    cursor: pointer;
}

.back {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-left: 9px;
    cursor: pointer;
}

.modal-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-divider {
    height: 1px;
    background-color: #DBDBDB;
    margin: 16px -43px;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    padding-top: 18px;
}

.modal-label-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-label-group label {
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

.modal-value-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F8FAFC;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #DBDBDB;
    height: 51px;
}

.modal-input {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    color: #636363;
    background-color: #F8FAFC;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    outline: none;
}

.closeicon.clickable {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.closeicon {
    height: 16px;
    cursor: pointer;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 64px;
    height: 50px;
}

.reset-button,
.save-button {
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    font-size: 13.6px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1.4;
    border: 1px solid #083050;
}

.reset-button {
    background-color: white;
    color: #000000;
}

.save-button {
    background-color: #083050;
    color: #fff;
}

.save-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.icon {
    width: 16px;
    height: 16px;
}

/* ==================== EMPLOYEE DETAILS MODAL ==================== */
.employee-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    margin-top: 16px;
}

.header-title {
    font-size: 22px;
    font-weight: 500;
    color: #000000;
}

.profile-summary-box {
    background-color: #F8FAFC;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid #DBDBDB;
}

.profile-summary-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar-initials {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #5C778C;
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.profile-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-name {
    font-size: 20px;
    font-weight: 400;
    color: #636363;
}

.status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #DCFCE7;
    padding: 6px 11px;
    border-radius: 12px;
}

.status-icon {
    width: 16px;
    height: 16px;
}

.status-text {
    font-size: 14px;
    color: #166534;
    font-weight: 500;
}

.label-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.inline-inactive-button {
    font-size: 12px;
    font-weight: 400;
    color: #083050;
    background-color: transparent;
    border: 1px solid #DBDBDB;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border-radius: 13px;
    height: 29px;
    margin-top: -4px;
}

.make-inactive-button {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    border: 1px solid #083050;
    background-color: transparent;
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

/* ==================== ALERTS ==================== */
.alert-success {
    color: #2e7d32;
    margin-top: 10px;
    font-weight: 500;
    /*margin-left: 38%;*/
}

.alert-danger {
    color: #c62828;
    margin-top: 10px;
    font-weight: 500;
    /*margin-left: 38%;*/
}

/* Hide number input spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1439px) and (min-width: 1366px) {
    .search-input-wrapper {
        width: 260px;
    }
    
    .filter-dropdown {
        width: 180px;
    }
    
    .header-cell {
        font-size: 13px;
    }
    
    .table-cell {
        font-size: 13px;
    }
}

@media (max-width: 1365px) and (min-width: 1200px) {
    .search-filter-container {
        flex-wrap: wrap;
    }
    
    .search-input-wrapper {
        width: 240px;
    }
    
    .filter-dropdown {
        width: 180px;
    }
    
    .header-cell {
        font-size: 12px;
    }
    
    .table-cell {
        font-size: 12px;
    }
    
    .header-cell.actions-header,
    .table-cell.actions-cell {
        flex: 0 0 120px;
    }
}

@media (max-width: 1199px) and (min-width: 1024px) {
    .search-filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .filter-section {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .action-section {
        width: 100%;
        justify-content: flex-end;
    }
    
    .employees-table {
        overflow-x: auto;
    }
}

@media (max-width: 1023px) {
    .employees-page {
        padding: 12px;
    }
    
    .search-filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .filter-section {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .search-input-wrapper {
        width: 100%;
    }
    
    .filter-dropdown {
        width: 100%;
    }
    
    .action-section {
        width: 100%;
    }
    
    .create-button {
        width: 100%;
        justify-content: center;
    }
    
    .employees-table {
        margin-right: 0;
        overflow-x: auto;
    }
    
    .table-header,
    .table-row {
        min-width: 800px;
    }
    
    .modal-box {
        width: 95vw;
        max-height: 90vh;
    }
    
    .modal-content {
        padding: 16px;
    }
    
    .modal-row {
        flex-direction: column;
        gap: 16px;
    }
    
    /* Create Employee Modal - Tablet */
    .create-employee-modal {
        width: 95vw;
        max-width: 550px;
        padding: 24px 20px 20px;
    }
    
    .create-modal-header {
        margin-bottom: 20px;
    }
    
    .create-modal-title-block h2 {
        font-size: 18px;
    }
    
    .create-field-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .create-field-group.half {
        flex: none;
        width: 100%;
    }
    
    .create-modal-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .create-clear-btn,
    .create-save-btn {
        width: 100%;
    }
    
    /* View/Edit Employee Modal - Tablet */
    .employee-view-modal {
        width: 95vw;
        max-width: 600px;
        padding: 24px 20px 20px;
    }
    
    .view-modal-header {
        flex-wrap: wrap;
        gap: 10px;
        padding-right: 35px;
    }
    
    .view-modal-title-block h2 {
        font-size: 18px;
    }
    
    .unsaved-banner {
        padding: 6px 12px;
    }
    
    .unsaved-banner span {
        font-size: 12px;
    }
    
    .field-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .status-card {
        padding: 16px;
    }
    
    .status-card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .status-note-block {
        padding-left: 0;
    }
    
    .view-modal-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .view-close-btn,
    .view-cancel-btn,
    .view-edit-btn,
    .view-save-btn {
        width: 100%;
    }
}

/* Small tablets and large phones */
@media (max-width: 767px) {
    .employees-page {
        padding: 10px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .page-description {
        font-size: 13px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
    
    /* Table adjustments */
    .table-header,
    .table-row {
        min-width: 700px;
    }
    
    .header-cell,
    .table-cell {
        font-size: 12px;
        padding: 10px 8px;
    }
    
    .action-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    /* Modals - Small tablet */
    .create-employee-modal,
    .employee-view-modal {
        width: calc(100vw - 20px);
        max-width: none;
        padding: 20px 16px 16px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .create-modal-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .create-modal-title-block h2,
    .view-modal-title-block h2 {
        font-size: 16px;
    }
    
    .create-modal-title-block p,
    .view-modal-title-block p {
        font-size: 13px;
    }
    
    .create-input,
    .view-input {
        height: 38px;
        font-size: 13px;
    }
    
    .create-alert,
    .view-alert {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    /* Status card adjustments */
    .status-toggle {
        width: 28px;
        height: 16px;
    }
    
    .status-toggle .toggle-knob {
        width: 10px;
        height: 10px;
    }
    
    .status-toggle.active .toggle-knob {
        transform: translateX(10px);
    }
    
    .status-pill-mini {
        font-size: 11px;
        height: 18px;
        min-width: 60px;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .employees-page {
        padding: 8px;
    }
    
    .page-header {
        margin-bottom: 12px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .page-description {
        font-size: 12px;
    }
    
    .breadcrumb {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .breadcrumb-text,
    .breadcrumb-current {
        font-size: 11px;
    }
    
    /* Table - horizontal scroll on mobile */
    .employees-table {
        margin: 0 -8px;
        padding: 0 8px;
    }
    
    .table-header,
    .table-row {
        min-width: 600px;
    }
    
    .header-cell,
    .table-cell {
        font-size: 11px;
        padding: 8px 6px;
    }
    
    .actions-cell {
        flex-direction: column;
        gap: 4px;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Pagination */
    .pagination-wrapper {
        padding: 12px 8px;
    }
    
    /* Modals - Mobile */
    .create-employee-overlay,
    .employee-view-overlay {
        padding: 10px;
    }
    
    .create-employee-modal,
    .employee-view-modal {
        width: 100%;
        padding: 16px 12px 12px;
        border-radius: 6px;
    }
    
    .create-modal-close-icon,
    .view-modal-close-icon {
        top: 12px;
        right: 12px;
    }
    
    .create-modal-header,
    .view-modal-header {
        margin-bottom: 16px;
        gap: 8px;
    }
    
    .create-modal-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .create-modal-title-block h2,
    .view-modal-title-block h2 {
        font-size: 15px;
    }
    
    .create-modal-title-block p,
    .view-modal-title-block p {
        font-size: 12px;
    }
    
    .create-modal-body,
    .view-modal-body {
        gap: 12px;
    }
    
    .create-field-group label,
    .field-group label {
        font-size: 13px;
    }
    
    .create-input,
    .view-input {
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
    
    .create-modal-footer,
    .view-modal-footer {
        margin-top: 16px;
    }
    
    .create-clear-btn,
    .create-save-btn,
    .view-close-btn,
    .view-cancel-btn,
    .view-edit-btn,
    .view-save-btn {
        height: 34px;
        font-size: 13px;
    }
    
    /* Unsaved banner - Mobile */
    .unsaved-banner {
        padding: 5px 10px;
        gap: 6px;
    }
    
    .unsaved-banner span {
        font-size: 11px;
    }
    
    .unsaved-banner .unsaved-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Status card - Mobile */
    .status-card {
        padding: 12px;
    }
    
    .status-card label {
        font-size: 13px;
    }
    
    .status-controls {
        gap: 8px;
    }
    
    .status-timestamp {
        font-size: 11px;
        margin-left: 4px;
    }
    
    .status-note {
        font-size: 11px;
    }
    
    /* Alerts - Mobile */
    .create-alert,
    .view-alert {
        font-size: 12px;
        padding: 8px 10px;
        margin-top: 12px;
    }
}
