@import url('font-inter.css');

:root {
  --primarycolor: #ff8a00;
  --primarycolorhover: #e67600;
  --btnice: #fff0e0;
  --btnnicetext: #c45c00;
}

body {
  margin: 0;
  padding: 0;
  border-spacing: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fff8f1;

}

/* Override Bootstrap form controls for orange theme */
.form-control {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  transition: all 0.3s ease !important;
}

.form-control:focus {
  border-color: var(--primarycolor) !important;
  box-shadow: 0 0 0 0.25rem rgba(255, 138, 0, 0.15) !important;
  outline: none !important;
}

/* Override Bootstrap table styles */
.table {
  background-color: rgba(255, 255, 255, 0.95) !important;
}

.table thead th {
  border-bottom: 2px solid #ffd9b3 !important;
  color: var(--primarycolor) !important;
}

*,
::after,
::before {
  box-sizing: border-box;
}


/*------custom-scroll-bar - from w3schools.com------------------*/
/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 12px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}





.input-text {
  border-radius: 4px;
  border: 0.5px solid rgb(226, 226, 226);
  padding: 10px;
  width: 92%;
  transition: 0.2s;
  outline: none;
}

.input-text {
  border: 1px solid #e9ecef;
  font-size: 14px;
  line-height: 26px;
  background-color: #fff;
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-weight: 300;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.input-text:hover {
  background-color: rgb(250, 250, 250);
  transition: 0.2s;
  outline: none;
}

.input-text:focus {
  border: 1px solid rgb(10, 118, 216);
  transition: 0.2s;
}

.input-text::placeholder {
  font-family: 'Inter', sans-serif;
}



/* -----------Buttons---------------*/
.btn {
  cursor: pointer;
  padding: 8px 20px;
  outline: none;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}


.btn:hover {
  background-color: var(--primarycolorhover);
  box-shadow: none;
  transition: all 0.35s;
  font-family: 'Inter', sans-serif;
  transform: translateY(-1px);
}


.btn-primary {
  background: linear-gradient(135deg, #ffb347 0%, #ff8a00 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3) !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: 0.3px !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(135deg, #ff9f1c 0%, #e67600 100%) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(255, 138, 0, 0.4) !important;
  transform: translateY(-2px) !important;
}

.btn-primary-soft {
  background-color: var(--btnice);
  border: 1.5px solid #ffd9b3;
  color: var(--btnnicetext);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(255, 138, 0, 0.1);
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.btn-primary-soft:hover {
  background: linear-gradient(135deg, #ffb347 0%, #ff8a00 100%);
  border: 1.5px solid transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.3);
  transform: translateY(-2px);
}


.btn-in-text {
  font-size: 15px;
  letter-spacing: 0.5px;
}

.non-style-link:link,
.non-style-link:visited,
.non-style-link:hover,
.non-style-link:active {
  text-decoration: none;
  color: rgb(43, 43, 43);
}




.btn-label {
  margin-left: 10px;
  padding: 12px 12px;
  outline: none;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border-radius: 5px;
  background-color: #f0f0f073;
  border: 1px solid rgba(57, 108, 240, 0.1);
  font-family: 'Inter', sans-serif;
}


.sub-table {
  border: 1px solid #ebebeb;
  border-radius: 8px;

}

.filter-container {
  width: 100%;
  border: none;
  border-radius: 0;
  margin-bottom: 20px;
  border-spacing: 0;
  padding: 0;
  background: transparent;
}

.filter-container-items {
  margin-top: 7.5px;
  margin-left: 20px;


}

.table-headin {
  font-size: 16px;
  font-weight: 500;
  padding: 10px;
  border-bottom: 3px solid var(--primarycolor);
}

.abc {
  width: 100%;
  height: 550px;
  overflow: auto;
}






.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  opacity: 1;
  z-index: 9998;
  overflow-y: auto;
}

.overlay:target {
  visibility: visible;
  opacity: 1;

}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 50%;
  position: relative;
  transition: all 5s ease-in-out;
  z-index: 9999;
  max-width: 90%;
}

.popup h2 {
  margin-top: 0;
  color: #333;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.popup .close:hover {
  color: var(--primarycolorhover);
}

.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 700px) {
  .box {
    width: 70%;
  }

  .popup {
    width: 70%;
  }
}


input[type=search] {
  background-image: none;
  background-position: initial;
  background-repeat: no-repeat;
  transition: 0.5s;
  padding: 8px 20px;
}

input[type=search]:focus {
  transition: 0.5s;
}

.box {
  width: 120px;
  height: 30px;
  border: 1px solid #e9ecef;
  font-size: 14px;
  color: #212529;
  background-color: #fff;
  line-height: 26px;
  font-weight: 300;
  border-radius: .25rem;
  padding: .375rem .75rem;
  line-height: 1.5;
  width: 100%;
  background-clip: padding-box;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}



.btn-primary-gray {
  background-color: #fff;
  border: 2px solid #f7d9b0;
  color: #c45c00;
  box-shadow: 0 4px 10px 0 rgba(255, 138, 0, 0.18);
}



.btn-primary-gray:hover {
  background-color: #ffe8cf;
  box-shadow: 0 6px 14px 0 rgba(255, 138, 0, 0.22);
}



.button-icon {

  background-position: 10px 50%;
  background-repeat: no-repeat;
  transition: 0.5s;
  padding: 8px 20px 8px 40px;
}



.menu-btn {
  padding: 0;
  color: #3b3b3b;
  transition: none;

}

.menu-btn .non-style-link-menu,
.menu-btn .non-style-link-menu-active {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px 12px 22px;
}

.menu-btn .non-style-link-menu::before,
.menu-btn .non-style-link-menu-active::before {
  content: '';
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-self: center;
  background-image: var(--menu-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.menu-btn:hover .non-style-link-menu::before,
.menu-btn:hover .non-style-link-menu-active::before,
.menu-active .non-style-link-menu::before,
.menu-active .non-style-link-menu-active::before {
  background-image: var(--menu-icon-active, var(--menu-icon));
}

.menu-btn .non-style-link-menu div,
.menu-btn .non-style-link-menu-active div {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.menu-text {
  padding-left: 0;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;

}


.menu-active {
  color: var(--primarycolor);
  border-right: 4px solid var(--primarycolor);
  background: linear-gradient(90deg, var(--btnice) 0%, transparent 100%);
  font-weight: 600;
}

.menu-btn:hover {
  background: linear-gradient(90deg, var(--btnice) 0%, transparent 100%);
  color: var(--primarycolor);
  transition: all 0.3s ease;
}

.non-style-link-menu:link,
.non-style-link-menu:visited,
.non-style-link-menu:active {
  text-decoration: none;
  color: #3b3b3b;
}

.non-style-link-menu:hover {
  text-decoration: none;
  color: var(--primarycolor);
}

.non-style-link-menu-active:link,
.non-style-link-menu-active:visited,
.non-style-link-menu-active:active {
  text-decoration: none;
  color: var(--primarycolor);
}



.menu-icon-dashbord {
  --menu-icon: url('../img/icons/dashboard.svg');
  --menu-icon-active: url('../img/icons/dashboard-hover.svg');
}


.menu-icon-doctor {
  --menu-icon: url('../img/icons/doctors.svg');
  --menu-icon-active: url('../img/icons/doctors-hover.svg');
}

.menu-icon-schedule {
  --menu-icon: url('../img/icons/schedule.svg');
  --menu-icon-active: url('../img/icons/schedule-hover.svg');
}

.menu-icon-appoinment {
  --menu-icon: url('../img/icons/book.svg');
  --menu-icon-active: url('../img/icons/book-hover.svg');
}

.menu-icon-patient {
  --menu-icon: url('../img/icons/patients.svg');
  --menu-icon-active: url('../img/icons/patients-hover.svg');
}

.menu-icon-settings {
  --menu-icon: url('../img/icons/settings.svg');
  --menu-icon-active: url('../img/icons/settings-iceblue.svg');
}

.menu-icon-session {
  --menu-icon: url('../img/icons/session.svg');
  --menu-icon-active: url('../img/icons/session-iceblue.svg');
}

.menu-icon-home {
  --menu-icon: url('../img/icons/home.svg');
  --menu-icon-active: url('../img/icons/home-iceblue.svg');
}





.btn-icon-back {
  background-image: url('../img/icons/back-iceblue.svg');
  background-position: 18px 50%;
  background-repeat: no-repeat;
  transition: 0.5s;
  padding: 8px 20px 8px 40px;
}

.btn-icon-back:hover {
  background-image: url('../img/icons/back-white.svg');
}


.btn-edit {
  background-image: url('../img/icons/edit-iceblue.svg');
}

.btn-edit:hover {
  background-image: url('../img/icons/edit-white.svg');
}

.btn-view {
  background-image: url('../img/icons/view-iceblue.svg');
}

.btn-view:hover {
  background-image: url('../img/icons/view-white.svg');
}

.btn-delete {
  background-image: url('../img/icons/delete-iceblue.svg');
}

.btn-delete:hover {
  background-image: url('../img/icons/delete-white.svg');
}

.btn-filter {
  background-image: url('../img/icons/filter-iceblue.svg');
  background-position: 15px 50%;
}

.btn-filter:hover {
  background-image: url('../img/icons/filter-white.svg');
}




.dashboard-items {
  border: none;
  border-radius: 16px;
  color: var(--primarycolor);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dashboard-items::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primarycolor) 0%, var(--primarycolorhover) 100%);
}

.dashboard-items:hover {
  box-shadow: 0 8px 30px rgba(255, 138, 0, 0.2);
  transform: translateY(-4px);
}


.h1-dashboard {
  margin: 0;
  padding: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  padding-top: 20px;
  color: #1a1a1a;
  letter-spacing: -1px;
}

.h3-dashboard {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 8px;
}

.dashboard-icons {
  background: linear-gradient(135deg, #fff5e6 0%, #ffe8d2 100%);
  padding: 0;
  border-radius: 12px;
  margin-left: 0;
  margin-right: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 138, 0, 0.15);
  flex-shrink: 0;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 36px 36px !important;
}

.dashboard-icon-img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.dashboard-icons.btn-icon-back {
  padding: 0;
  background-position: center center !important;
}

/* Ensure inline background-image doesn't repeat */
.dashboard-icons[style*="background-image"] {
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 36px 36px !important;
}

.dashboard-icons-setting {
  background-color: rgba(184, 184, 184, 0.247);
  padding-top: 30px;
  padding-bottom: 30px;
  border-radius: 7px;
  margin-left: 5px;
  margin-right: 20px;

}

.setting-tabs:hover {
  background-color: #d6d6d657;
}


.doctor-header {
  background: linear-gradient(135deg, #ffb347 0%, #ff8a00 100%);
  color: #ffffff !important;
  padding: 35px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(255, 138, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.doctor-header h1,
.doctor-header h3,
.doctor-header p,
.doctor-header a {
  color: #ffffff !important;
}

.doctor-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

.doctor-header h1,
.doctor-header h3,
.doctor-header p {
  position: relative;
  z-index: 1;
}

.patient-header {
  background-image: url(../img/b3.jpg);
  border: 1px solid #ffd5a8;
  background-color: rgba(255, 173, 96, 0.35);
  background-blend-mode: screen;
}

.search-items {
  padding: 20px;
  margin: 10px;
  width: 95%;
  display: flex;
  padding-left: 0;
  padding-left: 30px;
  box-sizing: border-box;
  line-height: 1.5;
  box-shadow: 0 3px 5px 0 rgba(95, 95, 97, 0.068);
}


.h1-search {
  margin: 0;
  padding: 0;
  font-size: 23px;
  font-weight: 600;
  padding-top: 20px;
  padding-bottom: 10px;
}

.h3-search {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: #212529e3;

}

.h4-search {
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  color: #212529e3;
}

.btn-book {
  background-image: url('../img/icons/book-balck.svg');
  background-position: 68% 50%;
  background-repeat: no-repeat;
  transition: 0.5s;
}