/* =========================================================

   GHARHELP ADMIN

   LOGIN + DASHBOARD

   ========================================================= */



* {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



:root {

  --primary: #ff7a00;

  --primary-dark: #e86600;

  --primary-soft: #fff2e6;



  --text: #172033;

  --muted: #717887;

  --muted-light: #9aa1ad;



  --border: #e7eaf0;

  --background: #f5f7fb;

  --white: #ffffff;



  --success: #22a95a;

  --success-soft: #ebf9f0;



  --warning: #d98b00;

  --warning-soft: #fff6df;



  --danger: #df4051;

  --danger-soft: #fff0f2;



  --blue: #3d73e6;

  --blue-soft: #edf3ff;



  --purple: #8065d6;

  --purple-soft: #f2efff;



  --sidebar: #151a24;

  --sidebar-light: #202735;



  --shadow-small:

    0 5px 16px rgba(21, 29, 43, 0.04);



  --shadow-card:

    0 10px 30px rgba(21, 29, 43, 0.055);



  --shadow-hover:

    0 16px 38px rgba(21, 29, 43, 0.09);

}



html,

body {

  width: 100%;

  min-height: 100%;

}



body {

  font-family:

    Inter,

    "Segoe UI",

    Arial,

    Helvetica,

    sans-serif;



  color: var(--text);



  background:

    radial-gradient(

      circle at 15% 20%,

      rgba(255, 122, 0, 0.08),

      transparent 28%

    ),

    var(--background);



  -webkit-font-smoothing: antialiased;

}



button,

input {

  font-family: inherit;

}



button {

  -webkit-tap-highlight-color: transparent;

}



.hidden {

  display: none !important;

}





/* =========================================================

   LOGIN PAGE

   ========================================================= */



.login-page {

  min-height: 100vh;



  display: flex;

  align-items: center;

  justify-content: center;



  padding: 30px 18px;

}



.login-card {

  width: 100%;

  max-width: 430px;



  padding: 34px;



  background: #ffffff;



  border: 1px solid var(--border);

  border-radius: 24px;



  box-shadow:

    0 24px 60px rgba(23, 32, 51, 0.12);

}



.brand-box {

  text-align: center;

  margin-bottom: 28px;

}



.brand-icon {

  width: 76px;

  height: 76px;



  margin: 0 auto 15px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 22px;



  font-size: 36px;



  background:

    linear-gradient(

      135deg,

      #ff9a32,

      #ff6a00

    );



  box-shadow:

    0 14px 30px rgba(255, 106, 0, 0.20);

}



.brand-box h1 {

  font-size: 30px;

  font-weight: 800;

  letter-spacing: -0.7px;

}



.admin-label {

  margin-top: 6px;



  color: var(--primary);



  font-size: 12px;

  font-weight: 700;



  text-transform: uppercase;

  letter-spacing: 1.2px;

}



.login-heading {

  margin-bottom: 25px;

}



.login-heading h2 {

  margin-bottom: 7px;



  font-size: 24px;

  font-weight: 800;

}



.login-heading p {

  color: var(--muted);

  font-size: 14px;

  line-height: 1.5;

}



.form-group {

  margin-bottom: 19px;

}



.form-group label {

  display: block;



  margin-bottom: 8px;



  font-size: 13px;

  font-weight: 700;

}



.form-group input {

  width: 100%;

  height: 52px;



  padding: 0 15px;



  border: 1px solid var(--border);

  border-radius: 14px;



  outline: none;



  background: #ffffff;



  color: var(--text);



  font-size: 15px;



  transition:

    border-color 0.18s ease,

    box-shadow 0.18s ease;

}



.form-group input:focus {

  border-color: var(--primary);



  box-shadow:

    0 0 0 4px rgba(255, 122, 0, 0.10);

}



.password-wrapper {

  position: relative;

}



.password-wrapper input {

  padding-right: 55px;

}



.password-toggle {

  position: absolute;



  right: 8px;

  top: 50%;



  transform: translateY(-50%);



  width: 40px;

  height: 40px;



  border: none;



  background: transparent;



  cursor: pointer;



  border-radius: 10px;

}



.password-toggle:hover {

  background: #f6f7fa;

}



.login-button {

  width: 100%;

  height: 54px;



  border: none;

  border-radius: 15px;



  background:

    linear-gradient(

      135deg,

      #ff8a1f,

      #ff6a00

    );



  color: #ffffff;



  font-size: 15px;

  font-weight: 700;



  cursor: pointer;



  box-shadow:

    0 12px 24px rgba(255, 106, 0, 0.18);



  transition:

    transform 0.18s ease,

    box-shadow 0.18s ease,

    opacity 0.18s ease;

}



.login-button:hover:not(:disabled) {

  transform: translateY(-1px);



  box-shadow:

    0 15px 30px rgba(255, 106, 0, 0.24);

}



.login-button:disabled {

  opacity: 0.65;

  cursor: default;

}



.login-error {

  display: none;



  margin-bottom: 15px;



  padding: 11px 13px;



  background: #fff1f2;



  border: 1px solid #fecdd3;

  border-radius: 12px;



  color: #dc2626;



  font-size: 13px;

  line-height: 1.45;

}



.login-error.show {

  display: block;

}



.security-note {

  margin-top: 22px;

  padding-top: 20px;



  border-top: 1px solid var(--border);



  text-align: center;



  color: #7a8190;



  font-size: 12px;

}



.spinner {

  width: 18px;

  height: 18px;



  border: 2px solid rgba(255,255,255,0.45);

  border-top-color: #ffffff;



  border-radius: 50%;



  animation: spin 0.8s linear infinite;

}



@keyframes spin {

  to {

    transform: rotate(360deg);

  }

}





/* =========================================================

   DASHBOARD BASE

   ========================================================= */



.dashboard-body {

  min-height: 100vh;
  position: relative;

  /* Clean corporate canvas: warm off-white with very subtle brand depth. */
  background-color: #f7f7f5;
  background-image:
    linear-gradient(135deg, rgba(255, 122, 0, 0.028) 0%, transparent 24%),
    linear-gradient(315deg, rgba(23, 32, 51, 0.022) 0%, transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.95) 0%, transparent 31%),
    linear-gradient(180deg, #fafaf8 0%, #f5f6f8 100%);
  background-attachment: fixed;

  color: var(--text);

}



.dashboard-layout {

  display: flex;

  min-height: 100vh;

}





/* =========================================================

   SIDEBAR

   ========================================================= */



.sidebar {

  position: fixed;



  left: 0;

  top: 0;

  bottom: 0;



  z-index: 50;



  width: 248px;

  min-height: 100vh;



  padding: 22px 16px;



  display: flex;

  flex-direction: column;

  justify-content: space-between;



  color: #ffffff;



  background:

    radial-gradient(

      circle at 20% 5%,

      rgba(255, 122, 0, 0.12),

      transparent 25%

    ),

    linear-gradient(

      180deg,

      #171c27 0%,

      #111620 100%

    );



  border-right:

    1px solid rgba(255,255,255,0.05);



  box-shadow:

    8px 0 30px rgba(18, 24, 36, 0.05);

}



.sidebar-top {

  min-width: 0;

}



.sidebar-brand {

  display: flex;

  align-items: center;



  gap: 12px;



  padding: 4px 5px 23px;



  border-bottom:

    1px solid rgba(255,255,255,0.08);

}



.sidebar-logo {

  flex: 0 0 auto;



  width: 48px;

  height: 48px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 15px;



  font-size: 24px;



  background:

    linear-gradient(

      135deg,

      #ff982f,

      #ff6700

    );



  box-shadow:

    0 10px 26px rgba(255, 106, 0, 0.25);

}



.sidebar-brand-text {

  min-width: 0;

}



.sidebar-brand-text h2 {

  color: #ffffff;



  font-size: 20px;

  font-weight: 800;



  letter-spacing: -0.5px;

}



.sidebar-brand-text span {

  display: block;



  margin-top: 3px;



  color: #9299a8;



  font-size: 11px;

  font-weight: 600;



  letter-spacing: 0.3px;

}



.sidebar-nav {

  margin-top: 24px;



  display: flex;

  flex-direction: column;



  gap: 7px;

}



.nav-item {

  position: relative;



  width: 100%;

  min-height: 48px;



  padding: 0 13px;



  display: flex;

  align-items: center;



  gap: 12px;



  border: 1px solid transparent;

  border-radius: 13px;



  background: transparent;



  color: #aeb5c2;



  font-size: 13px;

  font-weight: 650;



  text-align: left;



  cursor: pointer;



  transition:

    background 0.18s ease,

    border-color 0.18s ease,

    color 0.18s ease,

    transform 0.18s ease;

}



.nav-item:hover:not(:disabled) {

  transform: translateX(2px);



  background:

    rgba(255,255,255,0.055);



  color: #ffffff;

}



.nav-item.active {

  color: #ffb066;



  background:

    linear-gradient(

      135deg,

      rgba(255, 122, 0, 0.20),

      rgba(255, 122, 0, 0.09)

    );



  border-color:

    rgba(255, 122, 0, 0.18);

}



.nav-icon {

  flex: 0 0 auto;



  width: 22px;



  display: flex;

  align-items: center;

  justify-content: center;



  font-size: 16px;

}



.nav-item small {

  margin-left: auto;



  padding: 4px 7px;



  border-radius: 999px;



  background:

    rgba(255,255,255,0.07);



  color: #7e8797;



  font-size: 8px;

  font-weight: 800;



  text-transform: uppercase;

  letter-spacing: 0.6px;

}



.nav-item:disabled {

  opacity: 0.58;

  cursor: default;

}



.sidebar-bottom {

  margin-top: 28px;

}



.admin-mini-card {

  position: relative;



  display: flex;

  align-items: center;



  gap: 10px;



  padding: 13px;



  border:

    1px solid rgba(255,255,255,0.07);



  border-radius: 15px;



  background:

    rgba(255,255,255,0.045);

}



.admin-avatar {

  flex: 0 0 auto;



  width: 39px;

  height: 39px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 50%;



  background:

    linear-gradient(

      135deg,

      #ff9125,

      #ff6700

    );



  color: #ffffff;



  font-size: 14px;

  font-weight: 800;

}



.admin-mini-info {

  min-width: 0;

  padding-right: 10px;

}



.admin-mini-info strong {

  display: block;



  color: #f4f5f8;



  font-size: 12px;

  font-weight: 750;

}



.admin-mini-info span {

  display: block;



  margin-top: 3px;



  overflow: hidden;

  white-space: nowrap;

  text-overflow: ellipsis;



  color: #8992a2;



  font-size: 10px;

}



.admin-online-dot {

  position: absolute;



  right: 12px;

  top: 13px;



  width: 7px;

  height: 7px;



  border-radius: 50%;



  background: #31c66b;



  box-shadow:

    0 0 0 4px rgba(49, 198, 107, 0.10);

}



.logout-button {

  width: 100%;

  height: 44px;



  margin-top: 11px;



  display: flex;

  align-items: center;

  justify-content: center;



  gap: 7px;



  border:

    1px solid rgba(255,255,255,0.08);



  border-radius: 12px;



  background:

    rgba(255,255,255,0.035);



  color: #d2d6dd;



  font-size: 12px;

  font-weight: 700;



  cursor: pointer;



  transition:

    background 0.18s ease,

    border-color 0.18s ease,

    color 0.18s ease;

}



.logout-button:hover {

  color: #ff9797;



  background:

    rgba(239,68,68,0.10);



  border-color:

    rgba(239,68,68,0.12);

}





/* =========================================================

   MAIN CONTENT

   ========================================================= */



.dashboard-main {

  flex: 1;



  min-width: 0;



  margin-left: 248px;



  padding:

    32px 36px 38px;

}





/* =========================================================

   DASHBOARD HEADER

   ========================================================= */



.dashboard-header {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;



  gap: 24px;



  margin-bottom: 24px;

}



.dashboard-heading {

  min-width: 0;

}



.dashboard-eyebrow {

  margin-bottom: 7px;



  color: var(--primary);



  font-size: 10px;

  font-weight: 800;



  letter-spacing: 1.7px;

}



.dashboard-header h1 {

  color: #172033;



  font-size: 34px;

  font-weight: 850;



  letter-spacing: -1.2px;



  line-height: 1.1;

}



.dashboard-subtitle {

  margin-top: 8px;



  color: #7b8290;



  font-size: 13px;

  line-height: 1.5;

}



.header-actions {

  display: flex;

  align-items: center;



  gap: 10px;

}



.live-badge {

  height: 40px;



  padding: 0 14px;



  display: flex;

  align-items: center;



  gap: 8px;



  border:

    1px solid #ceeed8;



  border-radius: 12px;



  background: #edf9f1;



  color: #218046;



  font-size: 11px;

  font-weight: 750;

}



.live-dot {

  width: 7px;

  height: 7px;



  border-radius: 50%;



  background: #26bd60;



  box-shadow:

    0 0 0 4px rgba(38, 189, 96, 0.11);

}



.refresh-button {

  height: 40px;



  padding: 0 15px;



  display: flex;

  align-items: center;



  gap: 7px;



  border:

    1px solid #e2e5eb;



  border-radius: 12px;



  background: #ffffff;



  color: #343d4d;



  font-size: 11px;

  font-weight: 750;



  cursor: pointer;



  box-shadow:

    0 4px 12px rgba(17,24,39,0.035);



  transition:

    transform 0.18s ease,

    border-color 0.18s ease,

    box-shadow 0.18s ease;

}



.refresh-button:hover:not(:disabled) {

  transform: translateY(-1px);



  border-color: #d9dde5;



  box-shadow:

    0 8px 18px rgba(17,24,39,0.07);

}



.refresh-button:disabled {

  opacity: 0.65;

  cursor: default;

}





/* =========================================================

   OVERVIEW BANNER

   ========================================================= */



.overview-banner {

  margin-bottom: 30px;



  padding: 18px 20px;



  display: flex;

  align-items: center;

  justify-content: space-between;



  gap: 20px;



  border:

    1px solid #e6e9ef;



  border-radius: 18px;



  background:

    linear-gradient(

      135deg,

      #ffffff 0%,

      #fffaf6 100%

    );



  box-shadow:

    var(--shadow-small);

}



.overview-copy {

  display: flex;

  align-items: center;



  gap: 14px;



  min-width: 0;

}



.overview-icon {

  flex: 0 0 auto;



  width: 46px;

  height: 46px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 14px;



  background:

    linear-gradient(

      135deg,

      #fff0df,

      #fff7ed

    );



  font-size: 20px;

}



.overview-label {

  display: block;



  margin-bottom: 4px;



  color: var(--primary);



  font-size: 9px;

  font-weight: 800;



  text-transform: uppercase;

  letter-spacing: 1px;

}



.overview-copy h2 {

  color: #202838;



  font-size: 14px;

  font-weight: 800;

}



.overview-copy p {

  margin-top: 4px;



  color: #8a909c;



  font-size: 10px;

}



.overview-update {

  flex: 0 0 auto;



  padding-left: 24px;



  border-left:

    1px solid #ebedf1;



  text-align: right;

}



.overview-update span {

  display: block;



  color: #9ca2ad;



  font-size: 9px;

}



.overview-update strong {

  display: block;



  margin-top: 4px;



  color: #343c4b;



  font-size: 11px;

  font-weight: 750;

}





/* =========================================================

   DASHBOARD SECTIONS

   ========================================================= */



.dashboard-section {

  margin-bottom: 31px;

}



.section-title-row {

  margin-bottom: 14px;



  display: flex;

  align-items: center;

  justify-content: space-between;



  gap: 18px;

}



.section-title {

  display: flex;

  align-items: center;



  gap: 10px;

}



.section-icon {

  flex: 0 0 auto;



  width: 34px;

  height: 34px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 10px;



  font-size: 14px;

}



.customers-icon {

  background: #fff0e2;

}



.workers-icon {

  background: #edf4ff;

}



.bookings-icon {

  background: #f2efff;

}



.section-title-row h2 {

  color: #202838;



  font-size: 16px;

  font-weight: 800;

}



.section-title-row p {

  margin-top: 3px;



  color: #9298a4;



  font-size: 10px;

}



.section-badge {

  padding: 6px 10px;



  border-radius: 999px;



  background: #fff0e3;



  color: #e26400;



  font-size: 9px;

  font-weight: 800;



  text-transform: uppercase;

  letter-spacing: 0.7px;

}





/* =========================================================

   STAT GRID

   ========================================================= */



.stats-grid {

  display: grid;



  grid-template-columns:

    repeat(4, minmax(0, 1fr));



  gap: 14px;

}



.customer-grid {

  grid-template-columns:

    repeat(2, minmax(0, 1fr));

}



.booking-grid {

  grid-template-columns:

    repeat(4, minmax(0, 1fr));

}





/* =========================================================

   STAT CARDS

   ========================================================= */



.stat-card {

  position: relative;



  min-height: 158px;



  padding: 18px;



  overflow: hidden;



  border:

    1px solid #e8eaf0;



  border-radius: 17px;



  background: #ffffff;



  box-shadow:

    var(--shadow-small);



  transition:

    transform 0.18s ease,

    border-color 0.18s ease,

    box-shadow 0.18s ease;

}



.stat-card::after {

  content: "";



  position: absolute;



  right: -30px;

  bottom: -38px;



  width: 90px;

  height: 90px;



  border-radius: 50%;



  background:

    rgba(255, 122, 0, 0.018);



  pointer-events: none;

}



.stat-card:hover {

  transform: translateY(-2px);



  border-color: #dfe2e8;



  box-shadow:

    var(--shadow-hover);

}



.stat-card-header {

  display: flex;

  align-items: flex-start;

  justify-content: space-between;



  gap: 10px;



  margin-bottom: 16px;

}



.stat-icon {

  width: 41px;

  height: 41px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 12px;



  background: #fff3e8;



  color: #e86c00;



  font-size: 17px;

  font-weight: 800;

}



.stat-tag {

  padding: 5px 8px;



  border-radius: 999px;



  background: #f4f5f7;



  color: #8c929c;



  font-size: 8px;

  font-weight: 800;



  text-transform: uppercase;

  letter-spacing: 0.5px;

}



.stat-info {

  min-width: 0;

}



.stat-label {

  display: block;



  color: #697181;



  font-size: 10px;

  font-weight: 700;



  line-height: 1.35;

}



.stat-number {

  display: block;



  margin-top: 6px;



  color: #182131;



  font-size: 29px;

  font-weight: 850;



  line-height: 1.05;



  letter-spacing: -1px;

}



.stat-info small {

  display: block;



  margin-top: 8px;



  color: #a0a5ae;



  font-size: 9px;

  line-height: 1.4;

}





/* =========================================================

   CARD COLOR VARIATIONS

   ========================================================= */



.customers-stat-icon {

  background: #fff1e5;

}



.new-stat-icon {

  background: #fff8e5;

}



.today-tag {

  background: #fff5e9;

  color: #d67613;

}



.worker-stat-icon,

.new-worker-stat-icon {

  background: #eef4ff;

  color: #3f6fd9;

}



.available-card {

  border-color:

    rgba(34, 169, 90, 0.13);

}



.available-stat-icon {

  background: #eaf9ef;

  color: #20a455;

}



.available-tag {

  background: #eaf9ef;

  color: #20874a;

}



.rating-card {

  border-color:

    rgba(235, 171, 35, 0.16);

}



.rating-stat-icon {

  background: #fff6dc;

  color: #e4a016;

}



.rating-tag {

  background: #fff5df;

  color: #c6830d;

}



.primary-card {

  border-color:

    rgba(255, 122, 0, 0.20);



  background:

    linear-gradient(

      145deg,

      #ffffff 0%,

      #fffaf6 100%

    );

}



.total-bookings-icon {

  color: #ffffff;



  background:

    linear-gradient(

      135deg,

      #ff9635,

      #ff6c00

    );



  box-shadow:

    0 7px 16px rgba(255, 108, 0, 0.16);

}



.primary-tag {

  background: #fff0e4;

  color: #df6700;

}



.today-booking-icon {

  background: #edf3ff;

  color: #527be0;

}



.pending-card {

  border-color:

    rgba(217, 139, 0, 0.13);

}



.pending-stat-icon {

  background: #fff6df;

  color: #c98200;

}



.pending-tag {

  background: #fff5df;

  color: #be7b00;

}



.accepted-card {

  border-color:

    rgba(61, 115, 230, 0.12);

}



.accepted-stat-icon {

  background: #edf3ff;

  color: #3d73e6;

}



.accepted-tag {

  background: #edf3ff;

  color: #426dc9;

}



.ongoing-card {

  border-color:

    rgba(128, 101, 214, 0.13);

}



.ongoing-stat-icon {

  background: #f2efff;

  color: #7359c8;

}



.ongoing-tag {

  background: #f2efff;

  color: #6c55b8;

}



.success-card {

  border-color:

    rgba(34, 169, 90, 0.12);

}



.completed-stat-icon,

.completed-today-icon {

  background: #ebf9f0;

  color: #1c9c50;

}



.completed-tag {

  background: #ebf9f0;

  color: #20894b;

}



.danger-card {

  border-color:

    rgba(223, 64, 81, 0.13);

}



.cancelled-stat-icon {

  background: #fff0f2;

  color: #df4051;

}



.cancelled-tag {

  background: #fff0f2;

  color: #c93f4d;

}



.customer-cancel-icon,

.worker-cancel-icon {

  background: #f5f5f7;

  color: #6d7480;

}



.cancelled-light-tag {

  background: #f5f5f7;

  color: #797f89;

}



.rejected-card {

  border-color:

    rgba(223, 64, 81, 0.09);

}



.rejected-stat-icon {

  background: #fff1f2;

  color: #ca4653;

}



.rejected-tag {

  background: #fff2f3;

  color: #bd4a56;

}





/* =========================================================

   SECURITY FOOTER CARD

   ========================================================= */



.dashboard-footer-card {

  position: relative;



  margin-top: 5px;



  padding: 20px 22px;



  display: flex;

  align-items: center;



  gap: 15px;



  overflow: hidden;



  border-radius: 18px;



  color: #ffffff;



  background:

    radial-gradient(

      circle at 90% 10%,

      rgba(255, 122, 0, 0.12),

      transparent 28%

    ),

    linear-gradient(

      135deg,

      #171d28 0%,

      #202735 100%

    );



  box-shadow:

    0 14px 32px rgba(18, 25, 37, 0.11);

}



.footer-status-icon {

  flex: 0 0 auto;



  width: 44px;

  height: 44px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 13px;



  background:

    rgba(255, 255, 255, 0.07);



  font-size: 19px;

}



.footer-status-content {

  min-width: 0;

  flex: 1;

}



.status-label {

  display: inline-block;



  margin-bottom: 5px;



  color: #ff9f47;



  font-size: 8px;

  font-weight: 800;



  text-transform: uppercase;

  letter-spacing: 1.1px;

}



.dashboard-footer-card h3 {

  color: #ffffff;



  font-size: 14px;

  font-weight: 800;

}



.dashboard-footer-card p {

  max-width: 650px;



  margin-top: 5px;



  color: #9ba3b2;



  font-size: 9px;

  line-height: 1.55;

}



.footer-security-badge {

  flex: 0 0 auto;



  padding: 7px 11px;



  display: flex;

  align-items: center;



  gap: 7px;



  border:

    1px solid rgba(73, 205, 124, 0.16);



  border-radius: 999px;



  background:

    rgba(73, 205, 124, 0.08);



  color: #8ddaaa;



  font-size: 9px;

  font-weight: 750;

}



.footer-security-dot {

  width: 6px;

  height: 6px;



  border-radius: 50%;



  background: #43cb79;

}





/* =========================================================

   DASHBOARD ERROR

   ========================================================= */



.dashboard-error {

  display: none;



  margin-top: 17px;



  padding: 12px 14px;



  border:

    1px solid #fecdd3;



  border-radius: 12px;



  background: #fff1f2;



  color: #c82433;



  font-size: 11px;

  font-weight: 650;



  line-height: 1.45;

}



.dashboard-error.show {

  display: block;

}





/* =========================================================

   COPYRIGHT FOOTER

   ========================================================= */



.dashboard-copyright {

  margin-top: 17px;

  padding: 0 3px 3px;



  display: flex;

  align-items: center;

  justify-content: space-between;



  gap: 15px;



  color: #a0a5af;



  font-size: 8px;

}





/* =========================================================

   DASHBOARD LOADER

   ========================================================= */



.dashboard-loader {

  position: fixed;



  inset: 0;



  z-index: 999;



  display: flex;

  align-items: center;

  justify-content: center;



  padding: 20px;



  background:

    rgba(245, 247, 251, 0.91);



  backdrop-filter: blur(8px);

}



.dashboard-loader.hidden {

  display: none;

}



.dashboard-loader-box {

  width: 290px;



  padding: 27px 28px;



  text-align: center;



  border:

    1px solid #e7eaf0;



  border-radius: 20px;



  background: #ffffff;



  box-shadow:

    0 25px 60px rgba(20, 27, 41, 0.12);

}



.loader-logo {

  width: 45px;

  height: 45px;



  margin: 0 auto 12px;



  display: flex;

  align-items: center;

  justify-content: center;



  border-radius: 14px;



  background:

    linear-gradient(

      135deg,

      #fff0e0,

      #fff8f1

    );



  font-size: 21px;

}



.big-spinner {

  width: 35px;

  height: 35px;



  margin: 0 auto 15px;



  border:

    3px solid #f0f1f4;



  border-top-color: var(--primary);



  border-radius: 50%;



  animation:

    dashboardSpin 0.8s linear infinite;

}



.dashboard-loader-box strong {

  display: block;



  color: #242c39;



  font-size: 13px;

}



.dashboard-loader-box span {

  display: block;



  margin-top: 6px;



  color: #8a909c;



  font-size: 10px;

}



@keyframes dashboardSpin {

  to {

    transform: rotate(360deg);

  }

}





/* =========================================================

   LARGE TABLET

   ========================================================= */



@media (max-width: 1180px) {



  .stats-grid,

  .booking-grid {

    grid-template-columns:

      repeat(3, minmax(0, 1fr));

  }



  .customer-grid {

    grid-template-columns:

      repeat(2, minmax(0, 1fr));

  }



}





/* =========================================================

   TABLET

   ========================================================= */



@media (max-width: 950px) {



  .sidebar {

    width: 78px;



    padding:

      18px 10px;

  }



  .sidebar-brand {

    justify-content: center;



    padding-left: 0;

    padding-right: 0;

  }



  .sidebar-brand-text {

    display: none;

  }



  .sidebar-logo {

    width: 45px;

    height: 45px;

  }



  .nav-item {

    justify-content: center;



    padding: 0;



    font-size: 0;

  }



  .nav-icon {

    width: auto;



    font-size: 18px;

  }



  .nav-item small {

    display: none;

  }



  .admin-mini-card {

    justify-content: center;



    padding: 9px;

  }



  .admin-mini-info,

  .admin-online-dot,

  .logout-button {

    display: none;

  }



  .dashboard-main {

    margin-left: 78px;



    padding:

      27px 22px 35px;

  }



  .stats-grid,

  .booking-grid {

    grid-template-columns:

      repeat(2, minmax(0, 1fr));

  }



}





/* =========================================================

   MOBILE

   ========================================================= */



@media (max-width: 650px) {



  body {

    background: #f5f7fb;

  }



  .sidebar {

    display: none;

  }



  .dashboard-main {

    margin-left: 0;



    padding:

      21px 14px 30px;

  }



  .dashboard-header {

    flex-direction: column;



    gap: 17px;



    margin-bottom: 20px;

  }



  .dashboard-header h1 {

    font-size: 28px;

  }



  .dashboard-subtitle {

    font-size: 12px;

  }



  .header-actions {

    width: 100%;

  }



  .refresh-button {

    flex: 1;

    justify-content: center;

  }



  .overview-banner {

    flex-direction: column;

    align-items: flex-start;



    padding: 16px;

  }



  .overview-update {

    width: 100%;



    padding-left: 0;

    padding-top: 13px;



    border-left: none;

    border-top:

      1px solid #ebedf1;



    text-align: left;

  }



  .section-title-row {

    align-items: flex-end;

  }



  .section-title {

    align-items: flex-start;

  }



  .section-icon {

    width: 31px;

    height: 31px;

  }



  .section-title-row h2 {

    font-size: 15px;

  }



  .section-badge {

    font-size: 8px;

  }



  .stats-grid,

  .booking-grid,

  .customer-grid {

    grid-template-columns: 1fr;

  }



  .stat-card {

    min-height: 145px;

  }



  .dashboard-footer-card {

    flex-direction: column;

    align-items: flex-start;



    padding: 18px;

  }



  .footer-security-badge {

    align-self: flex-start;

  }



  .dashboard-copyright {

    flex-direction: column;

    align-items: flex-start;



    gap: 4px;

  }



}





/* =========================================================

   SMALL MOBILE

   ========================================================= */



@media (max-width: 420px) {



  .login-card {

    padding: 25px 20px;

  }



  .brand-icon {

    width: 67px;

    height: 67px;



    font-size: 31px;

  }



  .brand-box h1 {

    font-size: 27px;

  }



  .dashboard-main {

    padding:

      19px 12px 28px;

  }



  .dashboard-header h1 {

    font-size: 26px;

  }



  .live-badge,

  .refresh-button {

    height: 38px;

  }



  .stat-card {

    padding: 16px;

  }



  .stat-number {

    font-size: 27px;

  }



}

/* =========================================================
   CUSTOMERS PAGE
   ========================================================= */

.admin-nav-link {
  text-decoration: none;
}

.customer-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.customer-summary-card {
  min-height: 125px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 17px;
  box-shadow: 0 7px 22px rgba(21, 29, 43, 0.045);
}

.customer-summary-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #fff1e5;
  font-size: 19px;
}

.customer-today-icon {
  background: #fff7df;
}

.customer-update-icon {
  background: #edf3ff;
}

.customer-summary-card span {
  display: block;
  color: #777e8b;
  font-size: 10px;
  font-weight: 700;
}

.customer-summary-card strong {
  display: block;
  margin-top: 5px;
  color: #172033;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: -0.8px;
}

.customer-summary-card small {
  display: block;
  margin-top: 6px;
  color: #9ba1ac;
  font-size: 9px;
}

.customer-summary-card .customer-update-time {
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0;
}

/* SEARCH TOOLBAR */

.customer-toolbar {
  margin-bottom: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #e7eaf0;
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(21, 29, 43, 0.035);
}

.customer-search-box {
  position: relative;
  width: 100%;
  max-width: 470px;
}

.customer-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

.customer-search-box input {
  width: 100%;
  height: 43px;
  padding: 0 14px 0 43px;
  border: 1px solid #e4e7ed;
  border-radius: 12px;
  outline: none;
  background: #f9fafc;
  color: #252d3b;
  font-size: 11px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.customer-search-box input:focus {
  background: #ffffff;
  border-color: #ff9a43;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.08);
}

.customer-toolbar-right {
  flex: 0 0 auto;
}

.customer-toolbar-right span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #747b88;
  font-size: 9px;
  font-weight: 700;
}

/* CUSTOMER LIST PANEL */

.customer-list-panel {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e7eaf0;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(21, 29, 43, 0.045);
}

.customer-list-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #edf0f4;
}

.customer-list-header h2 {
  color: #202838;
  font-size: 15px;
  font-weight: 800;
}

.customer-list-header p {
  margin-top: 4px;
  color: #9298a4;
  font-size: 9px;
}

/* TABLE */

.customer-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.customer-table {
  width: 100%;
  border-collapse: collapse;
}

.customer-table th {
  padding: 12px 16px;
  background: #fafbfc;
  border-bottom: 1px solid #edf0f4;
  color: #8b929e;
  font-size: 9px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  white-space: nowrap;
}

.customer-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #f0f2f5;
  color: #5d6573;
  font-size: 10px;
  vertical-align: middle;
}

.customer-table tbody tr {
  transition: background 0.16s ease;
}

.customer-table tbody tr:hover {
  background: #fffaf6;
}

.customer-table tbody tr:last-child td {
  border-bottom: none;
}

/* CUSTOMER IDENTITY */

.customer-person-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.customer-avatar {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      #fff0e2,
      #fff7f0
    );
  color: #e86900;
  font-size: 12px;
  font-weight: 850;
}

.customer-person-info {
  min-width: 0;
}

.customer-person-info strong {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #222a38;
  font-size: 10px;
  font-weight: 800;
}

.customer-person-info span {
  display: block;
  margin-top: 3px;
  color: #9aa0aa;
  font-size: 8px;
}

/* STATUS */

.customer-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eaf9ef;
  color: #22844a;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.customer-booking-count {
  color: #202838 !important;
  font-size: 12px !important;
  font-weight: 800;
}

/* EMPTY */

.customer-empty-cell {
  padding: 30px 20px !important;
  text-align: center !important;
  color: #9da3ad !important;
}

.customers-empty-state {
  padding: 42px 20px;
  text-align: center;
}

.customers-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff2e7;
  font-size: 20px;
}

.customers-empty-state h3 {
  color: #242c39;
  font-size: 14px;
}

.customers-empty-state p {
  margin-top: 6px;
  color: #969da8;
  font-size: 10px;
}

/* MOBILE CUSTOMER CARDS */

.customers-mobile-list {
  display: none;
}

.customer-mobile-card {
  padding: 15px;
  background: #ffffff;
  border-bottom: 1px solid #edf0f4;
}

.customer-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-mobile-details {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.customer-mobile-details div {
  padding: 10px;
  border-radius: 10px;
  background: #f8f9fb;
}

.customer-mobile-details span {
  display: block;
  color: #9ba1ab;
  font-size: 8px;
}

.customer-mobile-details strong {
  display: block;
  margin-top: 4px;
  color: #343b49;
  font-size: 9px;
  line-height: 1.4;
}

.customer-security-card {
  margin-top: 22px;
}

/* =========================================================
   CUSTOMER PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {
  .customer-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-overview-grid .customer-summary-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 750px) {
  .customer-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .customer-search-box {
    max-width: none;
  }

  .customer-toolbar-right {
    align-self: flex-start;
  }
}

@media (max-width: 650px) {
  .customer-overview-grid {
    grid-template-columns: 1fr;
  }

  .customer-overview-grid .customer-summary-card:last-child {
    grid-column: auto;
  }

  .customer-table-wrap {
    display: none;
  }

  .customers-mobile-list {
    display: block;
  }

  .customer-list-header {
    padding: 15px 14px;
  }

  .customer-mobile-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .customer-summary-card {
    min-height: 110px;
    padding: 15px;
  }

  .customer-summary-card strong {
    font-size: 24px;
  }

  .customer-mobile-details {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   BOOKINGS PAGE
   ========================================================= */

.bookings-overview-grid .customer-summary-card:last-child {
  grid-column: auto;
}

.booking-toolbar-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-filter-select {
  min-width: 155px;
  height: 43px;
  padding: 0 34px 0 12px;
  border: 1px solid #e4e7ed;
  border-radius: 12px;
  outline: none;
  background: #f9fafc;
  color: #3f4755;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.booking-filter-select:focus {
  background: #ffffff;
  border-color: #ff9a43;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.08);
}

.booking-results-count {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3f5f8;
  color: #747b88;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.booking-reference {
  min-width: 92px;
}

.booking-reference strong {
  display: block;
  color: #222a38;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.2px;
}

.booking-reference span {
  display: block;
  margin-top: 3px;
  color: #9aa0aa;
  font-size: 8px;
}

.booking-party-info {
  min-width: 145px;
}

.booking-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.booking-status-pending {
  background: #fff4dc;
  color: #a56300;
}

.booking-status-accepted {
  background: #eaf9ef;
  color: #238b4b;
}

.booking-status-ongoing {
  background: #eaf2ff;
  color: #2f66c8;
}

.booking-status-completed {
  background: #e6f8ed;
  color: #187a3b;
}

.booking-status-cancelled,
.booking-status-rejected {
  background: #fff0f1;
  color: #c43b48;
}

.booking-status-other {
  background: #f1f3f6;
  color: #69717f;
}

.bookings-updated {
  color: #8a909c;
  font-size: 9px;
  font-weight: 650;
}

@media (max-width: 750px) {
  .booking-toolbar-right {
    width: 100%;
    align-items: stretch;
  }

  .booking-filter-select {
    flex: 1 1 auto;
    min-width: 0;
  }

  .booking-results-count {
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .booking-toolbar-right {
    flex-direction: column;
  }

  .booking-results-count {
    align-self: flex-start;
  }
}


/* Clean premium admin background — restrained geometric finish */
.dashboard-main {
  position: relative;
  isolation: isolate;
}

.dashboard-main::before {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  top: 112px;
  right: 38px;
  width: 240px;
  height: 240px;
  opacity: 0.42;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(255, 122, 0, 0.075) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(23, 32, 51, 0.035) 50%, transparent 50.5%);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom left, #000, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom left, #000, transparent 78%);
}

.dashboard-main::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  left: 275px;
  bottom: 24px;
  width: 190px;
  height: 190px;
  border-left: 1px solid rgba(255, 122, 0, 0.055);
  border-bottom: 1px solid rgba(23, 32, 51, 0.035);
  transform: rotate(18deg);
  opacity: 0.7;
}
