@charset "UTF-8";
/* Reset some default browser styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

@media print {
  body {
    padding: 20px;
  }
  #archive-invoice,
  #new-order-invoice,
  #total-invoices {
    width: 350px;
    border: 1px solid gray;
  }
  #tablecontent {
    width: 100%;
    border-radius: 10px;
    border: 1px solid gray;
    padding: 10px;
  }
}
body {
  background-color: var(--surface-container);
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
}

p,
ul {
  margin: 0px;
  padding: 0px;
}

h2,
h3,
h4,
h5,
h6 {
  margin: 0px;
  padding: 0px;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.main-menu::-webkit-scrollbar {
    width: 2px; /* Make it thinner */
}

.main-menu::-webkit-scrollbar-track {
    background: transparent;
}

.main-menu::-webkit-scrollbar-thumb {
    background: #b7b7b7;
    border-radius: 10px;
}

.main-menu::-webkit-scrollbar-thumb:hover {
    background: #8d8d8d;
}
.main-menu {
  overflow-y: auto;

  height: 92vh;
  overflow-x: hidden;
  
}
/* 
**************************************
    import font web font
**************************************
*/
@font-face {
  font-family: "cairo-black";
  font-weight: 900;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-Black.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "cairo-extrabold";
  font-weight: 800;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-ExtraBold.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "cairo-bold";
  font-weight: 700;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-Bold.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "cairo-simebold";
  font-weight: 600;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-SemiBold.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "cairo-medium";
  font-weight: 500;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-Medium.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "cairo-regular";
  font-weight: 400;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-Regular.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "cairo-light";
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-Light.woff) format("woff");
  font-display: swap;
}
@font-face {
  font-family: "cairo-extralight";
  font-weight: 300;
  src: local("Open Sans Light"), local("OpenSans-Light"), url(../fonts/Cairo-ExtraLight.woff) format("woff");
  font-display: swap;
}
/* font clases */
.text-X-Small {
  font-family: "cairo-Regular";
  font-size: 13px;
}

.text-XX-Small {
  font-family: "cairo-Regular";
  font-size: 12px;
}

.text-small {
  font-family: "cairo-Medium";
  font-size: 14px;
}

.text-Small-light {
  font-family: "cairo-extrabold";
  font-size: 11px;
}

.text-Small-lighter {
  font-family: "cairo-Medium";
  font-size: 17px;
}

.text-Small-Bold {
  font-family: "cairo-Regular";
  font-size: 14px;
}

.text-Small-regular {
  font-family: var(--cairo-Bold);
  font-size: 12px;
}

.text-Small-Bolder {
  font-family: var(--cairo-Bold);
  font-size: 16px;
}

.text-Small-midium {
  font-family: var(--cairo-Medium);
  font-size: 19px;
}

.font-bold {
  font-family: "cairo-extrabold";
}

.font-Medium {
  font-family: "cairo-Medium";
}

.font-regular {
  font-family: "cairo-Regular";
}

.font-regular {
  font-family: "cairo-Regular";
}

.s-10 {
  font-size: 10px;
}

.s-15 {
  font-size: 15px;
}

.s-20 {
  font-size: 20px;
}

.s-25 {
  font-size: 25px;
}

.s-30 {
  font-size: 30px;
}

.s-30 {
  font-size: 30px;
}

.s-35 {
  font-size: 35px;
}

.light-theme {
  --body-background: white;
  --bg-blue: #2f2fcc;
  /* prrimary yellow */
  --primary-color-yellow-light: #fff8e6;
  --primary-color-yellow-Light-hover: #fff5d9;
  --primary-color-yellow-light-active: #ffeab0;
  --primary-color-yellow-Normal: #ffba00;
  --primary-color-yellow-Normal-hover: #e6a700;
  --primary-color-yellow-Normal-active: #cc9500;
  /* dark mode */
  --primary-color-yellow-Dark: #bf8c00;
  --primary-color-yellow-Dark-hover: #997000;
  --primary-color-yellow-Dark-active: #735400;
  --primary-color-yellow-Darker: #594100;
  /* primary red */
  --primary-color-red-light: #fceaea;
  --primary-color-red-Light-hover: #fbdfdf;
  --primary-color-red-light-active: #f6bdbd;
  --primary-color-red-Normal: #e32929;
  --primary-color-red-Normal-hover: #cc2525;
  --primary-color-red-Normal-active: #b62121;
  /* dark mode */
  --primary-color-red-Dark: #aa1f1f;
  --primary-color-red-Dark-hover: #881919;
  --primary-color-red-Dark-active: #661212;
  --primary-color-red-Darker: #4f0e0e;
  /* color primary */
  --primary-color-white: #ffffff;
  --primary-color-Light: #eaedfc;
  --primary-color-Normal: #2f4cdd;
  --primary-color-sucsess: #0d5f18;
  /* color socndary */
  --secondary-color-Normal: #ffa000;
  /* icon background */
  --icon-background: #d2d8c82e;
  --secondary-color-avatar: #ffa000;
  /* text-color */
  --text-color-light: #ebeef2;
  --text-color-Lighter: #b2bbc6;
  --text-color-Normal: #546881;
  --text-color-Dark: #1d242d;
  --text-color-Darker: #090b0e;
  /* background */
  --surface-container: #ebeef2;
  --surface-bright: #f9fafb;
  --surface-dim: #f5f7f9;
  --surface-dim-2: #f5f7f9;
  --surface-dim-tow: #c3d5eb57;
  --btn-gb-one: #98c0f038;
  /* input color */
  --input-border-color: #dae2eb;
  --input-background-color: #f2f4f7;
  --input-placeholder-color: #a6b5c8;
  /* font */
  --cairo-ExtraLight: "cairo-ExtraLight";
  --cairo-light: "cairo-Light";
  --cairo-Regular: "cairo-Regular";
  --cairo-Medium: "cairo-Medium";
  --cairo-Bold: "cairo-Bold";
  --cairo-Bold: "cairo-extrabold";
  --cairo-simebold: "cairo-simebold";
  --cairo-Black: "cairo-Black";
  /* box-shadow */
  --size-icon-one: 22px;
  --size-icon-tow: 20px;
}

.dark-theme {
  /* color primary */
  --body-background: white;
  --primary-color-white: #ffffff;
  --primary-color-Light: #272b3c;
  --primary-color-Normal: #2f4cdd;
  --bg-blue: #09093c;
  /* color socndary */
  --secondary-color-Normal: #ffa000;
  /* icon background */
  --icon-background: #d2d8c82e;
  --secondary-color-avatar: #ffa000;
  /* text-color */
  --text-color-light: #ebeef2;
  --text-color-Lighter: #b2bbc6;
  --text-color-Normal: #ffffff;
  --text-color-Dark: #ffffff;
  --text-color-Darker: #ffffff;
  /* background */
  --surface-container: #121314;
  --surface-bright: #1f1c2d;
  --surface-dim: #0000009c;
  --surface-dark: #000000;
  --surface-dim-2: #f7f9fc;
  /* input color */
  --input-border-color: #dae2eb;
  --input-background-color: #f2f4f7;
  --input-placeholder-color: #a6b5c8;
}

.join-btn {
  background-color: #2a4fbe !important;
  width: 100%;
  outline: 2px solid #225888 !important;
}

.normal-btn {
  background-color: unset;
  border: none;
}

.buttom-one {
  padding: 6px 0px;
  background-color: var(--primary-color-Normal);
  color: var(--text-color-light);
  font-family: var(--cairo-Regular);
  font-size: 16px;
  width: 100%;
  display: block;
  border-radius: 7px;
  text-align: center;
  margin-bottom: 8px;
}

.buttom-one:hover {
  color: var(--primary-color-Light);
}

.save-btn-one {
  color: var(--text-color-light);
  background-color: var(--primary-color-Normal);
  padding: 5px 30px;
  border-radius: 7px;
  font-family: var(--cairo-Regular);
  font-size: 20px;
}

.save-btn-one:hover {
  color: var(--primary-color-Light);
}

.save-btn-three {
  color: var(--text-color-light);
  background-color: var(--primary-color-Normal);
  padding: 4px 24px;
  border-radius: 7px;
  font-family: var(--cairo-Regular);
  font-size: 20px;
}

.save-btn-three:hover {
  color: var(--primary-color-Light);
}

.cancle-btn-three {
      background-color: var(--primary-color-red-light-active);
    padding: 4px 13px;
    border-radius: 7px;
    font-family: var(--cairo-Regular);
    font-size: 20px;
    color: #ffffff;
    transition: 0.3s ease-in-out;
    border: 3px solid white;
    outline: 2px solid black;
}

.cancle-btn-three:hover,
.cancle-btn-one:hover {
  color: var(--primary-color-Light);
  background-color: red;
}

.buttom-three {
  padding: 7px 15px;
  background-color: var(--primary-color-Normal);
  color: var(--text-color-light);
  font-family: var(--cairo-Regular);
  font-size: 16px;
  display: block;
  border-radius: 7px;
  text-align: center;
}

.buttom-4 {
  padding: 7px 15px;
  background-color: var(--primary-color-Normal);
  color: var(--text-color-light);
  font-family: var(--cairo-Regular);
  font-size: 16px;
  display: block;
  border-radius: 7px;
  text-align: center;
}

.buttom-three:hover,
.buttom-4:hover {
  color: white;
}

.buttom-four {
  padding: 7px 15px;
  background-color: var(--primary-color-sucsess);
  color: var(--text-color-light);
  font-family: var(--cairo-Regular);
  display: block ruby;
  border-radius: 7px;
  text-align: center;
}

.buttom-four:hover {
  color: var(--primary-color-Light);
}

.cancle-btn-tow {
  padding: 7px 15px;
  background-color: var(--primary-color-red-Normal);
  color: var(--text-color-light);
  font-family: var(--cairo-Regular);
  display: block ruby;
  border-radius: 7px;
  text-align: center;
}

.cancle-btn-tow:hover {
  color: white;
}

.save-btn-tow {
  color: var(--text-color-light);
  background-color: var(--primary-color-red-light-active);
  padding: 9px 30px;
  border-radius: 7px;
  font-family: var(--cairo-Regular);
  font-size: 20px;
}

.cancle-btn-one {
  color: var(--primary-color-red-Normal);
  background-color: var(--primary-color-red-light-active);
  padding: 5px 30px;
  border-radius: 7px;
  font-family: var(--cairo-Regular);
  font-size: 20px;
  transition: 0.3s ease-in-out;
}

.add-new-category-2 {
  background-color: var(--surface-dim-tow);
  padding: 8px 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--cairo-Regular);
  color: var(--text-color-Normal);
}

.buttom-five {
  padding: 7px 15px;
  background-color: var(--btn-gb-one);
  color: var(--primary-color-Normal);
  font-family: var(--cairo-Regular);
  display: block ruby;
  border-radius: 7px;
  text-align: center;
}

.buttom-five:hover {
  color: var(--primary-color-Normal);
}

.filter-btn-one {
  background-color: var(--surface-dim-tow);
  padding: 7px 27px;
  border-radius: 7px;
  border: 1px solid #d2c8c8;
}

.counter-minus {
  border: none;
  font-size: 19px;
  padding: 3px 5px;
}

.counter-plus,
.counter-minus {
  border: none;
  font-size: 19px;
  padding: 3px 5px;
  color: var(--text-color-Normal);
}

.add-iamge {
  padding: 3px 8px;
  color: var(--primary-color-Light);
  border-radius: 6px;
  font-family: var(--cairo-Regular);
  transition: 0.3s ease-in-out;
  background-color: var(--primary-color-Normal);
}

.add-iamge:hover {
  color: var(--primary-color-Light);
}

.download-qrcode {
  padding: 7px 15px;
  background-color: var(--primary-color-Normal);
  color: var(--text-color-light);
  font-family: var(--cairo-Regular);
  font-size: 16px;
  display: block;
  text-align: center;
}

.add-rattings {
  color: var(--text-color-Darke);
  background-color: var(--primary-color-yellow-Normal);
  padding: 5px 13px;
  font-family: var(--cairo-Regular);
  font-size: 13px;
  margin-left: 11px;
  border-radius: 6px;
}

.add-rattings:hover,
.view-rattings:hover {
  color: white;
}

.view-rattings {
  color: var(--text-color-light);
  background-color: var(--primary-color-Normal);
  padding: 5px 13px;
  font-family: var(--cairo-Regular);
  font-size: 13px;
  margin-left: 11px;
  border-radius: 6px;
}

.default-color {
  padding: 4px 7px;
  font-family: var(--cairo-Regular);
  font-size: 15px;
  background-color: var(--primary-color-Normal);
  color: #fff;
}
.opem-sms {
    display: block !important;
}
#qr-extension {
  background-color: var(--primary-color-yellow-Normal);
}

.date-picker {
  position: relative;
  width: 250px;
}

#date-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.calendar {
  position: absolute;
  top: 50px;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.hidden {
  display: none;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #007bff;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.nav-button {
  cursor: pointer;
  font-size: 18px;
}

.calendar-body {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}

.calendar-weekday,
.calendar-day {
  width: 14.28%;
  text-align: center;
  margin-bottom: 10px;
}

.calendar-day {
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

.calendar-day:hover {
  background-color: #007bff;
  color: #fff;
}

.selected {
  background-color: #007bff;
  color: #fff;
}

tbody tr:nth-child(even) {
  background-color: rgba(42, 118, 211, 0.031372549);
}

.delete-btn-one {
  background-color: red !important;
  padding: 10px;
  border: none;
  color: white;
  border-radius: 9px;
}

/* color */
.text-color-white {
  color: var(--primary-color-white);
}

.primary-text-color {
  color: var(--primary-color-Normal);
}

.primary-color-light {
  color: var(--primary-color-Light);
}

.text-color-normal {
  color: var(--text-color-Normal);
}

.text-color-darck {
  color: var(--text-color-Darker);
}

.red {
  background-color: #fa5050;
}

.green {
  background-color: #4bf9a5;
}

.yellow {
  background-color: #f9f24b;
}

.orange {
  background-color: #f9944b;
}

.blue {
  background-color: #634bf9;
}

.purple {
  background-color: #e04bf9;
}

.gold {
  color: var(--secondary-color-Normal);
}

.bg-white-1 {
  background-color: var(--primary-color-white);
}

.bg-gry {
  background-color: var(--primary-color-Light);
}
.alert-danger-one {
  font-family: "cairo-medium";
  background-color: #f0c2e273;
  padding: 10px;
  border-radius: 9px;
  margin-bottom: 11px;
  color: black;
  text-align: center;
}
.alert-success-one {
  font-family: "cairo-medium";
  background-color: #bce7ac;
  padding: 10px;
  border-radius: 9px;
  margin-bottom: 11px;
  color: black;
  text-align: center;
  width: 100%;
}
.form-select-2 {
  padding: 2px 8px;
  width: 120px;
  font-family: "cairo-medium";
}
.color-btn {
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
}

.color-btn[data-color=red] {
  background-color: red;
  color: white;
}

.color-btn[data-color=green] {
  background-color: green;
  color: white;
}

.color-btn[data-color=yellow] {
  background-color: #f9f24b;
  color: white;
}

.color-btn[data-color=orange] {
  background-color: #f9944b;
  color: white;
}

.color-btn[data-color=purple] {
  background-color: #e04bf9;
  color: white;
}



:root {
  --main-color: #1c2321;
  --primary-color: #7d98a1;
  --secondary-color: #5e6572;
  --accent-color: #a9b4c2;
  --light-color: #eef1ef;
  --success: #4caf50;
  --warning: #ff9800;
  --danger: #f44336;
  --white: #ffffff;
}

.active-link-one {
  background-color: var(--main-color);
}

.active-link-one a {
  color: var(--white) !important;
}

.active-menu-one {
  display: block !important;
}

.row-gab {
  row-gap: 13px;
}

.w-5 {
  width: 5%;
}

.w-7 {
  width: 7%;
}

.w-10 {
  width: 10%;
}

.w-15 {
  width: 15%;
}

.w-20 {
  width: 20%;
}

#iti-0__dropdown-content {
  width: -moz-max-content !important;
  width: max-content !important;
}

.iti.iti--allow-dropdown.iti--show-flags.iti--inline-dropdown {
  width: 100%;
}

.iti__tel-input {
  text-align: end !important;
}

.has-over-flow {
  height: 90vh;
  overflow-y: scroll;
}

.alert {
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.text-danger {
  color: red;
}

.card-tow {
  background-color: var(--primary-color-Light);
  padding: 10px;
  border-radius: 10px;
}

html[lang=ar] .nav-link-1 a span {
  margin-left: 5px;
}

html[lang=ar] .main-menu ul li a span i {
  padding-left: 6px;
  padding-right: 0px;
}

html[lang=ar] .language-switcher {
  margin-left: 0px;
  margin-right: 15px;
}

html[lang=ar] .user-avatar-one {
  margin-left: 0px;
  margin-right: 10px;
}

@media only screen and (max-width: 500px) {
  html[lang=ar] .main-menu {
    right: 0px;
    position: fixed;
    transform: translateX(100%);
  }
  html[lang=ar] .show-main-menu {
    transform: translateX(0%);
  }
}
html[lang=ar] .input-with-icon i {
  right: 8px;
}

html[lang=ar] .input-with-icon input {
  padding-right: 29px;
}

html[lang=ar] .input-group-text {
  border-radius: 0px 5px 5px 0px !important;
}

html[lang=ar] .form-control {
  border-radius: 5px 5px 5px 5px !important;
}

html[lang=ar] .password-wrapper .toggle-password {
  right: auto;
  left: 15px;
}

html[lang=ar] .main-page {
  right: auto;
  left: 0px;
}

html[lang=ar] .custom-checkbox-form {
  margin-left: 7px;
  margin-right: 0px;
}

.form-one .form-group label {
  font-family: "cairo-medium";
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-color-Normal);
}

.form-one .form-group input {
  font-family: "cairo-medium";
}

.input-one {
  padding: 5px 8px;
  padding-left: 8px;
  border-radius: 6px;
  border: 1px solid #d2c8c8;
  background-color: var(--primary-color-Light);
  line-height: 1;
}

.form-control {
  background-color: var(--primary-color-Light);
  padding: 10px 10px;
  font-family: "cairo-simebold";
  font-size: 14px;
  min-height: 36px;
}

.input-with-icon i {
  position: absolute;
  left: 12px;
  top: 56%;
  transform: translatey(-50%);
  width: -moz-fit-content;
  width: fit-content;
  color: var(--text-color-Normal);
}

.input-with-icon input {
  padding-left: 29px;
}

.input-one:focus-visible {
  border: none !important;
  box-shadow: 0px 0px 6px 0px #736f6f;
  outline: none;
  transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.password-wrapper {
  position: relative;
}

.password-wrapper .toggle-password {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

.password-wrapper .toggle-password:hover {
  color: #333;
}

/* ============ FORMS ============ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 8px;
}

.form-select {
  text-align: end;
  font-family: "cairo-Medium";
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  font-size: 14px;
  color: var(--main-color);
  background-color: white;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(125, 152, 161, 0.1);
}

.form-textarea {
  resize: vertical;
  font-family: inherit;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.table-four {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
}

.table-four th {
  background-color: var(--surface-dim-tow);
  text-shadow: 0px 0px 0 rgba(0, 0, 0, 0.4);
}

.table-four th {
  font-family: var(--cairo-Bold);
  padding: 7px;
  border: 1px solid var(--surface-dim-tow);
}

.table-four td {
  font-family: var(--cairo-Medium);
  padding: 5px;
  border: 1px solid var(--surface-dim-tow);
}

.table-four tbody tr td .table-img {
  width: 50px;
}

.table-four tbody tr td .table-img img {
  width: 100%;
}

.avatar-one {
  padding: 2px;
  background-color: var(--primary-color-Light);
  border: 1px solid var(--primary-color-Light);
  border-radius: 11px;
  max-width: 30%;
  height: auto;
}

.btn-submit-one {
  background-color: var(--bg-blue);
  border: none;
  padding: 5px 20px;
  color: white;
  border-radius: 5px;
  outline: 2px solid var(--bg-blue);
  font-family: "cairo-bold";
  border: 2px solid #fff;
}

/* 1. Color Palette Variables */
:root {
  --main-color: #1c2321; /* Dark tech slate */
  --primary-color: #7d98a1; /* Muted medical blue-grey */
  --secondary-color: #5e6572; /* Deep slate grey */
  --accent-color: #a9b4c2; /* Light metallic grey */
  --light-color: #eef1ef; /* Off-white background */
  /* State Modifications */
  --primary-hover: #90abb5;
  --primary-active: #69828b;
  --focus-ring: #a9b4c2;
}

/* 2. Container & Layout Setup */
.buttons-dashboard {
  background-color: var(--main-color);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  color: var(--light-color);
  max-width: 800px;
  width: 100%;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.button-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-color);
}

/* 3. Base Button Core Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* 4. Global Interactive State Rules */
/* Focus State (Keyboard Navigation Friendly) */
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus-ring);
  transform: translateY(-1px);
}

/* Active / Pressed State global micro-rebound */
.btn:active {
  transform: translateY(1px) scale(0.98);
}

/* 5. Specific Button Variations */
/* --- PRIMARY BUTTON --- */
.btn-primary {
  background-color: var(--primary-color);
  color: var(--main-color);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(125, 152, 161, 0.25);
}

.btn-primary:active {
  background-color: var(--primary-active);
}

/* --- SECONDARY BUTTON --- */
.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-color);
  outline: solid 2px #5e6572;
  border: 3px solid white;
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: var(--main-color);
}

.btn-secondary:active {
  background-color: var(--primary-color);
}

/* --- ACCENT BUTTON --- */
.btn-accent {
  background-color: var(--accent-color);
  color: var(--main-color);
}

.btn-accent:hover {
  background-color: var(--light-color);
  box-shadow: 0 4px 12px rgba(238, 241, 239, 0.15);
}

.btn-accent:active {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

/* --- OUTLINE BUTTON --- */
.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--main-color);
}

.btn-outline:active {
  background-color: var(--primary-active);
  border-color: var(--primary-active);
}

/* --- GHOST BUTTON --- */
.btn-ghost {
  color: var(--accent-color);
}

.btn-ghost:hover {
  background-color: rgba(169, 180, 194, 0.1);
  color: var(--light-color);
}

.btn-ghost:active {
  background-color: rgba(169, 180, 194, 0.2);
}

.cancle-btn-three {
  background-color: var(--primary-color-red-light-active);
  padding: 4px 13px;
  border-radius: 7px;
  font-family: var(--cairo-Regular);
  font-size: 20px;
  color: var(--primary-color-red-Normal);
  transition: 0.3s ease-in-out;
}

.cancle-btn-three:hover,
.cancle-btn-one:hover {
  color: var(--primary-color-Light);
  background-color: red;
}

.alert {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease-out, visibility 1s ease-out;
}

/* ----- BUTTERFLY SUCCESS ALERT ----- */
.alert-success-butterfly {
  position: relative;
  background: linear-gradient(135deg, #d4edda, #b7e4c7);
  border-left: 5px solid var(--primary-color);
  border-right: 5px solid var(--primary-color);
  padding: 10px 12px;
 margin-bottom: 11px;
  backdrop-filter: blur(1px);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: #0e3d2b;
  font-weight: 500;
  letter-spacing: 0.01em;
  /* the "wing" effect via pseudo-elements */
  overflow: hidden;
  min-height: 82px;
}

/* butterfly wing shimmer (purely decorative) */
.alert-success-butterfly::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 130px;
  height: 160px;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 240, 0.35) 0%, transparent 70%);
  border-radius: 60% 20% 60% 20%;
  transform: rotate(15deg);
  pointer-events: none;
  opacity: 0.4;
  transition: 0.4s;
}

/* extra tiny wing detail */
.alert-success-butterfly::after {
  content: "";
  position: absolute;
  bottom: -12%;
  left: 5%;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 255, 220, 0.2) 0%, transparent 70%);
  border-radius: 40% 60% 40% 60%;
  transform: rotate(-10deg);
  pointer-events: none;
}

/* icon area */
.alert-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #1f7a4a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 14px rgba(27, 94, 55, 0.3);
  z-index: 2;
  transition: transform 0.2s;
}

.alert-content {
  flex: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.alert-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.alert-title i {
  font-size: 1rem;
  opacity: 0.7;
  margin-left: 2px;
}

.alert-message {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 4px;
  opacity: 0.9;
  font-weight: 450;
  word-break: break-word;
  font-family: "cairo-regular";
}

/* close / hide button (optional, but we keep it minimal) */
.alert-close {
  background: transparent;
  border: none;
  color: #1a5a3a;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0 0.2rem;
  opacity: 0.5;
  transition: 0.2s;
  z-index: 3;
  line-height: 1;
  border-radius: 40px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(2px);
}

.alert-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

/* ----- HIDE STATE (auto-hide + manual) ----- */
.alert-success-butterfly.hide {
  opacity: 0;
  /*transform: translateY(-18px) scale(0.96);*/
  pointer-events: none;
  visibility: hidden;
  max-height: 0;
  padding: 0 2rem;
  margin: 0;
  min-height: 0;
  border-width: 0;
  transition: opacity 0.45s ease, transform 0.4s ease, visibility 0s 0.45s, max-height 0s 0.45s, padding 0s 0.45s, margin 0s 0.45s, border 0s 0.45s;
}

/* small responsive touch */
@media (max-width: 460px) {
  .alert-success-butterfly {
    flex-wrap: wrap;
    padding: 1.2rem 1.2rem 1.2rem 1.8rem;
    border-radius: 24px 8px 8px 24px;
  }
  .alert-icon {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .alert-title {
    font-size: 1.1rem;
  }
}
/* ---- extra demo info (just for fun) ---- */
.demo-hint {
  margin-top: 2.5rem;
  text-align: center;
  color: #2b5f4a;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.75rem 1.5rem;
  border-radius: 60px;
  display: inline-block;
  border: 1px solid rgba(70, 130, 100, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.demo-hint i {
  margin: 0 6px;
  color: #1f7a4a;
}

.flex-center {
  display: flex;
  justify-content: center;
}

/* reset button style */
.reset-btn {
  background: #1f7a4a;
  border: none;
  color: white;
  padding: 8px 24px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(28, 110, 64, 0.3);
  cursor: pointer;
  transition: 0.2s;
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.3px;
}

.reset-btn:hover {
  background: #14633b;
  transform: scale(1.02);
  box-shadow: 0 8px 18px rgba(24, 90, 54, 0.3);
}

.reset-btn:active {
  transform: scale(0.96);
}

/* ----- DEMO TRIGGER BUTTON (just to show the popup) ----- */
.demo-trigger {
  background: var(--main-color);
  color: var(--light-color);
  border: none;
  padding: 10px 17px;
  font-family: "cairo-bold";
  border-radius: 11px;
  transition: 0.2s;
  letter-spacing: 0.3px;
}

.demo-trigger:hover {
  background: var(--secondary-color);
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(28, 35, 33, 0.35);
}

.demo-trigger:active {
  transform: scale(0.97);
}

/* ----- POPUP OVERLAY (fullscreen backdrop) ----- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 35, 33, 0.65); /* main-color with opacity */
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
  padding: 1rem;
  z-index: 9999;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* ----- POPUP CARD (the "butfull" window) ----- */
.popup {
  background: var(--light-color);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  border-radius: 2rem 2rem 1.8rem 1.8rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden; /* keeps header fixed, content scrolls */
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
  opacity: 0;
  border: 1px solid var(--accent-color);
}

.popup-overlay.active .popup {
  transform: scale(1);
  opacity: 1;
}

/* ----- POPUP HEADER (fixed, with close button) ----- */
.popup-header {
  background: var(--main-color);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0; /* prevents header from shrinking */
  border-bottom: 2px solid var(--primary-color);
}

.popup-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--light-color);
  letter-spacing: 0.4px;
  font-family: "cairo-regular";
}

.popup-title small {
  font-weight: 400;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-left: 0.25rem;
}

/* close button – circle, elegant */
.popup-close {
  background: transparent;
  border: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 100px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
  color: var(--light-color);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.popup-close:hover {
  background: rgba(255, 70, 70, 0.25);
  border-color: #ff7a7a;
  transform: rotate(90deg);
  color: #fff;
}

.popup-close:active {
  transform: rotate(90deg) scale(0.9);
}

/* ----- POPUP BODY (scrollable content) ----- */
.popup-body {
  padding: 1.8rem 1.8rem 2.2rem;
  overflow-y: auto; /* ← scroll appears when content overflows */
  flex: 1 1 auto;
  background: var(--light-color);
  color: var(--main-color);
  scroll-behavior: smooth;
}

/* custom scrollbar (optional, fits the palette) */
.popup-body::-webkit-scrollbar {
  width: 8px;
}

.popup-body::-webkit-scrollbar-track {
  background: var(--accent-color);
  border-radius: 20px;
  margin: 6px 0;
}

.popup-body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 20px;
  border: 2px solid var(--light-color);
}

.popup-body::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* content styling inside popup */
.popup-body h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--main-color);
  border-left: 5px solid var(--primary-color);
  padding-left: 0.9rem;
}

.popup-body p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #1e2b2a;
}

.popup-body .meta-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--main-color);
  padding: 0.25rem 1rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 1.2rem;
}

.popup-body hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color), transparent);
  margin: 1.8rem 0;
}

.popup-body .long-text {
  background: rgba(125, 152, 161, 0.08);
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  border-left: 4px solid var(--secondary-color);
}

.popup-body .long-text p:last-child {
  margin-bottom: 0;
}

/* small extra: responsive tweaks */
@media (max-width: 480px) {
  .popup {
    max-height: 95vh;
    border-radius: 1.5rem;
  }
  .popup-header {
    padding: 0.8rem 1rem;
  }
  .popup-title {
    font-size: 1.1rem;
  }
  .popup-close {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.5rem;
  }
  .popup-body {
    padding: 1.2rem 1rem 1.8rem;
  }
  .popup-body h2 {
    font-size: 1.3rem;
  }
}
/* when popup is super short (edge) — still fine */
@media (max-height: 500px) {
  .popup {
    max-height: 92vh;
  }
  .popup-body {
    padding: 1rem 1rem 1.4rem;
  }
}
/* ----- reusable utility: show popup from anywhere ----- */
/* (just add/remove 'active' class on overlay) */
/* 
**************************************
    1- admin topbar
**************************************
*/
.staytop {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ebebeb;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.17);
}

.stikysaid {
  position: fixed;
  top: 60px;
  width: 100%;
  z-index: 1000;
  background-color: #ebebeb;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.17);
}

.settings {
  display: none;
}

.settings span {
  top: 55px;
  right: 0px;
  background-color: red;
  padding: 3px 6px;
  color: white;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
}

.color-settings {
  background-color: var(--primary-color-Light);
  right: -6px;
  bottom: -100px;
  padding: 10px;
  border-radius: 10px;
  z-index: 3;
}

.show-settings-option {
  width: 66% !important;
}

.show-box-1 {
  display: block !important;
  transition: 0.9s cubic-bezier(0.98, 0.43, 0, 1.61);
}

.show-option-menu {
  position: fixed;
  top: 55px;
  left: 0px;
  width: 0px;
  transition: 0.4s cubic-bezier(0.62, 0.38, 0.25, 1);
  overflow: hidden;
  z-index: 3;
  box-shadow: -3px 5px 5px 0px rgba(0, 0, 0, 0.2);
}

.option-box {
  background-color: var(--surface-bright);
  padding: 11px;
  box-shadow: -3px 5px 5px 0px rgba(0, 0, 0, 0.2);
  display: none;
  transition: 0.9s cubic-bezier(0.98, 0.43, 0, 1.61);
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.settings span i {
  animation: rotate 2s linear infinite;
}

.admin-top-bar {
  background-color: var(--surface-bright);
  padding: 5px 0px;
  height: 60px;
  display: flex;
  align-items: center;
}

.topbar-date {
  margin-left: 10px;
}

.website-mode span i {
  color: var(--text-color-Darker);
}

/* order-tatus */
.order-status {
  margin-right: 20px;
}

.toggle-btn {
  height: 24px;
  width: 50px;
  background-color: var(--surface-dim);
  position: relative;
  border: 2px solid var(--input-border-color);
  border-radius: 20px;
  margin: 0px 5px;
}

.toggle-btn.active {
  background-color: #d5d6d5;
}

.toggle-circle {
  width: 20px;
  height: 20px;
  background-color: var(--text-color-Normal) !important;
  border-radius: 50%;
  transition: transform 0.3s;
  position: absolute;
}

.noyes {
  background-color: #dc0808 !important;
}

.toggle-btn.active .toggle-circle {
  transform: translateX(26px);
  background-color: var(--primary-color-Normal) !important;
}

.notefication-icon {
  margin: 0px 22px;
}

.notefication-icon a,
.color-option {
  background-color: var(--primary-color-Light);
  padding: 8px;
}

.color-option {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none; /* Remove underline from link */
  border-radius: 16px;
  height: 40px;
  width: 40px;
  margin-right: 13px;
  margin-left: 40px;
}

.notefication-icon .icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none; /* Remove underline from link */
  border-radius: 16px;
  margin: 0px 4px;
  height: 40px;
  width: 40px;
}

.sms-notification-mobile {
  position: absolute;
  background-color: var(--secondary-color-avatar);
  border-radius: 50px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -7px;
  right: -6px;
  font-size: 12px;
  font-family: var(--cairo-Regular);
  color: var(--text-color-light);
}

.sms-notification {
  position: absolute;
  background-color: var(--secondary-color-avatar);
  border-radius: 50px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -7px;
  right: -6px;
  font-size: 12px;
  font-family: var(--cairo-Regular);
  color: var(--text-color-light);
  z-index: 1;
}

.notefication-icon a img {
  max-width: 100%;
  max-height: 100%;
}

.color-slection {
  background-color: var(--surface-bright);
  position: absolute;
  right: -6px;
  bottom: -100px;
  box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 10px;
  transition: 0.7s cubic-bezier(0.455, 0.03, 0.515, 0.955);
  display: none;
  z-index: 3;
}

.color-btn {
  border: navajowhite;
  margin: 2px;
  padding: 2px;
  border-radius: 6px;
  width: 30px;
  height: 30px;
}

.color-slection::before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  background-color: var(--surface-bright);
  right: 16px;
  top: -8px;
  z-index: -1;
  rotate: 137deg;
}

.color-slection p {
  margin-left: 4px;
}

.color-box {
  height: 30px;
  width: 30px;
  margin: 4px;
  border-radius: 5px;
}

.show-color-option {
  display: block !important;
}

/* user-top-account */
.user-avatar {
  background-color: var(--primary-color-avatar);
  border-radius: 11px;
}

.user-info {
  display: flex;
}

.user-avatar-one {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  overflow: hidden;
  margin-left: 6px;
}

.user-avatar-one .user-avatar-top {
  width: 100%;
  height: 100%;
}

.avatar-two {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.option-one {
  display: flex;
  padding: 16px;
  align-items: center;
  justify-content: center;
}

.mobile-icon {
  cursor: pointer;
  background-color: var(--primary-color-Light);
  height: 37px;
  width: 38px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 7px 6px;
  border-radius: 6px;
}

.mobile-icon span {
  height: 4px;
  display: block;
  width: 100%;
  background-color: blue;
  border-radius: 30px;
}

.popup-box {
  background-color: var(--surface-bright);
  border-radius: 10px;
  padding: 10px;
  width: 315px;
  box-shadow: 3px 4px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
  display: none;
  opacity: 1;
  transition: 0.2s ease-in-out;
}

.popup-box.show {
  opacity: 1;
}
.sms {
  position: absolute;
  top: 58px;
  right: -271px;
}

.notification {
  position: absolute;
  top: 58px;
  right: 0px;
}

.mesage-content {
  margin-right: 8px;
  width: 80%;
}

.message-box {
  background-color: var(--surface-dim-2);
  margin-bottom: 15px;
  padding: 9px;
  border-radius: 9px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.14);
}
.user-img {
  width: 20%;
}
.mesage-content p {
  font-family: var(--cairo-Regular);
  font-size: 12px;
}

.mesaage-read {
  border: 1px solid #f5d10d;
}

.un-mesaage-read {
  border: 1px solid #ee1717;
}

.all-message {
  display: block;
  text-align: center;
  background-color: rgba(183, 176, 176, 0) !important;
}

.notification-box {
  background-color: var(--surface-dim-2);
  margin-bottom: 15px;
  padding: 9px;
  border-radius: 9px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.14);
}

.notification-box-2 {
  background-color: var(--surface-bright);
  margin-bottom: 15px;
  padding: 9px;
  border-radius: 9px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.14);
}

.notification-content {
  margin-right: 8px;
}

.notification-supcontent h3 {
  margin-left: 11px;
  margin-bottom: 7px;
}

.notification-supcontent {
  flex-wrap: wrap;
}

.notification-icon i {
  background-color: var(--primary-color-Normal);
  padding: 11px;
  border-radius: 23px;
  font-size: 22px;
  color: white;
}

.notification-type-done {
  align-items: center;
}

.notification-type-cancel-order .notification-content .notification-supcontent {
  justify-content: space-between;
}

.cancel-order .notification-icon i {
  background-color: red !important;
}

.new-rating .notification-icon i {
  background-color: var(--secondary-color-Normal) !important;
}

.edit-order .notification-icon i {
  background-color: #32cbcb !important;
}

.order-done .notification-icon i {
  background-color: var(--primary-color-sucsess) !important;
  color: white;
}

.user-list-links {
  padding-top: 15px;
}

.user-list-links li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.user-box {
  position: absolute;
  top: 58px;
  right: 16px;
  width: 213px !important;
}

.user-list-links li span {
  font-size: 22px;
  width: 33px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rotate {
  transform: rotate(180deg);
}

.dropdown-container {
  height: 0px;
  overflow: hidden;
  background-color: var(--surface-container);
  transition: 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.show-sub-menu {
  height: auto;
}

.dropdown1 {
  padding: 0px !important;
}

.dropdown1 a {
  padding: 10px 15px !important;
}

.dropdown-container li {
  padding: 4px 0px !important;
}

.dropdown-container li a {
  padding: 0px 16px !important;
}

.language-switcher {
  position: relative;
  display: inline-block;
  margin-left: 15px;
}

.language-button {
  background-color: #4caf50;
  color: white;
  padding: 4px 13px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "cairo-bold";
}

.language-dropdown {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.language-dropdown a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.language-dropdown a:hover {
  background-color: #f1f1f1;
}

.language-switcher:hover .language-dropdown {
  display: block;
}

.language-switcher:hover .language-button {
  background-color: #3e8e41;
}

.sidpar {
  width: 15%;
  background-color: var(--surface-bright);
  color: white;
  box-sizing: border-box;
  position: fixed;
  height: 100%;
  transition: 0.9s ease-in-out;
}

.nav-link-1 {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.main-menu ul li {
  padding: 10px 15px;
  width: 100%;
}

.main-menu ul li a {
  font-family: "cairo-Medium";
  font-size: 14px;
  color: var(--text-color-Normal);
  display: block;
}

.main-menu ul li a {
  font-family: "cairo-Medium";
  font-size: 16px;
  color: var(--text-color-Normal);
}

.main-menu ul li a span i {
  padding-right: 6px;
}

.flotting-menu {
  position: absolute;
  left: 12px;
  bottom: 12px;
}

.flotting-menu-two {
  position: absolute;
  left: 12px;
  bottom: 58px;
}

.flotting-menu button {
  background-color: #0d6efd;
  border: 2px solid white;
  padding: 5px 10px;
  border-radius: 7px;
  outline: 2px solid #0d6efd;
  color: white;
}

.flotting-menu-two button {
  background-color: #358b0e;
  border: 2px solid white;
  padding: 5px 10px;
  border-radius: 7px;
  outline: 2px solid #0d6efd;
  color: white;
}

.popup-one {
  position: absolute;
  background-color: rgba(8, 15, 30, 0.9294117647);
  width: 100%;
  height: 100%;
  z-index: 5;
  transition: 0.8s all cubic-bezier(0.88, -0.39, 0, 1.49);
  opacity: 0;
  visibility: hidden;
}

.popup-one-card {
  background-color: rgb(255, 255, 255);
  z-index: 9;
  padding: 30px;
  border-radius: 12px;
}

.popup-card-header {
  border-bottom: 1px solid #19396a;
  margin-bottom: 14px;
  padding-bottom: 8px;
}

.popup-card-header h3 {
  font-family: "cairo-bold";
  font-size: 16px;
}

.popup-card-header button {
  background-color: unset;
  border: 2px solid white;
  color: #0d6efd;
}

.popup-link-one {
  background-color: #19396a;
  padding: 10px 14px;
  color: white;
  font-family: "cairo-bold";
  font-size: 15px;
  display: block;
  text-align: center;
  border-radius: 7px;
}

.show-popup-model-one {
  opacity: 1;
  visibility: visible;
}

.main-container {
  background-color: var(--surface-bright);
  width: 86%;
  margin: 10px;
  padding: 10px;
  transition: 0.9s ease-in-out;
}

.main-page {
  width: 85%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  right: 0px;
  position: absolute;
  overflow-y: auto;
  overflow-x: hidden;
  height: 93vh;
}

.page-header {
  border-bottom: 1px solid #a99f9f;
  margin-bottom: 10px;
  background-color: var(--surface-bright);
  padding: 10px;
}

.page-header h2 {
  color: var(--text-color-Darker);
  font-family: "cairo-bold";
  font-size: 15px;
}

.page-content {
  padding: 20px;
  background-color: var(--surface-bright);
  border-radius: 15px;
  flex: 1;
}

.no-bg-color {
  background-color: transparent !important;
}

.preview_image {
    width: 100%;
    border-radius: 50%;
    padding: 4px;
    background-color: var(--primary-color-Light);
}

.image-upload-container {
  margin-bottom: 20px;
}

.avatar-upload {
  position: relative;
  width: 130px;
  height: 130px;
}

/* Preview Circle */
.avatar-preview {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.preview-holder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

/* Floating Buttons */
.avatar-controls {
  position: absolute;
  right: -10px;
  top: 5px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.upload-btn {
  color: #4a5568;
}

.upload-btn:hover {
  background: #edf2f7;
  color: #2d3748;
}

.delete-btn {
  color: #e53e3e;
  border: none;
}

.delete-btn:hover {
  background: #e53e3e;
  color: #fff;
}

/* Progress Bar */
.upload-progress {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 4px;
  background: #edf2f7;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: #4299e1;
  transition: width 0.3s;
}

.user-card-one {
  background-color: #ebeef2;
  padding: 10px;
  border-radius: 10px;
  position: relative;
}

.user-image-one {
  width: 80px;
  height: 80px;
  overflow: hidden;
  padding: 2px;
  border-radius: 170px;
  border: 3px solid #c2c2c2;
  margin: 0px auto;
}

.user-image-one img {
  width: 100%;
  display: block;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}

.user-role-name {
  background-color: red;
}

.user-role-name {
  background-color: rgb(211, 216, 242);
  padding: 0px 21px;
  border-radius: 40px;
  font-family: "cairo-medium";
  margin-top: 6px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-cars-icon {
  margin-top: 10px;
  border-radius: 7px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px;
}

.user-cars-icon a {
  padding: 0px;
  width: 18%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 27px;
  border-radius: 5px;
  font-size: 18px;
  color: #0a5b0d;
}

.delete-user-icon {
  position: absolute;
  top: 7px;
  left: 7px;
  background-color: #d2d3d5;
  height: 30px;
  width: 30px;
  border-radius: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete-user-icon form .normal-btn i {
  color: #e54e4e;
  font-size: 18px;
}

.app-logo {
  width: 100%;
  overflow: hidden;
  text-align: center;
  margin-top: 14px;
}

.app-logo img {
  width: 57%;
}

.password-wrapper {
  position: relative;
}

.password-wrapper .toggle-password {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}

.password-wrapper .toggle-password:hover {
  color: #333;
}

.login-page {
  min-height: 100vh;
  display: flex;
  padding: 20px 0px;
  align-items: center;
  justify-content: center;
  font-family: "Segoe UI", sans-serif;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 0;
}

.login-page::after {
  background: linear-gradient(135deg, rgba(129, 153, 163, 0.2196078431), rgba(99, 108, 118, 0.3019607843));
  background-color: rgba(0, 0, 0, 0);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
  opacity: 0.9;
}

.login-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 100%;
  margin: 0px auto;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form-title {
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #333;
}

.btn-primary {
  background-color: #2575fc;
  border-color: #2575fc;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.form-footer a {
  text-decoration: none;
  color: #2575fc;
}

.form-footer a:hover {
  text-decoration: underline;
}

.basic-info {
  font-family: "cairo-medium";
  font-size: 16px;
  margin-bottom: 13px;
  border-right: 3px solid var(--primary-color-Light);
  color: var(--text-color-Darker);
}

.task-container {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: var(--primary-color-Light);
}

.task-header {
  background: #4b5c73;
  color: white;
  padding: 15px;
}

.task-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-header h3 {
  color: var(--broun-color-2);
  border: 1px solid aliceblue;
  display: inline;
  padding: 0px 6px;
  font-size: 13px;
  border-radius: 6px;
  font-family: "cairo-medium";
}

.task-header p {
  margin: 5px 0 10px;
  font-size: 0.9rem;
  font-family: "cairo-medium";
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.subtask-item {
  padding-bottom: 17px !important;
}

/* hide default checkbox */
.custom-checkbox input {
  display: none;
}

/* box */
.custom-checkbox-form {
  height: 22px;
  width: 22px;
}

.custom-checkbox .checkmark {
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #ccc;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
  background: #fff;
}

/* hover */
.custom-checkbox:hover .checkmark {
  border-color: #4f46e5;
}

/* checked style */
.custom-checkbox input:checked + .checkmark {
  background: #4f46e5;
  border-color: #4f46e5;
}

/* check icon */
.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.subtask-time {
  display: flex;
  flex-wrap: wrap;
}

.subtask-time h3 {
  font-family: cairo-bold;
  font-size: 12px;
}

.subtask-failed {
  background-color: #f09aa6;
}

.subtask-completed {
  background-color: #c1f0bb;
}

.subtask-time h3 span {
  background-color: #bec8f0;
  padding: 0px 9px;
  border-radius: 15px;
  border: 1px solid white;
}

.project-card {
  --card-accent: var(--primary-color);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), var(--overdue-glow, none);
}

.card-header {
  padding: 1.5rem 1.5rem 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.project-id {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--secondary-color);
  background: rgba(94, 101, 114, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  letter-spacing: 0.3px;
}

.badge-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.status-badge,
.priority-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.status-active {
  background: #e3f2fd;
  color: #0b5e7e;
}

.status-progress {
  background: #e8eaf6;
  color: #283593;
}

.status-planning {
  background: #fff3e0;
  color: #e65100;
}

.status-completed {
  background: #e8f5e9;
  color: #1b5e20;
}

.status-hold {
  background: #fbe9e7;
  color: #bf360c;
}

.status-cancelled {
  background: #ffebee;
  color: #b71c1c;
}

.status-pending {
  background: #f3e5f5;
  color: #4a148c;
}

.status-default {
  background: #eceff1;
  color: #455a64;
}

.priority-high {
  background: #ffebee;
  color: #c62828;
}

.priority-medium {
  background: #fff8e1;
  color: #f57f17;
}

.priority-low {
  background: #e8f5e9;
  color: #2e7d32;
}

.priority-default {
  background: #e0e0e0;
  color: #424242;
}

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--main-color);
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.project-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--secondary-color);
  margin: 0;
}

.project-woner {
  background-color: #fafafa;
  border-radius: 11px;
}

.card-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-icon {
  font-size: 35px;
  color: var(--primary-color);
  width: 1.5rem;
  text-align: center;
}

.card-footer {
  display: flex;
  justify-content: space-between;
}

.project-footer-btn {
  width: 32%;
  background-color: #2f4cdd;
  padding: 5px;
  text-align: center;
  border-radius: 10px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: anchor-center;
  font-family: "cairo-bold";
  font-size: 17px;
}

.project-footer-btn:hover {
  color: white;
}

.woner-avatar img {
  width: 100%;
  border-radius: 6px;
}

.woner-avatar {
  width: 55px;
  overflow: hidden;
  padding: 4px;
  background-color: #f7f7f7;
  border-radius: 10px;
  height: 57px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-content {
  display: flex;
  flex-direction: column;
}

.member-group-avatar {
  height: 60px;
  width: 60px;
  background-color: red;
  overflow: hidden;
}

.info-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--secondary-color);
}

.member-group {
  background-color: #f9fafb;
  padding: 20px;
  border-radius: 17px;
}

.info-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--main-color);
}

.notes-section {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(125, 152, 161, 0.08);
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  margin-bottom: 1.25rem;
  border-left: 2px solid var(--accent-color);
}

.notes-icon {
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-top: 0.1rem;
}

.notes-text {
  font-size: 0.8rem;
  color: var(--secondary-color);
  line-height: 1.4;
}

.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-color);
  background: rgba(0, 0, 0, 0.02);
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
}

.meta-icon {
  font-size: 0.75rem;
  width: 1rem;
  color: var(--primary-color);
}

.color-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.color-swatch {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.deleted-badge {
  background: #ffebee;
  color: #c62828;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: -moz-fit-content;
  width: fit-content;
}

.overdue-warning {
  background: #fff3e0;
  color: #ef6c00;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: -moz-fit-content;
  width: fit-content;
}

.card-footer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
}

.details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0.4rem 0;
}

.details-link:hover {
  color: var(--accent-color);
  gap: 0.75rem;
}

.project-memebers {
  display: flex;
}

.project-member-avatar {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  overflow: hidden;
}

.project-member-avatar img {
  width: 100%;
  border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .card-header,
  .card-body,
  .card-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .metadata-grid {
    grid-template-columns: 1fr;
  }
  .project-title {
    font-size: 1.2rem;
  }
}
/* Project View Page Styles */
:root {
  --main-color: #1c2321;
  --primary-color: #7d98a1;
  --secondary-color: #5e6572;
  --accent-color: #a9b4c2;
  --light-color: #eef1ef;
}

/* Statistics Cards */
.stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-left: 4px solid transparent;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
}

.stat-card:nth-child(1) {
  border-left-color: var(--primary-color);
}

.stat-card:nth-child(2) {
  border-left-color: #10b981;
}

.stat-card:nth-child(3) {
  border-left-color: var(--accent-color);
}

.stat-card:nth-child(4) {
  border-left-color: #8b5cf6;
}

/* Progress Bar Animation */
.progress-bar {
  transition: width 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
  animation: shimmer 2s infinite;
  transform: translateX(-100%);
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
/* Table Enhancements */
.task-table th {
  font-weight: 600;
  letter-spacing: 0.025em;
  background-color: #f9fafb;
}

.task-table tbody tr {
  transition: background-color 0.15s ease;
}

.task-table tbody tr:hover {
  background-color: #fefce8;
}

/* Status & Priority Badges (enhanced) */
.status-badge,
.priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  line-height: 1.25;
}

.status-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.25rem;
}

.status-badge[data-status=completed] {
  background: #d1fae5;
  color: #065f46;
}

.status-badge[data-status=completed]::before {
  background: #10b981;
}

.status-badge[data-status=in_progress] {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge[data-status=in_progress]::before {
  background: #3b82f6;
}

/* Tabs Animation */
.tab-btn {
  transition: all 0.2s ease;
  position: relative;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.tab-content {
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Member Cards */
.member-card {
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
  background: white;
}

.member-card-tow {
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
  background: white;
  padding: 20px;
  border-radius: 15px;
}

.member-group-avatar {
  height: 80px;
  width: 80px;
  background-color: #f9f2f2;
  overflow: hidden;
  margin: 0px auto;
  border-radius: 50%;
  padding: 4px;
}

.member-group-avatar img {
  width: 100%;
  border-radius: 50%;
}

.member-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.member-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

/* Danger Zone */
.danger-zone {
  border: 1px solid #fee2e2;
  background: #fffaf5;
  border-radius: 1rem;
  transition: all 0.2s;
}

.danger-zone:hover {
  border-color: #fecaca;
  background: #fff5f0;
}

/* Responsive Tables */
@media (max-width: 768px) {
  .task-table thead {
    display: none;
  }
  .task-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
  }
  .task-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border: none;
  }
  .task-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #4b5563;
  }
}



.main-page-tow {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--accent-color);
    transition: all 0.2s;
}
.main-page-header-tow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 13px;
    border-bottom: 3px solid var(--primary-color);
    flex-wrap: wrap;
}
.main-page-header-tow h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--main-color);
    letter-spacing: -0.3px;
    font-family: "cairo-bold";
}


.form-five-group {
    margin-bottom: 1.2rem;
}
.form-five-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 12px;
    font-family: 'Cairo-bold';
}
.form-five-control {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 9px;
    background: var(--light-color);
    transition: 0.2s;
    color: var(--main-color);
    font-family: "cairo-medium";
}
.form-five-group label i {
    color: var(--primary-color);
    margin-left: 7px;
    font-size: 20px;
}
 .form-five-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(125, 152, 161, 0.15);
            background: #ffffff;
        }

        .form-five-control:hover {
            border-color: var(--accent-color);
        }

        .form-five-control::placeholder {
            color: var(--accent-color);
            opacity: 0.65;
        }

        select.form-five-control {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235e6572' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 1rem center;
            padding-left: 2.5rem;
            cursor: pointer;
        }

        input[type="file"].form-five-control {
            padding: 0.4rem 0.8rem;
            background: #fff;
            cursor: pointer;
        }

        input[type="file"].form-five-control:hover {
            border-color: var(--primary-color);
        }

        .form-five-control.is-invalid {
            border-color: #dc3545;
        }

        .form-five-error {
            color: #dc3545;
            font-size: 0.8rem;
            margin-top: 0.2rem;
            display: block;
            font-family: 'Cairo', sans-serif;
        }
         /* ----- IMAGE UPLOAD BOX (butffull border) ----- */
        .form-five-image-box {
            background: var(--light-color);
            border-radius: 1.5rem;
            padding: 1.5rem 1.5rem 1.8rem;
            border: 3px dashed var(--primary-color);
            text-align: center;
            transition: 0.3s;
           
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
           
        }

        .form-five-image-box:hover {
            border-color: var(--main-color);
            background: #f7faf9;
        }

        .form-five-image-box .image-preview-wrapper {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid var(--primary-color);
            box-shadow: 0 8px 24px rgba(28, 35, 33, 0.12);
            background: #fff;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .form-five-image-box .image-preview-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            
        }

        .form-five-image-box .image-preview-wrapper img.show {
            display: block;
        }

        .form-five-image-box .image-preview-wrapper .placeholder-icon {
            font-size: 4rem;
            color: var(--accent-color);
            opacity: 0.6;
        }

        .form-five-image-box .image-preview-wrapper .placeholder-icon.hidden {
            display: none;
        }

        /* ----- PROGRESS BAR (for image upload) ----- */
        .form-five-progress {
            width: 100%;
            max-width: 280px;
            margin: 0.8rem auto 0;
            display: none;
        }

        .form-five-progress.show {
            display: block;
        }

        .form-five-progress .progress {
            height: 8px;
            border-radius: 40px;
            background: var(--accent-color);
            overflow: hidden;
        }

        .form-five-progress .progress-bar {
            background: var(--primary-color);
            width: 0%;
            transition: width 0.3s ease;
            height: 100%;
            border-radius: 40px;
        }

        .form-five-progress .progress-text {
            font-size: 0.75rem;
            color: var(--secondary-color);
            margin-top: 0.2rem;
            font-family: 'Cairo', sans-serif;
        }

        /* ----- SUBMIT BUTTON ----- */
        .form-five-submit {
            background: var(--main-color);
            color: #fff;
            border: none;
            padding: 0.75rem 2.5rem;
            font-size: 1rem;
            font-weight: 700;
            border-radius: 60px;
            cursor: pointer;
            transition: 0.2s;
            box-shadow: 0 6px 18px rgba(28, 35, 33, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            border: 1px solid var(--primary-color);
            letter-spacing: 0.3px;
            font-family: 'Cairo', sans-serif;
        }

        .form-five-submit:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 10px 28px rgba(28, 35, 33, 0.3);
        }

        .form-five-submit:active {
            transform: scale(0.96);
        }

        .form-five-submit i {
            font-size: 1.1rem;
        }
/* Use your root variables */
:root {
  --main-color: #1c2321;
  --primary-color: #7d98a1;
  --secondary-color: #5e6572;
  --accent-color: #a9b4c2;
  --light-color: #eef1ef;
}

/* For description truncation */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Pagination styling to match the theme */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination .page-item .page-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--light-color);
  color: var(--main-color);
  transition: all 0.2s;
}

.pagination .page-item.active .page-link {
  background: var(--primary-color);
  color: white;
}

.pagination .page-item .page-link:hover {
  background: var(--accent-color);
  color: var(--main-color);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6f7ec;
  padding: 4px 12px;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1f874d;
}

.status-badge i {
  font-size: 0.55rem;
  color: #2b9e5c;
}

.role-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f2f8;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #2c3e66;
}

.role-tag i {
  font-size: 0.75rem;
  color: #4263a3;
}

.join-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #5f6f8c;
  background: #f8fafd;
  padding: 4px 12px;
  border-radius: 30px;
}

.join-date i {
  font-size: 0.7rem;
  color: #7c8fb0;
}

/* owner badge (golden pill) */
.owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3e0;
  color: #b45f06;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 30px;
  letter-spacing: -0.2px;
}

.owner-badge i {
  color: #e6a017;
  font-size: 0.7rem;
}

/* Remove button style (modern, red-ghost) */
.remove-btn {
  background: transparent;
  border: 1px solid #ffe0e0;
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c2412c;
  transition: all 0.2s;
  cursor: pointer;
  background: #fff6f4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.remove-btn i {
  font-size: 0.85rem;
}

.remove-btn:hover {
  background: #fef1ef;
  border-color: #f7b2a6;
  color: #b13e2a;
  transform: scale(0.97);
  box-shadow: 0 4px 8px rgba(194, 65, 44, 0.1);
}

.remove-member-btn {
  position: absolute;
  top: 7px;
  left: 6px;
}

.tab-nav {
  background-color: var(--primary-color-Light);
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  border-bottom: 1px solid #ddd;
}

.tab-nav li {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.tab-nav li.active {
  border-color: #0d6efd;
  font-weight: 600;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Color Palette Variables */
:root {
  --main-color: #1c2321;
  --primary-color: #7d98a1;
  --secondary-color: #5e6572;
  --accent-color: #a9b4c2;
  --light-color: #eef1ef;
  --white-2: #ffffff;
  --danger-2: #d9534f;
}

.table-title-2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 20px;
  border-left: 5px solid var(--primary-color);
  padding-left: 12px;
}

.image-upload-wrap {
  height: 200px;
}

.image-upload-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
}

/* Responsive Table Wrapper */
.table-wrapper-2 {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--accent-color);
}

.doctor-table-2 {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.95rem;
}

.doctor-table-2 thead tr {
  background-color: #7781b3;
  background-color: var(--main-color);
  color: var(--light-color);
  font-weight: 600;
  font-family: "cairo-bold";
}

.doctor-table-2 th,
.doctor-table-2 td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--accent-color);
}

.doctor-table-2 tbody tr {
  transition: background-color 0.2s ease;
  font-family: "cairo-regular";
}

.doctor-table-2 tbody tr:nth-of-type(even) {
  background-color: rgba(238, 241, 239, 0.5);
}

.doctor-table-2 tbody tr:hover {
  background-color: rgba(125, 152, 161, 0.1);
}

/* ID Badge */
.id-badge-2 {
  font-weight: bold;
  color: var(--secondary-color);
}

/* Doctor Profile Section */
.profile-container-2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-2 {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid var(--primary-color);
}

.doc-name-2 {
  font-weight: 600;
  color: var(--main-color);
}

/* Action Buttons */
.actions-wrapper-2 {
  display: flex;
  gap: 10px;
  justify-content: end;
}

.action-btn-2 {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 6px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.edit-btn-2 {
  color: var(--secondary-color);
}

.edit-btn-2:hover {
  color: var(--primary-color);
  background-color: rgba(125, 152, 161, 0.15);
}

.delete-btn-2 {
  color: var(--accent-color);
}

.delete-btn-2:hover {
  color: var(--danger-2);
  background-color: rgba(219, 83, 79, 0.1);
}

/* Pagination Layout */
.pagination-container-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.pagination-info-2 {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-family: "cairo-regular";
}

.pagination-list-2 {
  display: flex;
  list-style: none;
  gap: 6px;
}

.page-link-2 {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--secondary-color);
  background-color: var(--light-color);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-link-2:hover:not(.disabled-2) {
  background-color: var(--accent-color);
  color: var(--main-color);
}

.page-link-2.active-2 {
  background-color: var(--primary-color);
  color: var(--white-2);
}

.page-link-2.disabled-2 {
  color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Mobile Responsiveness (Max-width: 768px) */
@media screen and (max-width: 768px) {
  .doctor-table-2 thead {
    display: none; /* Hide standard headers */
  }
  .table-wrapper-2 {
    border: none;
  }
  .doctor-table-2,
  .doctor-table-2 tbody,
  .doctor-table-2 tr,
  .doctor-table-2 td {
    display: block;
    width: 100%;
  }
  .doctor-table-2 tr {
    background-color: var(--white-2);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 8px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }
  .doctor-table-2 td {
    text-align: right;
    padding: 10px 16px;
    position: relative;
    border-bottom: 1px dashed var(--light-color);
  }
  .doctor-table-2 td:last-child {
    border-bottom: none;
  }
  /* Generate pseudo headers using data-label attribute */
  .doctor-table-2 td::before {
    content: attr(data-label);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
  }
  .profile-container-2 {
    justify-content: flex-end;
  }
  .actions-wrapper-2 {
    justify-content: flex-end;
  }
  .pagination-container-2 {
    flex-direction: column;
    text-align: center;
  }
}
@media only screen and (max-width: 500px) {
  .topbar-date {
    display: none;
  }
  .notefication-icon {
    display: none !important;
  }
  .website-mode {
    display: none;
  }
  .sidpar {
    position: fixed;
    width: 0px;
    top: 61px;
    background-color: rgba(0, 0, 0, 0.8980392157);
    z-index: 1000;
    transition: 1.5s all;
  }
  .main-menu {
    background-color: var(--surface-bright);
    width: 50%;
    transition: 1s ease-in-out;
    height: 100%;
    left: -300px;
    position: relative;
  }
  .main-page {
    width: 100%;
  }
  .show-main-menu {
    transform: translateX(0%) !important;
  }
  .show-side-bar {
    width: 100%;
  }
  .member-card-tow {
    display: flex;
  }
  .member-group-avatar {
    margin: 0px;
  }
}/*# sourceMappingURL=main.css.map */