.scrollTab {
  overflow-x: auto;
  white-space: nowrap;
}

.font30{
	color: #000;
	font-size: 22px !important;
}

.fa-user-circle{
  font-size: 26px !important;
}

.logFont{
	font-size: 26px !important;
}


/****** custom popup*******/

/*@charset "utf-8";*/
/* CSS Document */

.dialog-ovelay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.50);
    z-index: 999999
}
.dialog-ovelay .dialog {
    width: 400px;
    margin: 100px auto 0;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    border-radius: 3px;
    overflow: hidden
}
.dialog-ovelay .dialog header {
    padding: 10px 8px;
    background-color: #f6f7f9;
    border-bottom: 1px solid #e5e5e5
}
.dialog-ovelay .dialog header h3 {
    font-size: 17px;
	font-weight:600;
    margin: 0;
    display: inline-block
}
.dialog-ovelay .dialog header .fa-close {
    float: right;
    color: #c4c5c7;
    cursor: pointer;
    transition: all .5s ease;
    padding: 0 2px;
    border-radius: 1px    
}
.dialog-ovelay .dialog header .fa-close:hover {
    color: #b9b9b9
}
.dialog-ovelay .dialog header .fa-close:active {
    box-shadow: 0 0 5px #673AB7;
    color: #a2a2a2
}
.dialog-ovelay .dialog .dialog-msg {
    padding: 20px 10px
}
.dialog-ovelay .dialog .dialog-msg p{
    margin: 0;
    font-size: 15px;
}
.dialog-ovelay .dialog footer {
    border-top: 1px solid #e5e5e5;
    padding: 8px 10px;
	background:none;
}
.dialog-ovelay .dialog footer .controls {
    direction: rtl;
	float:right;
	padding:10px;
}
.dialog-ovelay .dialog footer .controls .button {
    padding: 5px 15px;
    border-radius: 3px
}
.dialog-ovelay .dialog footer .controls .btn-yes { background-color:#2E363F; border-color:#2E363F; color:#fff; }
.dialog-ovelay .dialog footer .controls .btn-yes:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
    color: #333;
}

/****************/
/* Prevent text overflow in AdminLTE 4 Sidebar Brand */
.sidebar-brand {
  display: flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  padding: 0.5rem 1rem !important;
}

.sidebar-brand .brand-link {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  overflow: hidden !important;
}

.sidebar-brand .brand-text,
.user-panel .info {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
}


#example2 thead th {
  background-color: #212529 !important;
  color: #ffffff !important;
  border-color: #138496 !important;
}

/****** MANAGE PAGES ********/
		
.stat-card { border: 0; border-radius: .75rem; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.stat-icon { width: 46px; height: 46px; border-radius: .65rem; display:flex; align-items:center; justify-content:center; font-size:1.3rem; }
.emp-table thead th { font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; padding:.85rem 1rem; white-space:nowrap; }
.emp-table tbody td { padding:.85rem 1rem; vertical-align:middle; }
.act-btn { width:28px; height:28px; padding:0; font-size:.75rem; line-height:1; display:inline-flex; align-items:center; justify-content:center; border-radius:.4rem; }
.act-btn i { font-size:.85rem; }

/* Small circular icon badge used in summary/stat tiles */
.stat-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-icon-xs {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
}

div.dataTables_filter input { border-radius:.5rem; margin-left:.5rem; }
div.dataTables_length select { border-radius:.5rem; }


.emp-avatar { width:46px; height:46px; border-radius:50%; object-fit:cover; border:2px solid var(--bs-border-color); }
.emp-name { font-weight:600; color:var(--bs-emphasis-color); line-height:1.2; }
.chip { display:inline-block; font-size:.66rem; font-weight:600; padding:.15rem .45rem; border-radius:.35rem; margin:0 .2rem .2rem 0; letter-spacing:.03em; }
.chip.on  { background:rgba(25,135,84,.12); color:#198754; border:1px solid rgba(25,135,84,.25); }
.chip.off { 
    background: rgba(220, 53, 69, 0.12); 
    color: var(--bs-secondary-color); /* Muted text */
    border: 1px solid rgba(220, 53, 69, 0.25); 
    text-decoration-line: line-through;
    text-decoration-color: var(--bs-danger); /* Distinct red line */
    opacity: .7;
}

.sec-card { 
    border: 0; 
    border-radius: .75rem; 
    box-shadow: 0 1px 3px rgba(0,0,0,.08); 
    overflow: hidden; 
}
.sec-card .card-header { 
    background: var(--bs-tertiary-bg); 
    border-bottom: 0; 
    padding: .9rem 1.25rem; 
}
.sec-title { 
    font-weight: 600; 
    margin: 0; 
    font-size: 1rem; 
    display: flex; 
    align-items: center; 
    gap: .6rem; 
}
.sec-ico { 
    width: 30px; 
    height: 30px; 
    border-radius: .5rem; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    font-size: .95rem; 
}
.form-label { 
    font-size: .8rem; 
    font-weight: 600; 
    /*color: var(--bs-secondary-color);*/ 
    margin-bottom: .25rem; 
}
.req::after { 
    content: " *"; 
    color: #dc3545; 
}
.invalid-feedback { 
    margin-left: 0 !important; 
    display: block; 
}
.profile-strip { 
    border: 0; 
    border-radius: .75rem; 
    box-shadow: 0 1px 3px rgba(0,0,0,.08); 
}
.profile-img { 
    width: 64px; 
    height: 64px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--bs-border-color); 
}
.rule-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: .6rem 0; 
    border-bottom: 1px dashed var(--bs-border-color); 
}
.rule-row:last-child { 
    border-bottom: 0; 
}
.doc-tile { 
    border: 1px dashed var(--bs-border-color); 
    border-radius: .6rem; 
    padding: .75rem; 
    margin-bottom: .75rem; 
}
.doc-thumb { 
    width: 100%; 
    max-height: 110px; 
    object-fit: cover; 
    border-radius: .4rem; 
    border: 1px solid var(--bs-border-color); 
}
.action-bar { 
    position: sticky; 
    bottom: 0; 
    z-index: 5; 
    background: var(--bs-body-bg); 
    border-top: 1px solid var(--bs-border-color); 
    padding: .75rem 1rem; 
    border-radius: .75rem .75rem 0 0; 
    box-shadow: 0 -2px 8px rgba(0,0,0,.05); 
}


.misc-card {
	border: 1px solid var(--bs-border-color-translucent);
	border-radius: 0.85rem;
	transition: all 0.25s ease-in-out;
	text-decoration: none !important;
	display: flex;
	color: inherit;
	min-height: 96px; /* Uniform height for all tiles */
}

.misc-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08) !important;
}

.misc-icon-box {
	width: 48px;
	height: 48px;
	border-radius: 0.65rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	flex-shrink: 0;
}

/* Title styling with consistent line height */
.tile-title {
	line-height: 1.25;
}

/* Professional Tile Background Color Themes */
.tile-navy {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-left: 4px solid #0f172a !important;
}
.tile-navy:hover { background: #e2e8f0; }

.tile-blue {
	background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
	border-left: 4px solid #0284c7 !important;
}
.tile-blue:hover { background: #bae6fd; }

.tile-danger {
	background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
	border-left: 4px solid #e11d48 !important;
}
.tile-danger:hover { background: #fecdd3; }

.tile-warning {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
	border-left: 4px solid #d97706 !important;
}
.tile-warning:hover { background: #fde68a; }

.tile-teal {
	background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
	border-left: 4px solid #16a34a !important;
}
.tile-teal:hover { background: #bbf7d0; }

.tile-purple {
	background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
	border-left: 4px solid #9333ea !important;
}
.tile-purple:hover { background: #e9d5ff; }


.bg-filterbox { 
    background-color: #e7ecf1 !important; 
	border-color: rgba(13, 110, 253, 0.25) !important; 
}


.time-input {
	width: 62px;
	text-align: center;
	font-size: 0.825rem;
	padding: 0.25rem 0.2rem;
	border-radius: 0.375rem;
}
.row-weekoff { background-color: rgba(242, 207, 226, 0.35) !important; }
.row-festival { background-color: rgba(178, 238, 225, 0.35) !important; }
.row-absent { background-color: rgba(239, 111, 125, 0.25) !important; }


.info-tile { background: var(--bs-tertiary-bg); border-radius: .5rem; padding: .75rem 1rem; height: 100%; }
.info-tile-label { font-size: .72rem; font-weight: 600; text-transform: uppercase; color: var(--bs-secondary-color); letter-spacing: 0.03em; }
.info-tile-value { font-size: .95rem; font-weight: 600; color: var(--bs-body-color); margin-top: .15rem; }


.att-grid  { font-size: 0; white-space: nowrap; }
        .att-item  { display: inline-block; box-sizing: border-box; width: 30px; height: 30px; line-height: 26px; margin-right: 6px; text-align: center;
                     font-size: .8rem; font-weight: 700; border: 1px solid transparent; border-radius: 50%; cursor: default; }
        .att-zero  { opacity: .4; }

        .att-present { background: #d1e7dd; background: var(--bs-success-bg-subtle, #d1e7dd); border-color: #198754; border-color: var(--bs-success, #198754); color: #0a3622; color: var(--bs-success-text-emphasis, #0a3622); }
        .att-absent  { background: #f8d7da; background: var(--bs-danger-bg-subtle, #f8d7da);  border-color: #dc3545; border-color: var(--bs-danger, #dc3545);  color: #58151c; color: var(--bs-danger-text-emphasis, #58151c); }
        .att-weekoff { background: #cfe2ff; background: var(--bs-primary-bg-subtle, #cfe2ff); border-color: #0d6efd; border-color: var(--bs-primary, #0d6efd); color: #052c65; color: var(--bs-primary-text-emphasis, #052c65); }
        .att-fest    { background: #fff3cd; background: var(--bs-warning-bg-subtle, #fff3cd); border-color: #ffc107; border-color: var(--bs-warning, #ffc107); color: #664d03; color: var(--bs-warning-text-emphasis, #664d03); }
		
		
		
		/* Unified Rectangular Attendance Badge */
        .att-rect-group {
            display: inline-flex;
            align-items: center;
            border: 1px solid var(--bs-border-color, #dee2e6);
            border-radius: 6px;
            overflow: hidden;
            font-size: 0.8rem;
            font-weight: 700;
            white-space: nowrap;
            background: #fff;
        }
        .att-rect-item {
            display: inline-block;
            padding: 4px 8px;
            text-align: center;
            min-width: 28px;
            cursor: default;
        }
        .att-rect-zero {
            opacity: 0.35;
        }

        /* Colors matching your original theme */
        .att-r-present { background: var(--bs-success-bg-subtle, #d1e7dd); color: var(--bs-success-text-emphasis, #0a3622); border-right: 1px solid rgba(25, 135, 84, 0.2); }
        .att-r-absent  { background: var(--bs-danger-bg-subtle, #f8d7da);  color: var(--bs-danger-text-emphasis, #58151c);  border-right: 1px solid rgba(220, 53, 69, 0.2); }
        .att-r-weekoff { background: var(--bs-primary-bg-subtle, #cfe2ff); color: var(--bs-primary-text-emphasis, #052c65); border-right: 1px solid rgba(13, 110, 253, 0.2); }
        .att-r-fest    { background: var(--bs-warning-bg-subtle, #fff3cd); color: var(--bs-warning-text-emphasis, #664d03); }
		
		/* Total Days Badge Style */
.att-rect-item.att-r-total {
    background: var(--bs-secondary-bg-subtle, #e2e3e5);
    color: var(--bs-secondary-text-emphasis, #383d41);
    border-left: 1px solid rgba(108, 117, 125, 0.2);
    font-weight: 800;
}