/* body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  background-color: #f2f2f2;
  color: #350000;
}  */

.dash-container {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  color: #350000;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.dash-area{
  background-color: #ececec;
  padding: 40px;
}

.profile-body {
  color: #350000;
} 

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 280px;
}

.sidebar {
  width: 250px;
  background-color: #f1f1f1;
  color: #444444;
  padding-top: 20px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  /* height: 100vh; */
}

.sidebar .nav-link.active-link {
  background-color: #444444;
  color: #fff;
  /* font-weight: bold; */
  /* border-radius: 5px; */
}


.sidebar .menu-title {
  padding: 15px 20px;
  font-weight: bold;
  font-size: 12px;
  color: #aaa;
  background-color: #a01313;
  /* border-bottom: 1px solid #34495e; */
}

.sidebar a {
  display: block;
  padding: 1em 1.5em;
  color: #444444;
  text-decoration: none;
  border-bottom: 1px solid #444444;
  font-size: 18px;
}

.sidebar a:hover {
  color: #fff;
  background-color: #c62625;
}

.content {
    flex: 1;
    padding: 20px;
    background-color: #ffffff;
}

.form-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  background-color: #fafafa;
}


.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.heading {
  margin: 0;
  font-size: 1.5em;
  color: #bd2727;
}

.heading3 {
  margin: 0;
  color: #350000;
  font-size: 1.17em;
}

.sub-heading {
  margin: 0;
  color: #fff;
}


label {
display: block;
font-weight: 600;
margin-bottom: 6px;
color: #333;
}

/*,
input[type="date"],*/

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"]
select {
  width: 100% !important;
  padding: 6px !important;
  font-size: 15px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input:focus {
  border-color: #bd2727;
  outline: none;
  }


.btn {
  padding: 5px 10px;
  background: #bd2727;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: capitalize;
  min-height: 0.5em;
  /* font-weight: normal; */
}

.btn:hover {
  background: #a01313;
}


[type=button], [type=submit], button {
  display: inline-block;
  font-weight: 400;
  color: white !important;
  text-align: center;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: #bd2727 !important;
  border: 1px solid #bd2727 !important;
  padding: 3px 15px !important;
  font-size: 1rem;
  border-radius: 4px;
  transition: all .3s;
}

.disabled-link {
  pointer-events: none;
  cursor: not-allowed;
  background-color: black;  /* Or grey */
  color: white;
  opacity: 0.6;  /* Optional to show disabled effect */
  padding: 6px 12px; /* Optional to make it button-like */
  display: inline-block;
  border-radius: 4px;
  text-decoration: none;
}


/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

.terms-modal-content {
  background-color: #fff;
  margin: 5% auto 10%;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
}

/* Header (red card style) */
.terms-modal-content h2 {
  margin: 0;
  padding: 16px;
  background-color: #c0392b; /* Red */
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}
.terms-modal-content p{
  font-size: 16px;
  color: #333;
}
.modal-content ul, .terms-modal-content ul{
  padding-left: 10px;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.hrline{
  border-top: #d79d9d 1px solid;
  display: block;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  unicode-bidi: isolate;
  overflow: hidden;
  opacity: 1;
}

.text-left{
  text-align: left;
}

.text-right{
  text-align: right;
}

.text-center{
  text-align: center;
}

h1, h2, h3, h4{
  margin: 5px 0;
}

h2{ font-size: 1.5em;}

input, textarea, select{
  /* max-width: 90%; */
  max-width: 100%;
}

.service-label {
  /* display: flex;
  align-items: flex-start;
  gap: 8px; */
}

.service-label input[type="checkbox"] {
  margin: 0;
}

.service{
  width: 80%;
  margin: 0;
}
.agree{
  width: 100%;
  margin: 0;
}
.margin-0{
  margin: 0;
}

a.link{ color: #bd2727 !important; cursor: pointer !important;} a.link:hover{ color: #910e0e !important;}

.app-table{
  width: 100%; border-collapse: collapse;
}

.app-table thead tr{ background-color: #bd2727; color: white;}

.app-table th, .app-table td {
  padding: 15px;
}
/** CUSTOM CALENDAR PICKER **/
input {
padding: 8px;
width: 250px;
font-size: 12px;
}

.calendar {
position: absolute;
top: 425px /*288px 120px*/;
/*left: 50px;*/
background: white;
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
display: none;
z-index: 1000;
}

.calendar-res {
  position: absolute;
  top: 110px /*288px 120px*/;
  /*left: 50px;*/
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 1000;
  }

.calendar-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2px 5px;
background-color: #889aaf;
color: white;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}

.calendar-header button {
background: none;
border: none;
color: white;
font-size: 18px;
cursor: pointer;
}

.calendar-body {
display: grid;
grid-template-columns: repeat(7, 1fr);
padding: 2px;
}

.day-name, .date-cell {
text-align: center;
padding: 2px;
font-size: 12px;
}

.day-name {
font-weight: bold;
}

.date-cell {
border: 1px solid #eee;
border-radius: 6px;
margin: 1px;
cursor: pointer;
position: relative;
min-width: 43px;
min-height: 30px;
}

.date-cell .custom-note {
font-size: 9px;
color: #555;
margin-top: 3px;
}

.unavailable {
background-color: #eee;
color: #aaa;
cursor: not-allowed;
}

.available {
background-color: #a9d8b4;
}

.weekend {
background-color: #f8d7da;
}

/* .holiday {
background-color: #c4c4c4;
} */

.unavailable {
  background-color: #c4c4c4;
  }

.selected {
background: #28a745 !important;
color: white !important;
}

.nextprev-button {
  padding: 2px 10px;
  background: #bd2727;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
/** CUSTOM CALENDAR PICKER **/

.checkbox-group {
margin: 20px 0;
}

.checkbox-group label {
font-weight: normal;
font-size: 15px;
color: #333;
display: flex;
align-items: center;
}

.checkbox-group input {
margin-right: 10px;
transform: scale(1.1);
}

.mb-20{ margin-bottom: 20px !important;}

select:focus {
border-color: #bd2727;
outline: none;
box-shadow: 0 0 5px rgba(189, 39, 39, 0.5);
}

.termsarea {
text-align: left;
overflow-y: scroll;
padding:16px;
height: 300px;
}


.line-height0{
  line-height: 0;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  padding: 0px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Reschedule Modal Content */
.reschedule-modal-content {
  background-color: #fff;
  padding: 0px;
  border-radius: 10px;
  max-width: 800px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Header (red card style) */
.reschedule-modal-content h2 {
  margin: 0;
  padding: 8px;
  background-color: #c0392b; /* Red */
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/*//////////////////////////////*/
/* Overlay background */
.modal-overlay {
  display: none; /* Show with JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
  justify-content: center;
  align-items: center;
  z-index: 9095;
  animation: fadeIn 0.3s ease forwards;
}
/* Reschedule Overlay background */
.res-modal-overlay {
  display: none; /* Show with JS */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
  justify-content: center;
  align-items: center;
  z-index: 2999;
  animation: fadeIn 0.3s ease forwards;
}

/* Modal box */
.modal-content {
  background: #fff;
  width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  opacity: 0;
  animation: scaleIn 0.3s ease forwards;
  font-family: Arial, sans-serif;
}

/* Header (red card style) */
.modal-content h2 {
  margin: 0;
  padding: 10px;
  background-color: #c0392b; /* Red */
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

/* Message */
.modal-content p {
  padding: 16px;
  font-size: 16px;
  color: #333;
}

/* Close Button */
.modal-close {
  position: absolute;
  /* top: 10px; */
  right: 20px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/*/////////////////////////////*/

[type="submit"]:disabled {
    /*pointer-events: none;*/ /* Prevent any mouse events */
    opacity: 0.6;         /* Make it look visually disabled */
    cursor: not-allowed;  /* Change cursor to show it's not clickable */
    background-color: #ccc; /* Optional: gray background */
    color: #666;            /* Optional: darker text color */
}


table td, table th {
  padding: 5px !important;
  line-height: 1.5;
  vertical-align: top;
  border: 1px solid hsla(0, 0%, 50.2%, .5019607843);
}

/** HISTORY PAGE CUSTOM CSS **/
.app-history-container {
  width: 100%;
  /* margin: 0px auto; */
}

.filter-section {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
}

.input-group {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}

.input-group span {
  padding: 4px 10px;
  background-color: #eee;
  border-right: 1px solid #ccc;
  font-size: 14px;
  white-space: nowrap;
}

.input-group input[type="date"] {
  width: 150px;
  padding: 3px 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

.filter-section button {
  padding: 8px 16px;
  background-color: #bd2727;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.table-wrapper {
  border: 1px solid #d39191;
  max-height: 300px;
  overflow: auto;
}

.app-table {
  border-collapse: collapse;
  width: 100%;
}

.app-table thead {
  position: sticky;
  top: -1px;
  z-index: 2;
}

.app-table th,
.app-table td {
  padding: 2px 8px;
  text-align: left;
  border: solid 1px #d39191;
  background-color: white;
  white-space: nowrap;
}

.app-table th {
  background-color: #bd2727;
  color: white;
}

button.view-btn {
  font-size: 12px !important;;
  padding: 4px 10px !important;
  background-color: #878787 !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  width: 100% !important;
  cursor: pointer !important;
}
/** END OF HISTORY PAGE CUSTOM CSS **/

/** CUSTOM SCROLLBAR **/
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: #acacac;
  border-radius: 20px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 20px;
}
/** END OF CUSTOM SCROLLBAR **/

/** RESCHEDULE-MODAL **/
#reschedule-modal .grid-view {
  display: grid;
  grid-template-columns: 1fr 0fr;
  gap: 10px;
  text-align: left;
}

input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
  width: 100%;
  border: 1px solid #c3c3c3 !important;
  border-radius: 5px !important;
  padding: .25rem 1rem !important;
  transition: all .3s;
}

input[type=date]{
  width: 100%;
  border-radius: 5px !important;
  padding: .25rem 1rem !important;
  transition: all .3s;
}

input[type=date].datepicker{
  width: 100%;
  border: 1px solid #c3c3c3 !important;
  border-radius: 5px !important;
  padding: .15rem 1rem !important;
  transition: all .3s;
}

.mandatory {
  margin: 0;
  font-size: 1em;
  color: #bd2727;
}

#passport-status{
  font-size: 0.9em;
}

.badge-success {
  color: #3d7432 !important;
  background-color: #abe79f !important;
  border-radius: 50px !important;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  width:100%;
}

.badge-danger {
  color: #7e1313 !important;
  background-color: #f5b0b0 !important;
  border-radius: 50px !important;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  width:100%;
}

/** CUSTOM TRACK APPOINTMENT CSS **/
.track-input-width{
  min-width: 200px;
}
.track-btn{
  margin-top: 25px;
  width: 100%;
}
/** CUSTOM TRACK APPOINTMENT CSS **/

/** FEEDBACK & GRIEVANCE CUSTOM CSS **/
.btn-option {
  border: 2px solid #b71c1c !important;
  color: #b71c1c !important;
  background-color: #fff !important;
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.btn-option:hover {
  background-color: #fbeaea !important;
}


.grievance-container {

  padding: 30px 40px;
  max-width: 1000px;
    margin: 40px auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
  
}


.grievance-container p {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 20px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #fff;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
}

.expanding-textarea {
  width: 100%;
  min-height: 100px;
  max-height: 200px;
  overflow: hidden; /* hides scrollbars */
  resize: vertical; /* user can manually resize vertically */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.4;
  box-sizing: border-box;
}


/* Input focus effect */
input:focus,
select:focus,
textarea:focus {
  border-color: #c82333;
  outline: none;
}

/* Phone input row */
.phone-row {
  display: flex;
  gap: 10px;
}

.phone-row select,
.phone-row input {
  flex: 1;
}

/* Submit Button */
button {
  background-color: #c82333;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #a71d2a;
}

/* Optional link styling */
.link-text {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: #6c757d;
}

.link-text a {
  color: #c82333;
  text-decoration: none;
}



/* End Grievnace Style css */

/* Feedback css */


.feedback-container {
max-width: 800px;
margin: 40px auto;
padding: 30px;
border-radius: 16px;
background: #fff;
box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
font-family: 'Segoe UI', sans-serif;
color: #222;
}

.feedback-container h2 {
text-align: center;
color: #b71c1c;
margin-bottom: 30px;
font-size: 1.4rem;
}
.pill-options {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 16px;
margin-bottom: 30px;
padding: 0 10px;
}

.pill-option {
flex: none;
}

.pill-option input {
display: none;
}

.pill-option span {
display: inline-block;
padding: 12px 24px;
border: 2px solid #b71c1c;
border-radius: 50px;
font-weight: 600;
font-size: 16px;
background-color: white;
color: #b71c1c;
cursor: pointer;
transition: all 0.3s ease;
white-space: nowrap;
min-width: 120px;
text-align: center;
}

.pill-option input:checked + span {
background-color: #b71c1c;
color: white;
border-color: #a10000;
transform: scale(1.03);
}

.pill-option span:hover {
background-color: #f9e3e3;
}

/* Responsive: stack nicely on smaller screens */
@media (max-width: 600px) {
.pill-options {
  flex-direction: column;
  align-items: center;
}
}



/* Consent Section */
.consent-section {
background-color: #fff5f5;
border: 1px solid #bd2727;
padding: 20px;
margin-top: 20px;
border-left: 6px solid #bd2727;
border-radius: 6px;
font-size: 14px;
color: #333;
line-height: 1.5;
margin-bottom: 20px;
}

.consent-section strong {
display: block;
font-size: 16px;
color: #b30000;
margin-bottom: 10px;
}

.feedback-submit-button {
/* margin-top: 25px; */
padding: 12px 25px;
background-color: #b71c1c;
color: white;
font-size: 16px;
font-weight: bold;
border: none;
border-radius: 25px;
cursor: pointer;
display: block;
width: 200px;
margin-left: auto;
margin-right: auto;
}

.feedback-submit-button:hover {
background-color: #a10000;
}

.grey-container{
  background-color: #f1f1f1;; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.11);
}

.btn-width-100{
  width: 100% !important;
}

.feedback-heading{
  color: #a10000; margin-bottom: 8px; text-align: center;
}

.cursor-no{
  cursor: not-allowed;
}
/** FEEDBACK & GRIEVANCE CUSTOM CSS **/

input:disabled {
  cursor: default;
  background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3));
  color: light-dark(rgb(84, 84, 84), rgb(170, 170, 170));
}

.grey-btn {
  display: block;
  font-size: 12px !important;
  padding: 4px 10px !important;
  background-color: #878787 !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  width: 100% !important;
  margin-bottom: 5px;
  cursor: pointer !important;
}

.grey-btn:hover {
  font-size: 12px !important;
  padding: 4px 10px !important;
  background-color: #bd2727 !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  width: 100% !important;
  cursor: pointer !important;
}

.active-mobnav {
  font-size: 12px !important;
  padding: 4px 10px !important;
  background-color: #bd2727 !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  width: 100% !important;
  cursor: pointer !important;
}

.mb-15{
  margin-bottom: 15px;
}

.upper{
  text-transform: uppercase;
}

/** MEDIA QUERIES FOR TRACK APPLICATION **/

@media (max-width: 600px) {
  /* Your styles for screens 600px and above */
  .dash-area {
    padding: 20px;
  }
  .content {
    padding: 10px;
  }
  .form-box {
    padding: 10px;
    font-size: 12px;
  }
  .sidebar{
    display: none;
  }

  [type=checkbox] {
    width: 100%;
  }
  .mobile-menu {
    display: block;
    width: 100%;
    background-color: #f1f1f1;
    color: #444444;
    padding: 10px 5px;
    flex-shrink: 0;
    margin-bottom: 10px;
    /* display: flex; */
    flex-direction: column;
    /* height: 100vh; */
    border-radius: 5px;
  }
  .app-history-container {
    max-width: 300px;
  }

  /** FILTER SECTION **/
  .filter-section {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .input-group {
    width: 100%;
  }

  .input-group input[type="date"] {
    width: 100%;
  }

  .filter-section button {
    width: 100%;
  }
}

@media only screen and (min-width: 601px) {
  /* Your styles for screens 600px and below */
  .mobile-menu {
    display: none;
  }

}