@charset "UTF-8";
@font-face{font-family:'Almarai';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/almarai-400-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Almarai';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/almarai-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Almarai';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/almarai-700-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Almarai';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/almarai-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Almarai';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/almarai-800-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Almarai';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/almarai-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-400-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-600-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-700-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/ibm-plex-sans-arabic-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Noto Kufi Arabic';font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/fonts/noto-kufi-arabic-400-900-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Noto Kufi Arabic';font-style:normal;font-weight:400 900;font-display:swap;src:url(/assets/fonts/noto-kufi-arabic-400-900-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
  --font-heading: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: 'Almarai', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --primary: #118779;
  --primary-hover: #0d6e63;
  --primary-light: #e6f6f4;
  --primary-border: #9ee2d9;
  --bg-main: #f3f7f9;
  --card-bg: #ffffff;
  --text-dark: #102d3a;
  --text-muted: #577381;
  --border-color: #d8e4e8;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 12px rgba(15, 43, 56, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 43, 56, 0.08);
  --shadow-lg: 0 18px 45px rgba(15, 43, 56, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: radial-gradient(circle at 85% 12%, #dff4ee 0, transparent 40%), var(--bg-main);
  line-height: 1.55;
  min-height: 100vh;
}

h1, h2, h3, h4, .users-header h1 { font-family: var(--font-heading); }
button, input, select, textarea, label, .secondary-button, .danger-button, .auth-logo { font-family: var(--font-ui); }

/* Standard Auth Page */
.auth-page { padding: 0 0 50px; }
.auth-card {
  width: min(480px, 94%);
  margin: 7vh auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 32px 38px 38px;
  box-shadow: var(--shadow-lg);
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.auth-brand img {
  display: block;
  object-fit: contain;
  height: auto;
}

.auth-brand .uni-logo { width: min(196px, 54%); }
.auth-brand .it-logo { width: min(124px, 36%); }

.auth-card h1 { margin: 20px 0 4px; font-size: 26px; }
.auth-card > p, .users-header p { margin: 0; color: var(--text-muted); font-size: 14px; }
.auth-card form { display: grid; gap: 18px; margin-top: 26px; }

label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #1e3a47; }
input, select {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 11px 14px;
  color: var(--text-dark);
  font-size: 14px;
  transition: all 0.2s ease;
}

input:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(17, 135, 121, 0.2);
  border-color: var(--primary);
}

button, .secondary-button {
  border: 0;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  padding: 11px 20px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

button:hover, .secondary-button:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

button:active, .secondary-button:active {
  transform: translateY(0);
}

.secondary-button {
  background: #fff;
  color: #173b49;
  border: 1px solid #c9d9df;
}
.secondary-button:hover {
  background: #f8fafc;
  border-color: #b1c7cf;
  color: #102d3a;
}

.danger-button {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.danger-button:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.auth-error, .auth-success {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
}
.auth-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.auth-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }

/* Users Page Layout */
.users-page { padding: 0 0 50px; }

.users-header-wrapper {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 228, 232, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(15, 43, 56, 0.03);
}

.users-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.users-header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.users-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #118779, #0a5c53);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(17, 135, 121, 0.25);
  font-size: 22px;
}

.users-header h1 {
  font-size: 22px;
  margin: 0;
  color: var(--text-dark);
}

.users-header p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.users-header nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Shell & Container */
.users-shell {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  gap: 24px;
}

/* KPI Stats Bar */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.kpi-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kpi-icon.teal { background: #e6f6f4; color: #0d6e63; }
.kpi-icon.emerald { background: #d1fae5; color: #047857; }
.kpi-icon.amber { background: #fef3c7; color: #b45309; }
.kpi-icon.indigo { background: #e0e7ff; color: #4338ca; }

.kpi-info { display: flex; flex-direction: column; }
.kpi-num { font-size: 26px; font-weight: 800; font-family: var(--font-heading); color: var(--text-dark); line-height: 1.1; }
.kpi-label { font-size: 13px; color: var(--text-muted); font-weight: 600; margin-top: 4px; }

/* Panels */
.users-panel {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebf2f5;
}

.panel-title h2 {
  font-size: 19px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

.panel-title-badge {
  background: #edf6f5;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--primary-border);
}

/* User Create Form */
.user-create-form {
  display: grid;
  gap: 20px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: end;
}

.faculty-linked-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px;
  grid-column: 1 / -1;
}

.role-help {
  background: #f0f7f9;
  border-right: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #334e5a;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
}

/* Filter Bar */
.user-filter-bar {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-input-wrapper input {
  padding-right: 40px;
  background: #fff;
}

.search-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.filter-select-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-select-group select {
  width: auto;
  min-width: 150px;
  background: #fff;
}

.match-count-badge {
  margin-right: auto;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* User Card Items */
.user-cards-container {
  display: grid;
  gap: 16px;
}

.user-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  overflow: hidden;
}

.user-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.user-card.inactive {
  background: #fafbfc;
  opacity: 0.85;
}

.user-card-header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
}

.user-main-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.user-avatar.admin { background: linear-gradient(135deg, #d97706, #b45309); }
.user-avatar.faculty { background: linear-gradient(135deg, #10b981, #047857); }
.user-avatar.program_manager { background: linear-gradient(135deg, #6366f1, #4338ca); }
.user-avatar.scheduler { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.user-avatar.editor { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.user-avatar.viewer { background: linear-gradient(135deg, #64748b, #334155); }
.user-avatar.custom { background: linear-gradient(135deg, #0284c7, #0369a1); }

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-username-tag {
  font-size: 13px;
  color: var(--text-muted);
  direction: ltr;
  text-align: right;
}

.user-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-admin { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-faculty { background: #d1fae5; color: #047857; border: 1px solid #a7f3d0; }
.badge-program_manager { background: #e0e7ff; color: #4338ca; border: 1px solid #c7d2fe; }
.badge-scheduler { background: #ccfbf1; color: #0f766e; border: 1px solid #99f6e4; }
.badge-editor { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-viewer { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
.badge-custom { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.active { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.status-dot.inactive { background: #ef4444; }

.badge-status {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.badge-status.active { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }

.program-chip {
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
}
.program-chip.all {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

/* User Card Actions */
.user-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-icon-text {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-md);
}

.toggle-drawer-btn {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}
.toggle-drawer-btn:hover {
  background: #e2e8f0;
  color: #0f2b38;
}

/* Expandable Drawer */
.user-edit-drawer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 22px;
}

.user-edit-drawer[hidden] {
  display: none !important;
}

/* Permission Pickers */
.permission-picker {
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.permission-picker legend {
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 13px;
  color: #1e3a47;
  padding: 0 10px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

.permission-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.perm-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.perm-checkbox-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.perm-checkbox-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}

.perm-checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
}

.perm-checkbox-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.program-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

/* Secondary Actions Box */
.drawer-secondary-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #cbd5e1;
  flex-wrap: wrap;
}

.password-inline-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 440px;
}

.password-inline-form input {
  font-size: 13px;
}

/* Responsive Rules */
@media (max-width: 900px) {
  .users-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .users-header nav { width: 100%; justify-content: flex-start; }
  .user-card-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .user-action-btns { width: 100%; justify-content: flex-start; }
  .permission-options-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .users-shell { padding: 0 14px; }
  .users-panel { padding: 18px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .drawer-secondary-actions { flex-direction: column; align-items: stretch; }
  .password-inline-form { max-width: none; flex-direction: column; }
}

/* Impersonation Floating Banner */
.impersonation-banner {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-ui, 'Almarai', sans-serif);
  font-size: 13px;
  font-weight: 600;
  direction: rtl;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25);
  border-bottom: 1px solid #0284c7;
}

.stop-impersonate-btn {
  background: #ffffff;
  color: #0369a1;
  border: 0;
  border-radius: var(--radius-md, 8px);
  padding: 6px 14px;
  font-weight: 700;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.stop-impersonate-btn:hover {
  background: #f0f9ff;
  color: #0284c7;
  transform: translateY(-1px);
}

.perm-quick-btn {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.perm-quick-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Faculty Setup Onboarding Page Ultra-Modern Glassmorphic Theme */
.setup-page {
  min-height: 100vh;
  padding: 32px 20px 60px;
  background: radial-gradient(circle at 90% 10%, rgba(13, 148, 136, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(2, 132, 199, 0.07) 0%, transparent 45%),
              #f8fafc;
}

.setup-card {
  max-width: 740px;
  width: 100%;
  margin: 10px auto 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  padding: 40px 44px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.02);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.setup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0d9488, #0284c7, #34d399, #0d9488);
  background-size: 200% 100%;
  animation: setupGradient 6s linear infinite;
}

@keyframes setupGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.setup-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.setup-brand-logos {
  display: flex;
  align-items: center;
  gap: 16px;
}

.setup-brand-logos img.uni-logo { height: 46px; width: auto; object-fit: contain; }
.setup-brand-logos img.it-logo { height: 40px; width: auto; object-fit: contain; }

.setup-badge {
  background: #f0fdf4;
  color: #0d9488;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #9ee2d9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.08);
}

.faculty-identity-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.faculty-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faculty-avatar-mini {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.faculty-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-user-text h3 {
  margin: 0 0 2px;
  font-size: 17px;
  color: #ffffff;
  font-weight: 800;
}

.faculty-user-text p {
  margin: 0;
  font-size: 13px;
  color: #94a3b8;
}

.setup-header-title h1 {
  font-size: 24px;
  margin: 0 0 6px;
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.setup-header-title p {
  margin: 0;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
}

.setup-stepper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 10px;
}

.stepper-progress-text {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.stepper-progress-pill {
  background: #f0fdf4;
  color: #0d9488;
  border: 1px solid #9ee2d9;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.setup-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 32px;
  position: relative;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: inherit;
}

.stepper-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #64748b;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.stepper-step.now .stepper-circle {
  background: linear-gradient(135deg, #0d9488, #0f766e);
  border-color: #0d9488;
  color: #ffffff;
  box-shadow: 0 0 0 5px rgba(13, 148, 136, 0.18), 0 6px 16px rgba(13, 148, 136, 0.3);
  transform: scale(1.08);
}

.stepper-step.done .stepper-circle {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.stepper-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  transition: color 0.2s ease;
}

.stepper-step.now .stepper-label {
  color: #0d9488;
  font-weight: 800;
}

.stepper-step.done .stepper-label {
  color: #059669;
}

.stepper-line {
  position: absolute;
  top: 22px;
  right: 16%;
  left: 16%;
  height: 4px;
  background: #e2e8f0;
  z-index: 1;
  border-radius: 99px;
}

.stepper-line-progress {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #0d9488);
  transition: width 0.4s ease;
  border-radius: 99px;
}

.setup-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 22px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.panel-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f0fdf4;
  color: #0d9488;
  border: 1px solid #9ee2d9;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.panel-head-info h2 {
  margin: 0 0 4px;
  font-size: 19px;
  color: #0f172a;
  font-weight: 800;
}

.panel-head-info p {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}

.photo-dropzone {
  border: 2px dashed #0d9488;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  background: #f0fdfa;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
}

.photo-dropzone:hover, .photo-dropzone.dragover {
  border-color: #0f766e;
  background: #ccfbf1;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.15);
}

.photo-preview-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.22);
  border: 4px solid #ffffff;
  background: #e6f2f3;
  transition: transform 0.3s ease;
}

.photo-dropzone:hover .photo-preview-wrapper {
  transform: scale(1.04);
}

.photo-preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #0d9488;
  font-size: 38px;
}

.photo-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.photo-dropzone-text strong {
  display: block;
  font-size: 15.5px;
  color: #0f172a;
  margin-bottom: 4px;
  font-weight: 800;
}

.photo-dropzone-text span {
  font-size: 13px;
  color: #475569;
}

.photo-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 9px 16px;
  border-radius: 99px;
  width: fit-content;
  margin: 0 auto;
  font-weight: 600;
}

.telegram-card {
  text-align: center;
  padding: 10px 0;
}

.telegram-code-box {
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  margin: 18px 0;
  box-shadow: 0 12px 30px rgba(0, 136, 204, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.telegram-code-number {
  font-size: 38px;
  letter-spacing: 7px;
  font-weight: 800;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background: rgba(255, 255, 255, 0.18);
  padding: 10px 28px;
  border-radius: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.5);
  direction: ltr;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

.telegram-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.btn-telegram {
  background: #ffffff;
  color: #0088cc;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  font-size: 14px;
}

.btn-telegram:hover {
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: #005580;
}

.btn-copy, .btn-qr-toggle {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.btn-copy:hover, .btn-qr-toggle:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.qr-container {
  display: none;
  margin-top: 14px;
  padding: 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.qr-container.active {
  display: block;
}

.telegram-status-pulse {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #a7f3d0;
  color: #047857;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.input-with-toggle {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-toggle input {
  padding-left: 44px;
}

.password-toggle-btn {
  position: absolute;
  left: 10px;
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.password-toggle-btn:hover {
  color: #0f172a;
}

.password-meter-wrapper {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.password-meter-bar {
  height: 8px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
}

.password-meter-fill {
  height: 100%;
  width: 0%;
  transition: width 0.3s ease, background-color 0.3s ease;
  border-radius: 99px;
}

.password-meter-fill.weak { width: 25%; background: #ef4444; }
.password-meter-fill.medium { width: 50%; background: #f59e0b; }
.password-meter-fill.strong { width: 75%; background: #0284c7; }
.password-meter-fill.excellent { width: 100%; background: #10b981; }

.password-meter-text {
  font-size: 12.5px;
  font-weight: 700;
  color: #475569;
}

.caps-lock-alert {
  display: none;
  align-items: center;
  gap: 8px;
  background: #fffbe6;
  border: 1px solid #fef08a;
  color: #854d0e;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 8px;
}

.caps-lock-alert.active {
  display: flex;
}

.password-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

@media (max-width: 640px) {
  .password-checklist { grid-template-columns: 1fr; }
  .setup-card { padding: 26px 20px; border-radius: 20px; }
}

.setup-submit-btn {
  width: 100%;
  padding: 15px 26px;
  font-size: 15.5px;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  color: #ffffff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.28);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.setup-submit-btn:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.38);
}

.setup-submit-btn:active {
  transform: translateY(0);
}

.setup-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  color: #64748b;
}

.setup-logout-btn {
  background: transparent;
  border: 0;
  color: #ef4444;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.setup-logout-btn:hover {
  background: #fef2f2;
}

.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}




/* Users and teacher accounts share one page, switched by these tabs. */
.users-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border: 1px solid var(--border-color); border-radius: 14px; background: #f1f7f6; }
.users-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 10px; color: #35535f; font-family: var(--font-ui); font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: background .18s ease, color .18s ease; }
.users-tab:hover { background: #e3f2ee; color: var(--text-dark); }
.users-tab.active { background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff; box-shadow: 0 8px 18px -8px rgba(13, 148, 136, .6); }
@media (max-width: 700px) { .users-tabs { width: 100%; } .users-tab { flex: 1; justify-content: center; } }
