/* Custom styling system for PC Manager Admin Dashboard */
:root {
  --font-family-sans: 'Inter', sans-serif;
  --font-family-heading: 'Outfit', sans-serif;
  
  --color-bg: #070a13;
  --color-surface: rgba(15, 22, 42, 0.65);
  --color-surface-hover: rgba(23, 33, 62, 0.8);
  --color-border: rgba(99, 102, 241, 0.15);
  --color-border-hover: rgba(99, 102, 241, 0.35);
  
  --color-primary: #6366f1;
  --color-primary-glow: rgba(99, 102, 241, 0.35);
  --color-secondary: #06b6d4;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  
  --color-text-main: #f3f4f6;
  --color-text-muted: #9ca3af;
  
  --backdrop-blur: blur(12px);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-family-sans);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Glowing Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-primary) 0%, rgba(99,102,241,0) 70%);
  top: -10%;
  right: -5%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-secondary) 0%, rgba(6,182,212,0) 70%);
  bottom: 10%;
  left: -5%;
}

/* Container */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2rem;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.logo-text h1 {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--color-border);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
  box-shadow: 0 0 10px var(--color-success);
}

.status-label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Overview Cards */
.overview-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--color-surface);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-hover);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.stat-info h3 {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Main Workspace Header */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.section-title h2 i {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.refresh-indicator {
  font-size: 0.8rem;
  color: var(--color-success);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}

/* Grid of PC cards */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  min-height: 200px;
}

/* PC Card */
.pc-card {
  background: var(--color-surface);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.pc-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  background: var(--color-surface-hover);
}

/* PC Card Header */
.pc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.pc-name-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pc-title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

.pc-user {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pc-os-badge {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

.pc-status-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pc-status-badge.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.pc-status-badge.idle {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* Time Usage display */
.time-usage-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.time-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.time-value {
  font-family: var(--font-family-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-secondary);
}

/* Shutdown active timer info */
.timer-info-box {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fda4af;
  font-size: 0.85rem;
  animation: pulse 2s infinite alternate;
}

.timer-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timer-countdown {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 1rem;
}

/* Action Buttons Grid */
.pc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

/* Base button styles */
.btn {
  font-family: var(--font-family-sans);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #4f46e5);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.btn-warning:hover {
  background: var(--color-warning);
  color: #000;
}

.btn-info {
  background: rgba(6, 182, 212, 0.15);
  color: #a5f3fc;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.btn-info:hover {
  background: var(--color-secondary);
  color: #000;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  background: var(--color-danger);
  color: #fff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}

.empty-state h3 {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
}

.empty-state p {
  color: var(--color-text-muted);
  max-width: 400px;
  font-size: 0.9rem;
}

/* Modals */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1000;
  transition: opacity 0.25s ease-out;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #0f172a;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 1.5rem 1.75rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.client-badge-container {
  margin-bottom: 1.25rem;
}

.client-badge {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}

textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  padding: 1rem;
  font-family: var(--font-family-sans);
  font-size: 0.9rem;
  resize: vertical;
  margin-bottom: 1rem;
  outline: none;
  transition: var(--transition-smooth);
}

textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.quick-messages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.quick-msg-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.quick-msg-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Timer presets inside modal */
.timer-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-main);
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.preset-btn:hover, .preset-btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.custom-timer-input {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.custom-timer-input label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.input-wrapper input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  width: 120px;
  outline: none;
  transition: var(--transition-smooth);
}

.input-wrapper input:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.05);
}

.input-wrapper span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Footer styles */
.app-footer {
  text-align: center;
  padding: 2.5rem 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: auto;
  border-top: 1px solid var(--color-border);
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2);
  }
  100% {
    box-shadow: 0 0 8px 4px rgba(239, 68, 68, 0.4);
  }
}

/* Media Queries */
@media (max-width: 640px) {
  .app-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .header-status {
    align-self: flex-end;
  }
  .timer-presets {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Client Chat/Message Bubble on Card */
.client-message-bubble {
  background: rgba(99, 102, 241, 0.08);
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: fadeIn 0.3s ease-out;
}

.client-message-header {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.client-message-body {
  font-size: 0.92rem;
  color: var(--color-text-main);
  line-height: 1.4;
  word-break: break-word;
}

/* Parent Chat/Message Bubble on Card */
.admin-message-bubble {
  background: rgba(16, 185, 129, 0.08);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: fadeIn 0.3s ease-out;
}

.admin-message-header {
  font-size: 0.8rem;
  color: var(--color-success, #10b981);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-message-body {
  font-size: 0.92rem;
  color: var(--color-text-main);
  line-height: 1.4;
  word-break: break-word;
}

/* Delete Message Button */
.delete-msg-btn {
  background: none;
  border: none;
  color: var(--color-danger);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 2px 6px;
  opacity: 0.6;
  border-radius: 4px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.delete-msg-btn:hover {
  opacity: 1;
  background: rgba(239, 68, 68, 0.15);
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 360px;
}

.toast-notification {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--color-primary);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  backdrop-filter: blur(10px);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
  position: relative;
}

.toast-notification.hide {
  animation: toastSlideOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast-msg {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  word-break: break-word;
}

.toast-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.toast-close:hover {
  color: #fff;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* Auth Container */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1.5rem;
  z-index: 10;
}

.auth-card {
  background: var(--color-surface);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem;
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: fadeIn 0.4s ease-out;
}

.auth-logo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.auth-logo h2 {
  font-family: var(--font-family-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-logo p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Tabs */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
}

.auth-tab-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-family-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem;
  border-radius: 9px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.auth-tab-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* Form & Input Groups */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.input-group label i {
  color: var(--color-primary);
}

.input-group input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.input-group input:focus {
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.auth-submit-btn {
  width: 100%;
  padding: 0.8rem !important;
  font-size: 0.95rem !important;
  margin-top: 0.5rem;
}

/* Error Message */
.auth-error-msg {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  line-height: 1.4;
  text-align: center;
}

/* Header actions & User display */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-email-badge {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-weight: 500;
  display: inline-block;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

/* Password Toggle Styles */
.password-wrapper {
  position: relative;
  display: flex;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px !important;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.toggle-password:hover {
  color: var(--color-primary);
}

/* Super Admin Role Badge */
.role-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-warning);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
