:root {
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-sky: #38bdf8;
  --color-green: #22c55e;
  --color-bg: #f0f9ff;
  --color-sidebar: #1e3a5f;
  --color-sidebar-hover: #2d4f7a;
  --color-sidebar-active: #3b82f6;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-border: #cbd5e1;
  --color-white: #ffffff;
  --color-error: #ef4444;
  --color-success: #22c55e;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Color Emoji', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Layout */
.app-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: var(--color-sidebar);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: width 0.3s ease;
  overflow: hidden;
}

.sidebar-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.6);
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  opacity: 0;
  pointer-events: none;
}

.sidebar:hover .sidebar-toggle {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-toggle:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}

.sidebar-toggle svg {
  transition: transform 0.3s ease;
}

.sidebar.collapsed .sidebar-toggle {
  right: 50%;
  transform: translateX(50%);
}

.sidebar.collapsed .sidebar-toggle svg {
  transform: rotate(180deg);
}

.sidebar.collapsed {
  width: 64px;
}

.sidebar.collapsed .sidebar-header h1,
.sidebar.collapsed .sidebar-header p,
.sidebar.collapsed .sidebar-nav a span {
  display: none;
}

.sidebar.collapsed .sidebar-header a {
  justify-content: center;
}

.sidebar.collapsed .sidebar-nav a {
  justify-content: center;
  padding: 12px 0;
}

.sidebar.collapsed .sidebar-header {
  padding: 24px 0;
  text-align: center;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h1 {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.sidebar-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow: hidden;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 4px;
  cursor: pointer;
}

.sidebar-nav a:hover {
  background: var(--color-sidebar-hover);
  color: white;
}

.sidebar-nav a.active {
  background: var(--color-sidebar-active);
  color: white;
}

.sidebar-nav a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.main-content {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
}

.sidebar.collapsed ~ .main-content {
  margin-left: 64px;
}

.sidebar.collapsed .sidebar-back-link,
.sidebar.collapsed .sidebar-logout-link {
  justify-content: center;
  padding: 12px 0;
}

.sidebar.collapsed .sidebar-back-link span,
.sidebar.collapsed .sidebar-logout-link span,
.sidebar.collapsed .sidebar-user-info,
.sidebar.collapsed .sidebar-user-name,
.sidebar.collapsed .sidebar-user-role {
  display: none;
}

.sidebar.collapsed .sidebar-user {
  justify-content: center;
  padding: 8px 0;
}

.sidebar.collapsed .sidebar-divider {
  margin-left: 8px;
  margin-right: 8px;
}

.header {
  background: white;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-left h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 4px;
}

.lang-switcher button {
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switcher button.active {
  background: var(--color-primary);
  color: white;
}

.lang-switcher button:hover:not(.active) {
  background: rgba(37, 99, 235, 0.1);
}

/* Content area */
.content {
  padding: 32px 24px;
  flex: 1;
}

/* Form card */
.form-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-description {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Progress bar / Stepper */
.stepper {
  margin-bottom: 32px;
}

.stepper-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 16px;
}

.stepper-line {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 0;
}

.stepper-line-fill {
  position: absolute;
  top: 18px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-green), #16a34a);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 1;
  transition: width 0.3s ease;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
  flex: 1;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 3px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  transition: all 0.3s ease;
}

.stepper-step.active .stepper-circle {
  border-color: var(--color-green);
  color: var(--color-green);
  background: white;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.stepper-step.completed .stepper-circle {
  background: var(--color-green);
  border-color: var(--color-green);
  color: white;
}

.stepper-label {
  font-size: 11px;
  color: var(--color-text-light);
  margin-top: 6px;
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
  min-height: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.stepper-step.active .stepper-label {
  color: var(--color-green);
  font-weight: 600;
}

.stepper-current {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 8px;
}

/* Form fields */
.field-group {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
}

.field-label .required-mark {
  color: var(--color-error);
  margin-left: 2px;
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--color-text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.field-input[type="date"],
.field-input[type="date"]::-webkit-calendar-picker-indicator,
.field-select {
  cursor: pointer;
}

.field-select option,
.field-select optgroup {
  cursor: pointer;
}

.field-input.error,
.field-select.error {
  border-color: var(--color-error);
}

.field-error {
  font-size: 12px;
  color: var(--color-error);
  margin-top: 4px;
}

.field-hint {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* Repeating blocks */
.repeat-block {
  border: 2px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  background: #f8fafc;
}

.repeat-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.repeat-block-header span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
}

.repeat-block-remove {
  padding: 6px 12px;
  background: #fee2e2;
  color: var(--color-error);
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.repeat-block-remove:hover {
  background: #fecaca;
}

.btn-add-block {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: white;
  border: 2px dashed var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add-block:hover {
  background: rgba(37, 99, 235, 0.05);
}

/* File upload */
.file-upload {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #f8fafc;
}

.file-upload:hover,
.file-upload.dragover {
  border-color: var(--color-primary);
  background: rgba(37, 99, 235, 0.05);
}

.file-upload-icon {
  font-size: 32px;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.file-upload-text {
  font-size: 14px;
  color: var(--color-text-light);
}

.file-upload-hint {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.file-upload .file-name {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  margin-top: 8px;
}

.file-upload.has-file {
  border-style: solid;
  border-color: var(--color-green);
  background: #f0fdf4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  background: white;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-success {
  background: var(--color-green);
  color: white;
}

.btn-success:hover {
  background: #16a34a;
}

.btn-danger {
  background: var(--color-error);
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

/* Success message */
.success-block {
  background: #f0fdf4;
  border: 2px solid var(--color-green);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.success-text {
  font-size: 20px;
  font-weight: 600;
  color: #15803d;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.checkbox-group label {
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
}

.checkbox-group label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Login page */
.login-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 400px;
  margin: 60px auto;
}

.login-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--color-text);
}

.login-error {
  background: #fee2e2;
  color: var(--color-error);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
}

/* Admin table */
.admin-table-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.admin-table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-table-toolbar .toolbar-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-table-toolbar .toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.per-page-select {
  padding: 6px 12px;
  border: 2px solid var(--color-border);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: #f8fafc;
  padding: 10px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.admin-table th:hover {
  color: var(--color-primary);
}

.admin-table th .sort-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
}

.admin-table th input.filter-input {
  display: block;
  width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
  box-sizing: border-box;
}

.admin-table td {
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.admin-table tr:hover {
  background: #f8fafc;
}

.admin-table .action-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-table .action-btn svg {
  flex-shrink: 0;
}

.action-btn.view {
  background: #dbeafe;
  color: var(--color-primary);
}

.action-btn.delete {
  background: #fee2e2;
  color: var(--color-error);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 16px;
}

.pagination button {
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  background: white;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
}

.pagination button.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal-draggable {
  position: absolute;
  max-width: none;
  max-height: none;
}

.modal-resize-handle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  cursor: nwse-resize;
  background: linear-gradient(135deg, transparent 50%, #cbd5e1 50%);
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #dbeafe;
  border-radius: 12px 12px 0 0;
  z-index: 10;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-text-light);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  position: sticky;
  bottom: 0;
  background: white;
  border-radius: 0 0 12px 12px;
  z-index: 10;
}

/* Detail view */
.detail-section {
  margin-bottom: 24px;
}

.detail-section h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.detail-row {
  display: flex;
  padding: 6px 0;
  font-size: 14px;
}

.detail-label {
  font-weight: 500;
  color: var(--color-text-light);
  width: 220px;
  min-width: 220px;
  flex-shrink: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-right: 12px;
}

.detail-value {
  color: var(--color-text);
  word-break: break-word;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  padding: 2px;
  margin-left: 6px;
  cursor: pointer;
  color: var(--color-text-light);
  vertical-align: middle;
  opacity: 0.6;
  transition: opacity 0.15s, color 0.15s;
}

.copy-btn:hover {
  opacity: 1;
  color: var(--color-primary);
}

/* Responsive */
@media (max-width: 768px) {
  .stepper-label {
    display: none;
  }

  .form-card {
    padding: 20px;
  }

  .content {
    padding: 16px;
  }
}

/* Users view (AD users) */
.users-stats-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
  overflow: hidden;
}

.users-stats-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #e0e7ff, #f0f4f8);
}

.users-stats-grid {
  padding: 16px 20px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.users-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.users-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.users-stat-value {
  font-size: 18px;
  font-weight: 600;
}

.role-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  word-break: break-word;
}

.role-badge.role-manager {
  background: #dbeafe;
  color: var(--color-primary);
}

.role-badge.role-none {
  background: #f3f4f6;
  color: var(--color-text-light);
}

.role-select {
  padding: 4px 8px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 12px;
  background: white;
  color: var(--color-text);
  cursor: pointer;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}

/* Sidebar user info & bottom links */
.sidebar-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 12px 16px;
  margin-top: auto;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 12px;
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #38bdf8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.sidebar-user-info {
  min-width: 0;
  overflow: hidden;
}

.sidebar-user-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: capitalize;
}

.sidebar-back-link,
.sidebar-logout-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.sidebar-back-link:hover,
.sidebar-logout-link:hover {
  background: var(--color-sidebar-hover);
  color: white;
}

@media (max-width: 1024px) {
  .sidebar {
    width: 64px;
  }
  .sidebar .sidebar-header h1,
  .sidebar .sidebar-header p,
  .sidebar .sidebar-nav a span,
  .sidebar .sidebar-back-link span,
  .sidebar .sidebar-logout-link span,
  .sidebar .sidebar-user-info {
    display: none;
  }
  .sidebar .sidebar-header a {
    justify-content: center;
  }
  .sidebar .sidebar-nav a {
    justify-content: center;
    padding: 12px 0;
  }
  .sidebar .sidebar-header {
    padding: 24px 0;
    text-align: center;
  }
  .sidebar .sidebar-back-link,
  .sidebar .sidebar-logout-link {
    justify-content: center;
    padding: 12px 0;
  }
  .sidebar .sidebar-user {
    justify-content: center;
    padding: 8px 0;
  }
  .sidebar .sidebar-divider {
    margin-left: 8px;
    margin-right: 8px;
  }
  .sidebar ~ .main-content {
    margin-left: 64px;
  }
  .sidebar .sidebar-toggle {
    right: 50%;
    transform: translateX(50%);
  }
  .sidebar .sidebar-toggle svg {
    transform: rotate(180deg);
  }
}
