

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-BoldMT.ttf') format('truetype');*/
/*    font-weight: bold;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/ArialMT.ttf') format('truetype');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-BoldMT_1.ttf') format('truetype');*/
/*    font-weight: bold;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-BoldItalicMT.ttf') format('truetype');*/
/*    font-weight: bold;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial CE';*/
/*    src: url('../fonts/ArialCE.ttf') format('truetype');*/
/*    font-weight: 500;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-ItalicMT.ttf') format('truetype');*/
/*    font-weight: normal;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial CE MT';*/
/*    src: url('../fonts/ArialCEMTBlack-Regular.ttf') format('truetype');*/
/*    font-weight: 900;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-BoldItalicMT_1.ttf') format('truetype');*/
/*    font-weight: bold;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-LgtItl.ttf') format('truetype');*/
/*    font-weight: 300;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-Lgt.ttf') format('truetype');*/
/*    font-weight: 300;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-ItalicMT_1.ttf') format('truetype');*/
/*    font-weight: normal;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-MdmItl.ttf') format('truetype');*/
/*    font-weight: 500;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-Mdm.ttf') format('truetype');*/
/*    font-weight: 500;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial CE';*/
/*    src: url('../fonts/Arial-BoldMT_2.ttf') format('truetype');*/
/*    font-weight: 100;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial Narrow';*/
/*    src: url('../fonts/ArialNarrow-BoldItalic.ttf') format('truetype');*/
/*    font-weight: bold;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial Narrow';*/
/*    src: url('../fonts/ArialNarrow-Italic.ttf') format('truetype');*/
/*    font-weight: normal;*/
/*    font-style: italic;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial Narrow';*/
/*    src: url('../fonts/ArialNarrow.ttf') format('truetype');*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial Narrow';*/
/*    src: url('../fonts/ArialNarrow-Bold.ttf') format('truetype');*/
/*    font-weight: bold;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/

/*@font-face {*/
/*    font-family: 'Arial';*/
/*    src: url('../fonts/Arial-Black.ttf') format('truetype');*/
/*    font-weight: 900;*/
/*    font-style: normal;*/
/*    font-display: swap;*/
/*}*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

body{
    font-family: "Manrope", sans-serif;
    background: #fff!important;
}

a {
    color: #14597D;
    text-decoration: none;
}
.btn {
    padding: 10px 15px;
    line-height: 1;
    border-radius: 8px;
}

.form-control, .form-select {
    border-radius: 8px;
    background-color: #F3F3F5;
    border: none;
    height: 40px;
}
.form-control:focus {
    background-color: #F3F3F5;
   
}
:not(table *) > .btn-primary {
    color: #fff;
    background-color: #E09F3E;
    border-color: #E09F3E;
    border-radius: 10px;
    padding: 10px;
    font-weight: 500;
    font-size: 14px;
}

:not(table *) > .btn-primary:hover {
    color: #ffffff;
    border-color: #d79738;
    background-color: #d79738;
}
.btn-secondary {
    color: #eff2f7!important;
    display: flex;
    align-items: center;
    gap: 6px;
}
.table .btn-group-sm>.btn, .btn-sm {
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 8px;
}
.table .btn-primary {
    white-space: nowrap;
    color: #fff;
    background-color: #14597D;
    border-color: #14597D;
    border-radius: 8px;
    padding: 8px 10px;
}
.table .btn-outline-primary {
    color: #13587c;
    border-color: #14597d;
}
.table .btn-outline-primary:hover{
    background: transparent;
    color: #13587c;
    border-color: #14597d;
}
.btnapprove {
    background-color: #1BAA3F;
    color: white;
    margin-right: 8px;
}
.approve_reject {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
}
#modalPreviewImg {
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: all;
  cursor: grab;
  transform-origin: center center;
      transition: transform 0.28s ease;
}

#modalPreviewImg.grabbing {
  cursor: grabbing;
}
.btn.btn-light {
    box-shadow: none!important;
}
.btn-info {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}
.btn-info i {
    font-size: 18px;
}
.btn-primary.exel_btn {
    background: #1BAA3F;
    border-color: #1BAA3F;
}
.btn-success {
    color: #fff;
    background-color: #1BAA3F;
    border-color: #1BAA3F;
}
.custom-dropdown {
  position: relative;
}
.dropdown-btn {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.dropTabs {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #495057;
}
.arrow {
  width: 7px;
  height: 7px;
  border: #495057 2px solid;
  border-left: none;
  border-top: none;
  transition: transform 0.15s;
  rotate: 45deg;
  top: -2px;
  position: relative;
  transform-origin: center;
}
.custom-dropdown.open .arrow {
  transform: rotate(180deg);
}
.dropdown-content {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 40;
  max-height: 200px;
  overflow: auto;
  padding: 10px;
}
.custom-dropdown.open .dropdown-content {
  display: block;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 5px;
}
.dropdown-item label {
  white-space: normal;
  margin: 0px;
  flex: 1;
  font-size: 12px;
}
.dropdown-item:hover {
  background: #f4f6f8;
}
.dropdown-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
.table th {
  font-weight: 600;
  white-space: nowrap;
}
div#attendancre_table_filter {
  display: none;
}
.searchbar > input {
  padding-left: 35px;
}
.searchbar svg {
  position: absolute;
  top: 10px;
  left: 7px;
  color: #4e5057;
  width: 20px;
  height: 20px;
}

.srn_modal .modal-content {
    padding: 24px;
    /*width: auto;*/
    margin: 0px auto;
}
.srn_modal .modal_close {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 12px;
    z-index: 999;
    right: -13px;
    top: -13px;
    opacity: 1;
}

.hidden-file-input {
    display: none; /* Hides the default file input */
}
.floating_border {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 3px 5px;
    min-height: 58px;
}
.floating_border>label.custom-upload-button {
    position: relative!important;
    display: inline-block;
    padding: 6px 14px;
    background-color: #eaeaea;
    color: #4b4b4b;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s ease;
    top: 0px;
    left: 0px;
    margin-top: 0px;
    pointer-events: all;
    margin-bottom: 0px;
}
.custom-upload-button:hover {
    background-color: #0056b3; /* Darker color on hover */
}
.floating_border>label {
    font-size: 11px;
    color: #888ca8;
    margin-bottom: 2px;
    display: block;
}
.submitSingleDocBtn {
    font-size: 16px;
    padding: 10px 20px;
    margin-top: 6px;
}
button#addOtherDocBtn {
    padding: 8px 15px;
    font-size: 16px;
}
.step {
    padding: 7px 15px;
    margin-left: auto;
    display: table;
    background: #fff2db;
    border: #f1da97 1px solid;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 16px;
}

.auth-page {
    padding: 15px 60px;
    width: 100%;
}
.auth-body-bg {
    background: linear-gradient(180deg, #14597D 0%, #1A2542 50%, #0F3A54 100%)!important;
    height: 100vh;
    display: flex;
    align-items: center;
}
.login_info {
    max-width: 700px;
    margin: 0px auto;
}

.login_info h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    line-height: 40px;
}
.login_info p {
    font-size: 18px;
    color: #FFFFFFCC;
}


.login_form {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0px 25px 50px -12px #00000040;
    border-top: 0.94px solid #0000001A;
}
/*.loginform_txt {*/
/*    margin-top: 15px;*/
/*}*/
.loginform_txt h5 {
    font-size: 30px;
    color: #2C3E50;
    font-weight: 400;
}
.logininput {
    position: relative;
}
.loginform_txt p {
    color: #7F8C8D;
}
 .input_icon {
    position: absolute;
    top: 8px;
    left: 8px;
}
.input_icon svg {
    width: 25px;
    height: 25px;
}
.logininput .form-control {
    height: 45px;
    border: 0.94px solid #E5E7E9;
    background: #F3F3F5;
    width: 100%;
    border-radius: 8px;
    padding-left: 42px;
}
.eye_btn {
    position: absolute;
    border: none;
    right: 8px;
    padding: 0px;
    top: 7px;
    background: transparent!important;
    outline: none!important;
    color: #7F8C8D!important;
    box-shadow: none!important;
}
.btn-login {
    background: #E09F3E;
    width: 100%;
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px -4px #0000001A;
    box-shadow: 0px 10px 15px -3px #e09f3e5e;
    padding: 10px;
}
.forgot_pass {
    color: #14597D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.copyright_txt{
    color: #7F8C8D;
    font-size: 12px;
}
.login_message {
    /*background: #19875452;*/
    color: green;
    border-radius: 10px;
}

body[data-layout=horizontal][data-topbar=light] .topnav {
    background-color: #14597D;
}
body[data-layout=horizontal][data-topbar=light] .topnav .navbar-nav .nav-link {
    color: #ffffff;
}
body[data-layout=horizontal][data-topbar=light] .topnav .navbar-nav>.dropdown.active>a {
    color: #ffffff !important;
}
body[data-layout=horizontal][data-topbar=light] .topnav .navbar-nav .nav-link:focus, body[data-layout=horizontal][data-topbar=light] .topnav .navbar-nav .nav-link:hover {
    color: #ffffffc2;
}
#page-topbar {
    background-color: #ffffff;
}
.header-item {
    height: 55px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    color: #555b6d;
    border: 0;
    border-radius: 6px;
    background: #5da2d530;
    display: flex!important;
    align-items: center;
}
.page_title {
    font-size: 22px;
    font-weight: 700;
    color: #101828;
}
.card {
    box-shadow: none!important;
    border: 0.94px solid #E5E7EB;
    border-radius: 16px;
}
.dashboard_card {
    display: flex;
    justify-content: space-between;
}
.dashboard_card h2 {
    font-size: 28px;
    color: #101828;
    margin: 0px;
}
.dashboard_card .card-text {
    font-size: 13px;
    font-weight: 400;
    color: #4A5565;
}
.attendence-out {
    background: #00000015;
}
.dashboard .card {
    margin: 0px;
    min-height: 148px;
}
.icon{
    width: 60px;
    height: 60px;
     display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}
.present {
    background: #4CAF5015;
}
.absent {
    background: #E5737315;
}
.latemark  {
    background: #1E91CE15;
}
.leave {
    background: #F4B40015;
}
.halfday {
    background: #97979715;
}
table {
    caption-side: bottom;
    border-collapse: separate;
    border-radius: 20px;
    border-spacing: 0px;
}
.table>tbody tr td {
    border-bottom: 0.94px solid #F3F4F6!important;
    vertical-align: middle;
}
.table-bordered {
    border: 1px solid #F3F4F6;
}

.table th {
    font-weight: 600;
    white-space: nowrap;
    background: #f3f6fa;
}
.table th:first-child{
    border-radius: 20px 0px 0px 0px;
}
.table th:last-child{
    border-radius: 0px 20px 0px 0px;
}
.commontabledesign td {
    background-color: transparent;
}
.commontabledesign td, .commontabledesign th {
    border: 0.5px solid #F3F4F6! important;
}
.table>tbody tr:last-child td {
    border-bottom: none!important;
}
.table>tbody tr:last-child td:first-child {
    border-left: none!important;
}
.table>tbody tr:last-child td:last-child {
    border-right: none!important;
}
.role {
    background: -webkit-linear-gradient(#279cda, #13587c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.table>tbody tr td p {
    margin-bottom: 0px;
}
.cardprofile {
    border-radius: 0px; 
    box-shadow: none
}
.cardprofile-avatar {
    box-shadow: none;
}
.cardprofile-content {
    padding: 20px 0px;
}
.cardprofile-content p {
    margin-bottom: 5px;
}
.cardprofile-content h6 {
    margin-bottom: 15px;
}
.cardprofile-fullname {
    color: #101828;
}
.cardprofile-buttons {
    background-color: #ECECF0;
    border-radius: 50px;
    padding: 5px;
}
.cardprofile-buttons button {
    padding: 7px 7px 5px;
    border: none;
    border-radius: 50px;
}
.cardprofile-buttons button.is-active, .cardprofile-buttons button:hover {
    border: none;
    background: #fff;
}
.nav-pills .nav-link {
    background-color: transparent! important;
    display: flex;
    gap: 7px;
    justify-content: center;
    border: 0.94px solid #0000001A;
    padding: 12px;
    border-radius: 8px;
    white-space: nowrap;
}
.search_btn {
    position: absolute;
    top: 5px;
    right: -3px;
    padding: 0px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #14597d1c!important;
    border: none;
    color: #13577b!important;
    font-size: 17px;
}
.search_btn:hover {
    background: #14597D;
}
.search_icon {
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 20px;
}

.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end;
    border: none;
    gap: 8px;
}
.page-link {
    border-radius: 8px!important;
    padding: 10px 17px;
    background: #d7e9f5;
    color: #13577b;
    font-weight: 500;
    border: none;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #13587c;
}


        .stat-card {
            border: none;
            border-radius: 16px;
            padding: 24px;
            height: 100%;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        }

        .stat-label {
            font-size: 14px;
            color: #64748b;
            font-weight: 500;
            margin-bottom: 8px;
        }

.stat-number {
    font-size: 30px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

        .icon-wrapper {
            width: 56px;
            height: 56px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

        .icon-green {
            background-color: #dcfce7;
            color: #16a34a;
        }

        .icon-red {
            background-color: #fee2e2;
            color: #dc2626;
        }

        .icon-yellow {
            background-color: #fef3c7;
            color: #eab308;
        }

        .icon-blue {
            background-color: #dbeafe;
            color: #2563eb;
        }

        .icon-gray {
            background-color: #f1f5f9;
            color: #64748b;
        }

        .icon-purple {
            background-color: #f3e8ff;
            color: #9333ea;
        }

.bottom-right-icon {
    position: absolute;
    top: 7px;
    right: 0px;
}
.doc_header {
    background: #13587c21;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    color: #13587c;
    margin-bottom: 10px;
}
.icon_btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    line-height: 1;
}

.icon_btn i {
    font-size: 16px;
}
.btn-lg i {
    font-size: 18px;
}
.dataTables_wrapper .row:last-child {
    margin-top: 15px;
}
.calendar_atten-header {
    padding: 0px;
    background: transparent;
}
.calendar_atten-header button {
    padding: 0px;
    border: none;
    color: #13587c;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.3s;
    background: transparent;
    font-size: 27px;
    line-height: 1;
}
.calendar_atten-header h2 {
    margin: 0;
    font-size: 22px;
    color: #101828;
    font-weight: 700;
}
.calendar_atten {
    box-shadow: none;
    padding: 3px;
    width: 100%;
    max-width: 600px;
}
.calendar_atten th {
    text-align: center;
    padding: 18px 0;
    font-size: 14px;
    color: #FFFFFFCC;
    background-color: #13577c;
    font-weight: 600;
}
.calendar_atten .table>tbody tr td {
    border: 0.94px solid #F3F4F6!important;
    vertical-align: middle;
}
.calendar_atten .table>tbody tr:last-child td:first-child {
    border-left: 0.94px solid #F3F4F6!important
}

.calendar_atten .table>tbody tr:last-child td:last-child {
    border-right: 0.94px solid #F3F4F6!important
}

.date-box::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%);
    position: absolute;
}

.date-box.absent, .absentcolorbox, .date-box.sunday, .sundaycolorbox, .date-box.holiday, .holidaycolorbox {
    background-color: transparent! important;
    color: #393737;
}
.date-box.absent::after {
    background: #ED7061;
}
.date-box.sunday::after {
    background: #5499C7  ;
}
.date-box.holiday::after {
    background: #F3B141    ;
}
.date-box.faded::after {
    display: none;
}

    .counter_number {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }
.dashboard_counter_ttl {
    font-size: 22px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 15px;
}

.nav-fill .nav-item .nav-link, .nav-justified .nav-item .nav-link {
    width: 100%;
    line-height: 1;
    align-items: center;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link, .nav-pills .nav-link:hover {
    color: #ffffff ! important;
    background-color: #14597D! important;
}
.nav-fill .nav-item .nav-link i, .nav-justified .nav-item .nav-link i {
    font-size: 16px;
}
.nav {
    flex-flow: nowrap;
    gap: 10px
}
.nav-pills .nav-item {
    margin: 0;
}
.profile_detail h5 {
    font-size: 16px;
    font-weight: 500;
    color: #2C3E50;
}
.profile_detail p {
    font-size: 12px;
    font-weight: 400;
    color: #7F8C8D;
}
.tab_ttl {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
}
        .coming_box {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 24px;
    border-left: 3px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    text-align: left;
    padding: 10px;
}

        .coming_box:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .coming_box i {
            font-size: 24px;
            color: var(--border-color);
            margin-bottom: 12px;
            display: block;
        }

.coming_box span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 12px;
    background: transparent!important;
}

.coming_box a {
      font-size: 22px;
    font-weight: 700;
    color: var(--text-color)!important;
    text-decoration: none;
    display: block;
}

        /* Present - Green */
        .present_box {
            --bg-color: #f0fdf4;
            --border-color: #22c55e;
            --text-color: #16a34a;
        }

        /* Absent - Red */
        .absent_box {
            --bg-color: #fef2f2;
            --border-color: #ef4444;
            --text-color: #dc2626;
        }

        /* Half Day - Gray */
        .halfday_box {
            --bg-color: #f8fafc;
            --border-color: #94a3b8;
            --text-color: #64748b;
        }

        /* Late Mark - Purple */
        .latemark_box {
            --bg-color: #faf5ff;
            --border-color: #a78bfa;
            --text-color: #8b5cf6;
        }

        /* Weekly Off - Blue */
        .weekoff_box {
            --bg-color: #eff6ff;
            --border-color: #60a5fa;
            --text-color: #3b82f6;
        }

        /* Holiday - Orange/Yellow */
        .holiday_box {
            --bg-color: #fffbeb;
            --border-color: #fbbf24;
            --text-color: #f59e0b;
        }

        /* Attendance Out - Pink */
        .attendanceout_box {
            --bg-color: #fdf4ff;
            --border-color: #e879f9;
            --text-color: #d946ef;
        }

        /* Working Days - Teal */
        .workingday_box {
            --bg-color: #f0fdfa;
            --border-color: #2dd4bf;
            --text-color: #14b8a6;
        }

        /* Days in Month - Gray */
        .dayinmonth_box {
            --bg-color: #f8fafc;
            --border-color: #94a3b8;
            --text-color: #64748b;
        }
        .cardprofile-jobtitle {
            letter-spacing: 1px;
            bottom: -18px;
            text-align: center;
        }
        .cardprofile.is-active .cardprofile-jobtitle {
            text-align: left;
            bottom: -7px;
        }
 .scroll_track {
    overflow: auto;
}       
.cardprofile-buttons {
   
    display: none;
}        
        
.profile_card .left-section {
            display: flex;
            align-items: center;
            gap: 24px;
        }

.profile_card .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.profile_card .avatar-text .cardprofile_avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}     
.profile_card .info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.profile_card .name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

        .profile_card .title {
            font-size: 12px;
            color: #666;
            font-weight: 400;
        }

        .profile_card .department {
            font-size: 12px;
            color: #666;
            font-weight: 400;
        }

.profile_card .right-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
    margin-top: 20px;
}
        .profile_card .contact-item {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .profile_card .contact-label {
            font-size: 14px;
            color: #999;
            font-weight: 400;
        }

        .profile_card .contact-value {
            font-size: 18px;
            color: #1a1a1a;
            font-weight: 600;
        }        
        
 .responsive-table {
    overflow-x: auto;
}       
.select2-selection__choice__remove {
    border: none;
    background: #ddd;
    border-radius: 20px;
    height: 20px;
    width: 20px;
}        
.text-primary {
    color: #08c !important; font-weight:600;
}
.education-section .text-primary, .education-section .text-success { font-weight:600;}
.submitSingleDocBtn {
    margin-top: 27px;
} 
.text-success {font-weight:600;
    color: rgb(11 167 21) !important;
}


  /* minimal styling for clarity */
.form_wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 15px;
    width: 100%;
}
.form_wrapper .form-field { margin: 12px 0; display:block; }
.form_wrapper label { display:block; font-weight:600; margin-bottom:6px; }
.form_wrapper input, .form_wrapper select, .form_wrapper textarea {
    padding: 0px;
    width: 100%;
    box-sizing: border-box;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #706d6d;
    outline: none;
    transition: 0.5s;
    background-color: transparent;
    height: 40px;
}
.form_wrapper input::placeholder, .form_wrapper textarea::placeholder {
    font-size: 14px;
}
/*.form_wrapper input[readonly] { background:#f7f7f7; color:#444; }*/
.form_wrapper .error-text { color:#c62828; font-size:13px; margin-top:6px; display:none; }
.form_wrapper .error-text.show { display:block; }
.form_wrapper .valid-text { color:#2e7d32; font-size:13px; margin-top:6px; display:none; }
.form_wrapper .valid-text.show { display:block; }
.form_wrapper .loading-dot { display:inline-block; width:10px; height:10px; border-radius:50%; background:#666; animation: blink 1s infinite; margin-left:8px; vertical-align:middle; }
    @keyframes blink { 0% {opacity:1} 50% {opacity:0.2} 100% {opacity:1} }    
input:not([readonly]), select:not([readonly]) {
    border: 0.94px solid #0000001A;
    background-color: #fff;
    padding: 8px;
    border-radius: 8px;
}


/* HIDE REAL FILE INPUT */
/* hide native file input but keep it keyboard accessible */
.custom-file input[type="file"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* WRAPPER */
.custom-file {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* CUSTOM BUTTON */
.file-btn {
    background: #14597d17;
    color: #004c73;
    padding: 6px 10px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    white-space: nowrap;
    font-weight: 600;
    border: #14597d24 1px solid;
}

.file-btn:hover {
    background: #13577b;
    color: #fff;
}

/* FILENAME TEXT */
.file-name {
    font-size: 14px;
    color: #666;
}
.tab_sub_ttl {
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    color: #599ef1;
}

.certificate_form {
    border: #e9e9e9 1px solid;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
}
.btn-update, .btn-add {
    background: #ff8a00;
    color: #ffffff;
    padding: 10px 20px;
    white-space: nowrap;
    font-size: 16px;
    transition: .03s;
    font-weight: 600;
}
.btn-update:hover, .btn-add:hover {
    background: #ff8a007a;
    color: #462309;
}


.field-success-message {
  color: #28a745;
  font-size: 12px;
  margin-top: 4px;

  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.field-success-message.show {
  opacity: 1;
  max-height: 50px;
}





/* Custom Crop Modal Styles */
.custom-crop-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.custom-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.modal-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.custom-modal-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: #f9fafb;
}

.crop-controls-toolbar {
  background: white;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.toolbar-group:last-child {
  margin-bottom: 0;
}

.toolbar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
  min-height: 44px;
}

.toolbar-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  transform: translateY(-1px);
}

.toolbar-btn:active {
  transform: translateY(0);
}

.toolbar-btn svg {
  flex-shrink: 0;
}

.toolbar-btn.btn-crop {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.toolbar-btn.btn-crop:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.toolbar-btn.btn-success {
  background: #10b981;
  color: white;
  border-color: #10b981;
}

.toolbar-btn.btn-success:hover {
  background: #059669;
  border-color: #059669;
}

.toolbar-btn.btn-danger {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.toolbar-btn.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

.image-preview-container {
  width: 100%;
  height: 400px;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.crop-image-preview {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.crop-instructions {
  background: white;
  border-radius: 8px;
  padding: 16px;
  border-left: 4px solid #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.instruction-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #4b5563;
  font-size: 14px;
}

.instruction-item:last-child {
  margin-bottom: 0;
}

.instruction-item svg {
  flex-shrink: 0;
}

.custom-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: white;
}

.modal-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.modal-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-btn-primary:active {
  transform: translateY(0);
}

.modal-btn-secondary {
  background: white;
  color: #374151;
  border-color: #d1d5db;
}

.modal-btn-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.d-none {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-modal-container {
    width: 95%;
    max-height: 95vh;
  }
  
  .image-preview-container {
    height: 300px;
  }
  
  .toolbar-group {
    justify-content: center;
  }
  
  .toolbar-btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
  
  .modal-btn {
    min-width: 100px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .custom-modal-header {
    padding: 16px;
  }
  
  .custom-modal-body {
    padding: 16px;
  }
  
  .custom-modal-footer {
    padding: 16px;
    flex-direction: column;
  }
  
  .modal-btn {
    width: 100%;
  }
  
  .toolbar-btn span {
    display: none;
  }
  
  .toolbar-btn {
    min-width: 60px;
    padding: 10px;
    justify-content: center;
  }
  
  .toolbar-btn svg {
    margin: 0;
  }
}

/* Loading overlay for cropping */
.crop-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 10px;
}

.crop-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* File upload preview styles */
.file-upload-preview {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-preview-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}

.file-info {
  flex: 1;
}

.file-name {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.file-size {
  font-size: 12px;
  color: #6b7280;
}

/* Status messages */
.upload-message {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-block;
}

.upload-message.text-danger {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.upload-message.text-success {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #6ee7b7;
}

/* Ensure modal is on top of everything */
.custom-crop-modal {
  z-index: 99999 !important;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}
.file-name {
    display: none;
}

.status_btn .btn {
    padding: 5px;
    font-size: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
}
.approve_btn {
    background: #049e04;
}
.status_btn svg {
    width: 16px;
    height: 16px;
}
.reject_btn{
    background: #fe6464;
}
.modal {
    position: fixed!important;
}












