:root {
  --primary-blue: #478ef4;
  --primary-purple: #a659f3;
  --primary-pink: #b937db;
  --bg-light: #f1f6f8;
  --gray-text: #888;
}

body {
  font-family: "Barlow", sans-serif;
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  background: #f5f6fa;
}

.sidebar {
  background: #6792E2;
  background: linear-gradient(180deg,rgba(103, 146, 226, 1) 0%, rgba(135, 50, 153, 1) 100%);
  min-height: 100vh;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.sidebar a {
  color: white;
  font-size: 1.5rem;
  width: 80px;
  padding: 10px;
  text-align: center;
}
.sidebar a:hover{
  background: #e0e0e073;
  border-left: 7px solid white;
}
.sidebar a.active{
  background: #e0e0e073;
  border-left: 7px solid white;
}
.main {
  margin-left: 80px;
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.card-box {
  border-radius: 12px;
  padding: 20px;
  color: white;
}

.blue-bg {
  background-color: white;
    color: black;
}
.purple-bg {
  background-color: white;
    color: black;
}
.pink-bg {
  background-color: white;
    color: black;
}

.white-box {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
}

.operations a {
  width: 100%;
  border: none;
  background-color: white;
  padding: 15px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.operations .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #d9b1ff;
}

@media (max-width: 768px) {
  .main {
    margin-left: 0;
  }
  .sidebar {
    display: none;
  }
}


.tsmess-table thead th{
 background: linear-gradient(to bottom, #7a2ff2, #c62ee8);
}

.table-header .pink {
  color: #cc1178;
}


.table-tools {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.download_img{
  width: 23px !important;
  height: 18px !important;
}
.table-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

thead tr th {
  background-color: #6a5acd !important;
  color: white !important;
}

th,
td {
  padding: 0.8rem;
  border: 1px solid #e0e0e0;
  text-align: center;
  font-size: 0.85rem;
}

.maroon {
  color: #8c337c;
}
.header-text-clr{
  color: #8c337c;
}
.fontweght{
  font-weight: 600;
}
.chart-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: bold;
}

.chart-container {
  position: relative;
   width: 200px;
  height: 200px;
  margin: 0 auto; 
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-display {
  display: flex;
  align-items: center;
}

.header-display p {
  color: var(--accent);
  margin: 5px;
  font-size: 13px;
  word-spacing: 0.5rem;
}

pre {
  padding: 10px;
  margin: 0;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--accent);
}

.days,
.week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin: auto;
  padding: 0 0px;
  justify-content: space-between;
}
.week div,
.days div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2rem;
  width: 2em;
  border-radius: 100%;
  font-size: 13px;
}
.days div:hover {
  background: var(--accent-2);
  color: rgb(25, 25, 201);
  cursor: pointer;
}
.week div {
  opacity: 0.5;
}
.current-date {
  background-color: var(--accent);
  color: var(--white);
}
.display-selected {
  padding: 10px;
  text-align: center;
}
.display-selected p {
  margin: 0px;
}
.accordion-body{
  padding: 5px;
}
.left_dotted_line{
  border-left: 1px dashed #ccc;
  font-size: 11px;
  padding-left: 15px;
}
.pl-0{
  padding-left: 0px;
}
.timeday label{
  font-size: 12px;
}
.heading {
  font-size: 1.2em;
  margin-bottom: 10px;
}
.attendance-overall {
  font-size: 2em;
  font-weight: bold;
  text-align: right;
}
.monthly-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}
.month {
  background-color: #a076f9;
  color: white;
  border-radius: 8px;
  padding: 10px;
  margin: 5px;
  min-width: 70px;
  text-align: center;
}
.march {
  background-color: #639dfd;
}
.mess-bar {
  margin: 10px 0;
}
.bar {
  height: 10px;
  border-radius: 5px;
  background-color: #e0e0e0;
  position: relative;
}
.fill {
  height: 100%;
  border-radius: 5px;
  position: absolute;
  top: 0;
  left: 0;
}
.breakfast { background-color: #b645f2; width: 81%; }
.lunch { background-color: #8164cd; width: 59%; }
.dinner { background-color: #6792e2; width: 67%; }
.label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9em;
  margin-bottom: 5px;
}
.mess_attendance{
  padding: 20px;
  border: none;
}
.zonal_report{
  background-color: white;
  color: black;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
}
.sd_tiles{
  background-color: white;
  color: black;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}
.sd_labeltxtcolor{
  color: #ab0097;
  font-size: 28px;
}
.zonal_report label{
  cursor: pointer;
}
.sd_tiles_label{
  font-size: 16px;
  font-weight: 700;
}
.att_rate, .update-btn, .btn-primary, .btn-primary:hover{
  background: #ab0097;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  border: none;
}
.btn-primary{
  border-radius: 8px !important;
}
.tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.tabs div {
  padding: 10px;
  cursor: pointer;
}
.active-tab {
  border-bottom: 3px solid #a14bcb;
  color: #a14bcb;
}
.zonal_report_select, .btn-secondary, .btn-secondary:hover{
  color: #ab0097;
  border: 1px solid #ab0097;
  cursor: pointer;
  background: transparent;
  padding: 5px 10px;
}
.iconRight i{
  float: right;
}
.iconRight span{
  color: #6792e2;
  font-weight: 700;
}
.healthtextclr{
  color: #6792e2;
  font-weight: 700;
}
.fw-bold large{
  color: #6792e2;
  font-size: 36px;
}
.fw-bold small{
  font-size: 19px;
}
.labeltxtcolor{
  color:#ab0097
}
.labeltext{
  font-size: 12px;
}
.brd-rgt{
  border-right: 1px solid #ccc;
}
.zonedetails{
  padding: 0px 20px;
  border: none;
}
.mess_mar{
  margin-top: 15px;
}
.zonedetails{
  margin-top: 10px;
}
.timedatebg{
  background-color: white;
  color: black;
  border-radius: 25px;
  padding: 5px 15px;
  font-size: 12px;
}
a{
  text-decoration: none;
  color: inherit;
}
.vendors td{
  border: 0;
  text-align: left;
}
#exampleModalLabel{
  color:#ab0097;
}
.modalpopup{
  cursor: pointer;
}
.accordion-button:not(.collapsed){
  background-color: transparent;
}
.messages-popup {
  position: absolute;
  top: 50px;
  right: 0;
  width: 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.message-item {
  display: flex;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d9e9fc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 10px;
}

.avatar.pink {
  background-color: #f3d5eb;
}

.message-content p {
  font-size: 12px;
  margin: 2px 0 0;
  color: #555;
}

.d-none {
  display: none;
}
.mail_sidebar {
  background-color: #ffffff;
  height: 100vh;
  border-right: 1px solid #dee2e6;
}
.email-list-item {
  padding: 12px;
  cursor: pointer;
}
.email-list-item:hover {
  background-color: #f1f1f1;
}
.email-list-item.active {
  background-color: #e6dcf7;
  color: #333;
  border: none;
}
.email-details {
  background-color: #ffffff;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
  border-left: 1px solid #dee2e6;
}
.selected-mail {
  background-color: #e6dcf7;
}
.blue-bg_ts{
  background: #6792e1;
  color: white;
}
.purple-bg_ts{
  background:#8164ce;
  color: white;
}
.pink-bg_ts{
  background:#b930d8;
  color: white;
}
.left-icon {
  width: 25px;
}
.toolbar {
display: flex;
align-items: center;
padding: 10px;
background: #f9f9fb;
border-radius: 8px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
gap: 12px;
font-family: Arial, sans-serif;
}

.new-mail {
background-color: #a155b9;
color: white;
border: none;
padding: 8px 14px;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
}

.new-mail .arrow {
margin-left: 6px;
font-size: 0.8em;
}

.checkbox {
transform: scale(1.2);
cursor: pointer;
}

.icon-button {
background: none;
border: none;
cursor: pointer;
font-size: 15px;
display: flex;
align-items: center;
gap: 4px;
color: #333;
}

.icon-button.report {
color: orange;
}

.divider {
height: 24px;
width: 1px;
background-color: #ddd;
margin: 0 5px;
}

.menu {
margin-left: auto;
font-size: 20px;
cursor: pointer;
}
.alerts span {
  height: 12px;
  width: 12px;
  display: inline-block;
  border-radius: 50%;
  margin: 0 2px;
}
.green { background-color: green; }
.yellow { background-color: yellow; }
.red { background-color: red; }
tfoot td {
  font-weight: bold;
  background-color: #f0f0f0;
}
.tab-content {
  margin-top: 20px;
}
.nav-tabs .nav-link{
  border: none;
  color: black;
  font-weight: 600;
}
.nav-tabs .nav-link.active {
  color: #bd006b !important;
  border-bottom: 2px solid #bd006b;
}
.checkmark {
  font-size: 1.2rem;
  color: black;
}


.login_bg{
  background: url(../img/login_bg.png);
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
}
.login_form{
  background-color: white;
  height: 100vh;
  width: 100%;
}
.btn-login {
  background-color: #8e44ad;
  color: white;
  width: 100%;
  padding: 10px;
  font-size: 1.2rem;
  border-radius: 8px;
}
.btn-login:hover, .btn-login:focus {
  background-color: #732d91;
  color: white;
}
.form_sec{
  padding: 40px;
}
.info-box {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 10px 0;
  background-color: #f8f9fa;
}
.label_st {
  font-weight: 500;
  color: #555;
}
.value_st {
  font-weight: bold;
  color: #c71585; /* MediumVioletRed to match the image */
}
.card-custom {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background-color: #fff;
}
.circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
}
.card-custom-pink { background-color: #f3c6e6; }
.card-custom-blue { background-color: #d4d9f2; }
.archive-item {
  background-color: #f5e6f7;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 8px;
}
.tag {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
}
.imp {
  background-color: #c2b5f5;
  color: #333;
}
.new {
  background-color: #ff4ebd;
  color: white;
}
.gallery-image {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}
.archive-item p{
  font-size: 10px;
  margin: 0px;
}
.heightReset{
  height: 200px;
  overflow-y: auto;
}
.banner {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* .banner img {
  max-height: 80px; 
} */
.center-text {
  flex-grow: 1;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
}
.main-logo, .main-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
}
.bg-white{
  background: white;
}
.card-custom a{
  display: flex;
  align-items: center;
}
.status-pending { background-color: #fcd34d; color: #000; }
.status-approved { background-color: #4ade80; color: #fff; }
.status-reject { background-color: #f87171; color: #fff; }
.btn-primary-custom {
  background-color: #bd006b;
  border: none;
}
.btn-primary-custom:hover {
  background-color: #bd006b;
  border: none;
}
.page-link-custom {
  background-color: #f9f5ff;
  color: #000;
  border: none;
}
.tab-content{
  background: white;
}
.date-filters {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}
.submit-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}
.cardcus {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.btn-customcus {
  border-color: #c71585;
  color: #c71585;
}
.btn-customcus:hover {
  background-color: #c71585;
  color: white;
}
.section-title {
  color: #c71585;
  margin-bottom: 30px;
}
.btn-accept {
  background-color: #28a745;
  color: white;
}
.btn-reject {
  background-color: #dc3545;
  color: white;
}
.confirm-btn {
  background-color: #ff6b6b;
  color: white;
  border: none;
  padding: 5px 15px;
  border-radius: 5px;
}
.form-control {
  margin: auto;
}
/* Overall wrapper to keep layout consistent */
.custom-tab-wrapper {
  gap: 0;
}

/* Navigation buttons */
.custom-nav .nav-link {
  border-radius: 0;
  border: none;
  background-color: transparent;
  color: #000;
  text-align: left;
  padding: 10px 15px;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}

/* Active tab style to match your image */
.custom-nav .nav-link.active {
  background-color: #fff;
  color: #d63384;
  font-weight: 600;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  box-shadow: 0 0 0 #fff;
  z-index: 2;
}

/* Container for tab content */
.custom-tab-content {
  background-color: #fff;
  border-radius: 0 12px 12px 12px;
  margin-left: -1px;
  min-height: 300px; /* adjust as needed */
  /* z-index: 1; */
  position: relative;
}
