.modern-question-design-add {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0;
}
.modern-question-design-add .add-header {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}
.modern-question-design-add .add-header .step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 1rem;
}
.modern-question-design-add .add-header .step-indicator .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.modern-question-design-add .add-header .step-indicator .step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.modern-question-design-add .add-header .step-indicator .step .step-text {
  font-size: 0.9rem;
  opacity: 0.8;
}
.modern-question-design-add .add-header .step-indicator .step.active .step-number {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
}
.modern-question-design-add .add-header .step-indicator .step.active .step-text {
  opacity: 1;
  font-weight: 500;
}
.modern-question-design-add .add-header .step-indicator .step:not(.active) .step-number {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}
.modern-question-design-add .add-header .step-indicator .step-connector {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
}
.modern-question-design-add .add-header .step-indicator .step-connector::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: white;
  transition: width 0.3s ease;
}
.modern-question-design-add .add-header .page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.modern-question-design-add .add-header .page-title i {
  font-size: 2rem;
}
.modern-question-design-add .add-header .page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}
.modern-question-design-add .add-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
@media (max-width: 1024px) {
  .modern-question-design-add .add-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.modern-question-design-add .form-section .modern-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.modern-question-design-add .form-section .form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}
.modern-question-design-add .form-section .form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.modern-question-design-add .form-section .form-card .card-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}
.modern-question-design-add .form-section .form-card .card-header .card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modern-question-design-add .form-section .form-card .card-header .card-icon i {
  font-size: 1.5rem;
}
.modern-question-design-add .form-section .form-card .card-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}
.modern-question-design-add .form-section .form-card .card-body {
  padding: 2rem;
}
.modern-question-design-add .form-section .form-card .card-body .form-group {
  margin-bottom: 1.5rem;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .form-label i {
  color: #667eea;
  font-size: 1rem;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .input-wrapper,
.modern-question-design-add .form-section .form-card .card-body .form-group .select-wrapper {
  position: relative;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .input-wrapper .modern-input,
.modern-question-design-add .form-section .form-card .card-body .form-group .select-wrapper .modern-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .input-wrapper .modern-input:focus,
.modern-question-design-add .form-section .form-card .card-body .form-group .select-wrapper .modern-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.modern-question-design-add .form-section .form-card .card-body .form-group .input-wrapper .modern-input.error,
.modern-question-design-add .form-section .form-card .card-body .form-group .select-wrapper .modern-input.error {
  border-color: #e74c3c;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .input-wrapper .modern-input.error:focus,
.modern-question-design-add .form-section .form-card .card-body .form-group .select-wrapper .modern-input.error:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}
.modern-question-design-add .form-section .form-card .card-body .form-group .input-wrapper .modern-input::placeholder,
.modern-question-design-add .form-section .form-card .card-body .form-group .select-wrapper .modern-input::placeholder {
  color: #adb5bd;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .error-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .error-message i {
  font-size: 0.9rem;
}
.modern-question-design-add .form-section .form-card .card-body .form-group .form-hint {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header:hover {
  background: #fff;
  border-color: #667eea;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info i {
  font-size: 1.5rem;
  color: #667eea;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #6c757d;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .modern-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .modern-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .modern-toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .modern-toggle input:checked + .toggle-slider:before {
  transform: translateX(24px);
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .modern-toggle .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-header .modern-toggle .toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-content {
  margin-top: 1rem;
  padding: 1.5rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  animation: slideDown 0.3s ease;
}
.modern-question-design-add .form-section .form-card .card-body .toggle-group .toggle-item .toggle-content.animate-in {
  animation: slideDown 0.3s ease;
}
.modern-question-design-add .form-section .form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}
.modern-question-design-add .form-section .form-actions .modern-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.modern-question-design-add .form-section .form-actions .modern-btn i {
  font-size: 1.1rem;
}
.modern-question-design-add .form-section .form-actions .modern-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.modern-question-design-add .form-section .form-actions .modern-btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.modern-question-design-add .form-section .form-actions .modern-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.modern-question-design-add .form-section .form-actions .modern-btn.loading .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}
.modern-question-design-add .preview-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.modern-question-design-add .preview-section .preview-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: all 0.3s ease;
}
.modern-question-design-add .preview-section .preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.modern-question-design-add .preview-section .preview-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}
.modern-question-design-add .preview-section .preview-card h3 i {
  color: #667eea;
  font-size: 1.3rem;
}
.modern-question-design-add .preview-section .preview-card .tips-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modern-question-design-add .preview-section .preview-card .tips-list .tip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  border-left: 3px solid #667eea;
}
.modern-question-design-add .preview-section .preview-card .tips-list .tip-item i {
  color: #28a745;
  font-size: 1rem;
  margin-top: 0.1rem;
}
.modern-question-design-add .preview-section .preview-card .tips-list .tip-item span {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.4;
}
.modern-question-design-add .preview-section .preview-card .survey-preview .preview-header {
  margin-bottom: 1.5rem;
}
.modern-question-design-add .preview-section .preview-card .survey-preview .preview-header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem 0;
}
.modern-question-design-add .preview-section .preview-card .survey-preview .preview-header .preview-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.modern-question-design-add .preview-section .preview-card .survey-preview .preview-header .preview-meta span {
  font-size: 0.85rem;
  color: #6c757d;
}
.modern-question-design-add .preview-section .preview-card .survey-preview .preview-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.modern-question-design-add .preview-section .preview-card .survey-preview .preview-features .feature-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.modern-question-design-add .preview-section .preview-card .survey-preview .preview-features .feature-tag i {
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .modern-question-design-add {
    padding: 1rem 0;
  }
  .modern-question-design-add .add-header {
    margin-bottom: 2rem;
  }
  .modern-question-design-add .add-header .page-title {
    font-size: 2rem;
  }
  .modern-question-design-add .add-header .page-title i {
    font-size: 1.5rem;
  }
  .modern-question-design-add .add-header .page-subtitle {
    font-size: 1rem;
  }
  .modern-question-design-add .add-content {
    padding: 0 1rem;
    gap: 1.5rem;
  }
  .modern-question-design-add .form-section .form-card .card-body {
    padding: 1.5rem;
  }
  .modern-question-design-add .form-section .form-actions .modern-btn {
    width: 100%;
    justify-content: center;
  }
  .modern-question-design-add .preview-section .preview-card {
    padding: 1.5rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.modern-add-ticket-page {
  min-height: 100vh;
  padding: 24px 0;
  position: relative;
}
.modern-add-ticket-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 10%, rgba(102, 126, 234, 0.05) 0%, transparent 50%), radial-gradient(circle at 90% 90%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.add-ticket-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
.add-ticket-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.add-ticket-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.header-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.header-navigation .back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 10px;
  color: var(--neutral-600);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-navigation .back-btn:hover {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}
.header-navigation .back-btn i {
  font-size: 16px;
}

.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 700;
  color: #495057;
  margin: 0 0 8px 0;
}
.page-title i {
  font-size: 28px;
  color: #667eea;
}

.page-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

/* Form Section */
.add-ticket-form-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 40px;
}

.form-title {
  font-size: 20px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 32px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.form-title i {
  font-size: 24px;
  color: #667eea;
}

/* Form Fields */
.form-field {
  margin-bottom: 32px;
}
.form-field .field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-field .field-label .required {
  color: #dc2626;
}
.form-field .field-label i {
  font-size: 16px;
  color: #667eea;
}
.form-field .field-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  color: #495057;
  background: white;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-field .field-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-field .field-input::placeholder {
  color: #adb5bd;
}
.form-field .field-input.error {
  border-color: #dc2626;
}
.form-field .field-input.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-field .field-textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.form-field .field-select {
  position: relative;
}
.form-field .field-select select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  color: #495057;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 48px;
}
.form-field .field-select select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-field .field-select select.error {
  border-color: #dc2626;
}
.form-field .field-select select.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-field .field-select select option {
  padding: 12px;
  background: white;
  color: #495057;
}
.form-field .field-error {
  display: block;
  font-size: 14px;
  color: #dc2626;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-field .field-error i {
  font-size: 14px;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e9ecef;
}
.form-actions .action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 160px;
  justify-content: center;
}
.form-actions .action-btn.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.form-actions .action-btn.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}
.form-actions .action-btn.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-actions .action-btn.btn-secondary {
  background: white;
  color: #495057;
  border-color: #e9ecef;
}
.form-actions .action-btn.btn-secondary:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
}
.form-actions .action-btn i {
  font-size: 18px;
}
.form-actions .action-btn.loading {
  position: relative;
}
.form-actions .action-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.form-actions .action-btn.loading span {
  opacity: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.info-cards .info-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.info-cards .info-card .card-icon {
  font-size: 32px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.info-cards .info-card .card-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
}
.info-cards .info-card .card-description {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
}

/* Loading and Error States */
.ticket-loading-state,
.ticket-error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}
.ticket-loading-state i,
.ticket-error-state i {
  font-size: 64px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.ticket-loading-state h3,
.ticket-error-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.ticket-loading-state p,
.ticket-error-state p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

.ticket-error-state i {
  color: #ef4444;
}
.ticket-error-state h3 {
  color: #dc2626;
}

/* Success Message */
.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}
.success-message i {
  font-size: 64px;
  color: #059669;
  margin-bottom: 24px;
}
.success-message h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.success-message p {
  font-size: 16px;
  color: #6c757d;
  margin: 0 0 24px 0;
}
.success-message .success-actions {
  display: flex;
  gap: 12px;
}
.success-message .success-actions .action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #059669;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.success-message .success-actions .action-btn:hover {
  background: #047857;
  transform: translateY(-2px);
}
.success-message .success-actions .action-btn i {
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-add-ticket-page {
    padding: 16px 0;
  }
  .add-ticket-container {
    padding: 0 16px;
  }
  .add-ticket-header {
    padding: 24px 20px;
  }
  .page-title {
    font-size: 24px;
  }
  .page-title i {
    font-size: 24px;
  }
  .add-ticket-form-section {
    padding: 24px 20px;
  }
  .info-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .action-btn {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .add-ticket-header {
    padding: 20px 16px;
  }
  .add-ticket-form-section {
    padding: 20px 16px;
  }
  .page-title {
    font-size: 20px;
  }
  .page-title i {
    font-size: 20px;
  }
  .form-field {
    margin-bottom: 24px;
  }
  .form-field .field-input,
  .form-field .field-textarea,
  .form-field .field-select select {
    padding: 14px 16px;
    font-size: 16px;
  }
}
.modern-change-password-page {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98) 0%, rgba(226, 232, 240, 0.95) 100%), #f8fafc;
  min-height: 100vh;
  padding: 24px 0;
  position: relative;
}
.modern-change-password-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.05) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.change-password-container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
.change-password-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.change-password-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
}

.header-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.header-title i {
  font-size: 28px;
  color: var(--accent-primary);
  filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
}

.header-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

/* Password Form Section */
.password-form-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 40px;
}

.form-title {
  font-size: 20px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
  text-align: center;
}

.form-subtitle {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 32px 0;
  text-align: center;
  line-height: 1.5;
}

/* Form Fields */
.form-field {
  margin-bottom: 24px;
}
.form-field .field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-field .field-label .required {
  color: #dc2626;
}
.form-field .field-label i {
  font-size: 16px;
  color: #667eea;
}
.form-field .field-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  color: #495057;
  background: white;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-field .field-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.form-field .field-input::placeholder {
  color: #adb5bd;
}
.form-field .field-input.error {
  border-color: #dc2626;
}
.form-field .field-input.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-field .password-input-wrapper {
  position: relative;
}
.form-field .password-input-wrapper .password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  padding: 4px;
}
.form-field .password-input-wrapper .password-toggle:hover {
  color: #495057;
}
.form-field .password-input-wrapper .password-toggle:focus {
  outline: none;
  color: #667eea;
}
.form-field .field-error {
  display: block;
  font-size: 14px;
  color: #dc2626;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-field .field-error i {
  font-size: 14px;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
}
.password-strength .strength-meter {
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.password-strength .strength-meter .strength-fill {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.password-strength .strength-meter .strength-fill.weak {
  width: 33%;
  background: #dc2626;
}
.password-strength .strength-meter .strength-fill.medium {
  width: 66%;
  background: #d97706;
}
.password-strength .strength-meter .strength-fill.strong {
  width: 100%;
  background: #059669;
}
.password-strength .strength-text {
  font-size: 12px;
  font-weight: 500;
}
.password-strength .strength-text.weak {
  color: #dc2626;
}
.password-strength .strength-text.medium {
  color: #d97706;
}
.password-strength .strength-text.strong {
  color: #059669;
}

/* Security Tips */
.security-tips {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
}
.security-tips .tips-title {
  font-size: 16px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.security-tips .tips-title i {
  font-size: 18px;
  color: #667eea;
}
.security-tips .tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.security-tips .tips-list .tip-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 8px;
  line-height: 1.4;
}
.security-tips .tips-list .tip-item:last-child {
  margin-bottom: 0;
}
.security-tips .tips-list .tip-item i {
  font-size: 14px;
  color: #667eea;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}
.form-actions .action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 140px;
  justify-content: center;
}
.form-actions .action-btn.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.form-actions .action-btn.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}
.form-actions .action-btn.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.form-actions .action-btn.btn-secondary {
  background: white;
  color: #495057;
  border-color: #e9ecef;
}
.form-actions .action-btn.btn-secondary:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
}
.form-actions .action-btn.loading {
  position: relative;
}
.form-actions .action-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.form-actions .action-btn.loading span {
  opacity: 0;
}
.form-actions .action-btn i {
  font-size: 18px;
}

/* Success State */
.success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}
.success-state i {
  font-size: 64px;
  color: #059669;
  margin-bottom: 24px;
}
.success-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.success-state p {
  font-size: 16px;
  color: #6c757d;
  margin: 0 0 24px 0;
}
.success-state .redirect-notice {
  font-size: 14px;
  color: #6c757d;
  font-style: italic;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}
.loading-state i {
  font-size: 64px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.loading-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.loading-state p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .modern-change-password-page {
    padding: 16px 0;
  }
  .change-password-container {
    padding: 0 16px;
  }
  .change-password-header {
    padding: 24px 20px;
  }
  .header-title {
    font-size: 24px;
  }
  .header-title i {
    font-size: 24px;
  }
  .password-form-section {
    padding: 24px 20px;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .action-btn {
    width: 100%;
  }
  .security-tips {
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .change-password-header {
    padding: 20px 16px;
  }
  .password-form-section {
    padding: 20px 16px;
  }
  .header-title {
    font-size: 20px;
  }
  .header-title i {
    font-size: 20px;
  }
  .form-field {
    margin-bottom: 20px;
  }
  .form-field .field-input {
    padding: 14px 16px;
    font-size: 16px;
  }
}
.modern-helpdesk-page {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 24px 0;
}

.helpdesk-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
.helpdesk-header {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 32px;
  margin-bottom: 32px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 24px;
}

.header-main {
  flex: 1;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 700;
  color: #495057;
  margin: 0 0 8px 0;
}
.page-title i {
  font-size: 28px;
  color: #667eea;
}

.page-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

.header-actions .create-ticket-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.header-actions .create-ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}
.header-actions .create-ticket-btn i {
  font-size: 18px;
}

/* Filters Section */
.filters-section {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}
.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 18px;
}
.search-box input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  color: #495057;
  background: white;
  transition: all 0.3s ease;
}
.search-box input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.search-box input::placeholder {
  color: #adb5bd;
}

.filter-group {
  display: flex;
  gap: 12px;
}
.filter-group .filter-select {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 14px;
  color: #495057;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}
.filter-group .filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.filter-group .filter-select:hover {
  border-color: #667eea;
}

/* Content Section */
.helpdesk-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 32px;
}

/* Tickets Section */
.tickets-section .results-summary {
  margin-bottom: 24px;
}
.tickets-section .results-summary .results-count {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}
.tickets-section .tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.tickets-section .ticket-card-link {
  text-decoration: none;
  transition: all 0.3s ease;
}
.tickets-section .ticket-card-link:hover {
  transform: translateY(-4px);
}
.tickets-section .ticket-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.tickets-section .ticket-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}
.tickets-section .ticket-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}
.tickets-section .ticket-card .card-header .ticket-id {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
}
.tickets-section .ticket-card .card-header .priority-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-low {
  background: #dcfce7;
  color: #166534;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-medium {
  background: #fef3c7;
  color: #92400e;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-high {
  background: #fed7d7;
  color: #dc2626;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-urgent {
  background: #fee2e2;
  color: #991b1b;
}
.tickets-section .ticket-card .card-content {
  padding: 24px;
}
.tickets-section .ticket-card .card-content .ticket-title {
  font-size: 18px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 12px 0;
  line-height: 1.4;
}
.tickets-section .ticket-card .card-content .ticket-description {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}
.tickets-section .ticket-card .card-footer {
  padding: 20px 24px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tickets-section .ticket-card .card-footer .ticket-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tickets-section .ticket-card .card-footer .ticket-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6c757d;
}
.tickets-section .ticket-card .card-footer .ticket-meta .meta-item i {
  font-size: 14px;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator.open {
  background: #dbeafe;
  color: #1d4ed8;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator.in-progress {
  background: #fef3c7;
  color: #d97706;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator.closed {
  background: #dcfce7;
  color: #059669;
}

/* Modern Pagination */
.modern-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.modern-pagination .pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  color: #495057;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modern-pagination .pagination-btn:hover:not(.disabled) {
  border-color: #667eea;
  background: #667eea;
  color: white;
}
.modern-pagination .pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modern-pagination .pagination-btn i {
  font-size: 14px;
}
.modern-pagination .pagination-numbers {
  display: flex;
  gap: 8px;
}
.modern-pagination .pagination-numbers .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  color: #495057;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.modern-pagination .pagination-numbers .page-item .page-link:hover {
  border-color: #667eea;
  background: #667eea;
  color: white;
}
.modern-pagination .pagination-numbers .page-item.disabled .page-link {
  background: #667eea;
  border-color: #667eea;
  color: white;
  cursor: default;
}

/* Empty and Error States */
.empty-state,
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.empty-state i,
.error-state i {
  font-size: 64px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.empty-state h3,
.error-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.empty-state p,
.error-state p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

.error-state i {
  color: #ef4444;
}
.error-state h3 {
  color: #dc2626;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .helpdesk-container {
    padding: 0 16px;
  }
  .helpdesk-header {
    padding: 24px;
  }
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  .filters-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .search-box {
    min-width: auto;
  }
  .filter-group {
    justify-content: center;
  }
  .tickets-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .modern-helpdesk-page {
    padding: 16px 0;
  }
  .helpdesk-header {
    padding: 20px;
  }
  .page-title {
    font-size: 24px;
  }
  .page-title i {
    font-size: 24px;
  }
  .header-actions {
    width: 100%;
  }
  .header-actions .create-ticket-btn {
    width: 100%;
    justify-content: center;
  }
  .tickets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ticket-card .card-header,
  .ticket-card .card-content,
  .ticket-card .card-footer {
    padding: 16px 20px;
  }
  .modern-pagination {
    flex-direction: column;
    gap: 12px;
  }
  .modern-pagination .pagination-numbers {
    order: -1;
  }
}
@media (max-width: 480px) {
  .helpdesk-header {
    padding: 16px;
  }
  .filters-section {
    gap: 12px;
  }
  .filter-group {
    flex-direction: column;
  }
  .filter-group .filter-select {
    min-width: auto;
  }
  .ticket-card .card-content {
    padding: 16px;
  }
}
.modern-homepage {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  --homepage-primary: #667eea;
  --homepage-secondary: #764ba2;
  --homepage-accent: #f093fb;
  --homepage-text-light: #1E293B;
  --homepage-text-medium: #64748B;
  --homepage-text-dark: #94A3B8;
  --homepage-shadow-primary: 0 20px 40px rgba(0, 0, 0, 0.1);
  --homepage-shadow-secondary: 0 8px 32px rgba(102, 126, 234, 0.2);
}
.modern-homepage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.08) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
  opacity: 0.6;
}
.modern-homepage::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(102,126,234,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(102,126,234,0.03)"/><circle cx="50" cy="50" r="1" fill="rgba(118,75,162,0.02)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 2;
  padding: 80px 24px 60px;
  text-align: center;
  color: var(--homepage-text-light);
}
.hero-section .hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-section .hero-content .hero-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px 0;
  line-height: 1.2;
  text-shadow: var(--homepage-shadow-primary);
}
.hero-section .hero-content .hero-title .brand-highlight {
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}
.hero-section .hero-content .hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 32px 0;
  color: var(--homepage-text-medium);
  line-height: 1.5;
}
.hero-section .hero-content .hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-section .hero-content .hero-actions .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--homepage-shadow-primary);
}
.hero-section .hero-content .hero-actions .hero-btn.btn-primary {
  background: white;
  color: var(--homepage-primary);
}
.hero-section .hero-content .hero-actions .hero-btn.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  background: #f8f9fa;
}
.hero-section .hero-content .hero-actions .hero-btn.btn-secondary {
  background: rgba(102, 126, 234, 0.1);
  color: var(--homepage-primary);
  border: 2px solid rgba(102, 126, 234, 0.2);
  backdrop-filter: blur(10px);
}
.hero-section .hero-content .hero-actions .hero-btn.btn-secondary:hover {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-3px);
}
.hero-section .hero-content .hero-actions .hero-btn i {
  font-size: 18px;
}

/* Features Section */
.features-section {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  background: white;
}
.features-section .features-container {
  max-width: 1200px;
  margin: 0 auto;
}
.features-section .features-container .section-header {
  text-align: center;
  margin-bottom: 60px;
}
.features-section .features-container .section-header .section-title {
  font-size: 36px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 16px 0;
}
.features-section .features-container .section-header .section-subtitle {
  font-size: 18px;
  color: #718096;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}
.features-section .features-container .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}
.features-section .features-container .feature-card {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--homepage-shadow-primary);
  border: 1px solid rgba(30, 41, 59, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.features-section .features-container .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.features-section .features-container .feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.features-section .features-container .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--homepage-shadow-secondary);
}
.features-section .features-container .feature-card:hover::before {
  transform: scaleX(1);
}
.features-section .features-container .feature-card:hover::after {
  opacity: 1;
}
.features-section .features-container .feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-accent);
}
.features-section .features-container .feature-card .feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  transition: all 0.3s ease;
}
.features-section .features-container .feature-card .feature-icon.survey {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.features-section .features-container .feature-card .feature-icon.support {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}
.features-section .features-container .feature-card .feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 16px 0;
}
.features-section .features-container .feature-card .feature-description {
  font-size: 16px;
  color: #718096;
  margin: 0 0 24px 0;
  line-height: 1.6;
}
.features-section .features-container .feature-card .feature-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.features-section .features-container .feature-card .feature-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  color: white;
}
.features-section .features-container .feature-card .feature-action i {
  font-size: 16px;
}

/* Stats Section */
.stats-section {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  background: #f8f9fa;
}
.stats-section .stats-container {
  max-width: 1000px;
  margin: 0 auto;
}
.stats-section .stats-container .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.stats-section .stats-container .stat-item {
  text-align: center;
}
.stats-section .stats-container .stat-item .stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #667eea;
  margin: 0 0 8px 0;
  display: block;
}
.stats-section .stats-container .stat-item .stat-label {
  font-size: 16px;
  color: #718096;
  margin: 0;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  color: white;
  text-align: center;
}
.cta-section .cta-container {
  max-width: 600px;
  margin: 0 auto;
}
.cta-section .cta-container .cta-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.3;
}
.cta-section .cta-container .cta-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin: 0 0 32px 0;
  line-height: 1.5;
}
.cta-section .cta-container .cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-section .cta-container .cta-actions .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.cta-section .cta-container .cta-actions .cta-btn.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}
.cta-section .cta-container .cta-actions .cta-btn.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}
.cta-section .cta-container .cta-actions .cta-btn.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.cta-section .cta-container .cta-actions .cta-btn.btn-outline:hover {
  background: white;
  color: #667eea;
  border-color: white;
}
.cta-section .cta-container .cta-actions .cta-btn i {
  font-size: 18px;
}

/* Floating Elements */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}
.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}
.floating-shapes .shape.shape-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.floating-shapes .shape.shape-2 {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}
.floating-shapes .shape.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  left: 20%;
  animation-delay: 4s;
}
.floating-shapes .shape.shape-4 {
  width: 40px;
  height: 40px;
  bottom: 25%;
  right: 10%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* Responsive Design */
@media (max-width: 1024px) {
  .hero-section {
    padding: 60px 24px 40px;
  }
  .features-section {
    padding: 60px 24px;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .modern-homepage {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  .hero-section {
    padding: 50px 20px 30px;
  }
  .hero-section .hero-content .hero-title {
    font-size: 36px;
  }
  .hero-section .hero-content .hero-subtitle {
    font-size: 18px;
  }
  .hero-section .hero-content .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-section .hero-content .hero-actions .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .features-section {
    padding: 50px 20px;
  }
  .features-section .features-container .section-header {
    margin-bottom: 40px;
  }
  .features-section .features-container .section-header .section-title {
    font-size: 28px;
  }
  .features-section .features-container .section-header .section-subtitle {
    font-size: 16px;
  }
  .features-section .features-container .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .features-section .features-container .feature-card {
    padding: 32px 24px;
  }
  .stats-section {
    padding: 50px 20px;
  }
  .stats-section .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .cta-section {
    padding: 50px 20px;
  }
  .cta-section .cta-title {
    font-size: 24px;
  }
  .cta-section .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-section .cta-actions .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  .floating-shapes .shape.shape-1 {
    width: 60px;
    height: 60px;
  }
  .floating-shapes .shape.shape-2 {
    width: 40px;
    height: 40px;
  }
  .floating-shapes .shape.shape-3 {
    width: 80px;
    height: 80px;
  }
  .floating-shapes .shape.shape-4 {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 480px) {
  .hero-section {
    padding: 40px 16px 20px;
  }
  .hero-section .hero-content .hero-title {
    font-size: 28px;
  }
  .hero-section .hero-content .hero-subtitle {
    font-size: 16px;
  }
  .features-section {
    padding: 40px 16px;
  }
  .features-section .feature-card {
    padding: 24px 20px;
  }
  .stats-section {
    padding: 40px 16px;
  }
  .stats-section .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stats-section .stat-item .stat-number {
    font-size: 36px;
  }
  .cta-section {
    padding: 40px 16px;
  }
  .cta-section .cta-title {
    font-size: 20px;
  }
}
/* Modern Card-Based List Styles */
.modern-list-wrapper {
  padding: 20px 0;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 20px;
}

.header-info h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
}

.header-info p {
  margin: 8px 0 0 0;
  color: #64748b;
  font-size: 14px;
}

.header-actions .btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.header-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 0 20px;
  margin-bottom: 40px;
}

.question-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.question-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

.question-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.question-card:hover::before {
  opacity: 1;
}

/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.card-status {
  font-size: 12px;
}

/* Card Content */
.card-content {
  padding: 16px 20px;
}

.card-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
}

.card-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-title a:hover {
  color: #3b82f6;
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
}

.meta-item i {
  font-size: 14px;
  color: #94a3b8;
}

/* Card Actions */
.card-actions {
  padding: 0 20px 20px 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  flex: 1;
  min-width: 80px;
  justify-content: center;
}

.action-btn span {
  display: none;
}

@media (min-width: 768px) {
  .action-btn span {
    display: inline;
  }
}
.view-btn {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.view-btn:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-1px);
}

.edit-btn {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.edit-btn:hover {
  background: #22c55e;
  color: white;
  transform: translateY(-1px);
}

.delete-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.delete-btn:hover {
  background: #ef4444;
  color: white;
  transform: translateY(-1px);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-top: 20px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.pagination-numbers {
  display: flex;
  gap: 4px;
}

.pagination-number {
  width: 40px;
  height: 40px;
  border: 1px solid #e2e8f0;
  background: white;
  border-radius: 8px;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-number:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.pagination-number.active {
  background: #3b82f6;
  border-color: #3b82f6;
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  .card-actions {
    flex-direction: column;
  }
  .action-btn {
    width: 100%;
  }
  .pagination-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .pagination-numbers {
    order: 1;
  }
}
@media (max-width: 480px) {
  .modern-list-wrapper {
    padding: 16px 0;
  }
  .list-header {
    padding: 0 16px;
  }
  .header-info h3 {
    font-size: 24px;
  }
  .cards-grid {
    padding: 0 12px;
  }
  .card-header,
  .card-content,
  .card-actions {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.modern-profile-page {
  min-height: 100vh;
  padding: 24px 0;
  position: relative;
}
.modern-profile-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.profile-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
.profile-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.profile-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.header-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.header-title i {
  font-size: 28px;
  color: var(--accent-primary);
  filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
}

.header-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

/* Stats Cards */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin-bottom: 16px;
}
.stat-card .stat-icon.payment {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.stat-card .stat-icon.calendar {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.stat-card .stat-icon.plan {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.stat-card .stat-label {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stat-card .stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #495057;
  margin-bottom: 12px;
}
.stat-card .stat-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}
.stat-card .stat-action:hover {
  color: #5a67d8;
  transform: translateX(4px);
}
.stat-card .stat-action i {
  font-size: 16px;
}

/* Profile Info Section */
.profile-info-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 32px;
  margin-bottom: 32px;
}

.profile-info-content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.profile-avatar-section {
  flex-shrink: 0;
  position: relative;
}
.profile-avatar-section .avatar-container {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 4px solid white;
}
.profile-avatar-section .avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-avatar-section .avatar-container .avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}
.profile-avatar-section .avatar-upload {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.profile-avatar-section .avatar-upload:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.profile-avatar-section .avatar-upload input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.profile-avatar-section .avatar-upload i {
  color: white;
  font-size: 18px;
}

.profile-details {
  flex: 1;
}
.profile-details .profile-name {
  font-size: 28px;
  font-weight: 700;
  color: #495057;
  margin: 0 0 8px 0;
}
.profile-details .profile-email {
  font-size: 16px;
  color: #6c757d;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-details .profile-email i {
  font-size: 18px;
  color: #667eea;
}
.profile-details .profile-role {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Plan Modal */
.plan-modal .modal-dialog {
  max-width: 900px;
}
.plan-modal .modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.plan-modal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 16px 16px 0 0;
  padding: 24px 32px;
}
.plan-modal .modal-header .modal-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}
.plan-modal .modal-header .btn-close {
  filter: invert(1);
}
.plan-modal .modal-body {
  padding: 32px;
}

/* Loading States */
.profile-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}
.profile-loading i {
  font-size: 64px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.profile-loading h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.profile-loading p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile-container {
    padding: 0 16px;
  }
  .profile-stats {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  .profile-info-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .profile-avatar-section {
    align-self: center;
  }
}
@media (max-width: 768px) {
  .modern-profile-page {
    padding: 16px 0;
  }
  .profile-header {
    padding: 24px 20px;
  }
  .header-title {
    font-size: 24px;
  }
  .header-title i {
    font-size: 24px;
  }
  .profile-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .stat-card {
    padding: 20px;
  }
  .stat-card .stat-value {
    font-size: 20px;
  }
  .profile-info-section {
    padding: 24px 20px;
  }
  .profile-name {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .profile-header {
    padding: 20px 16px;
  }
  .profile-info-section {
    padding: 20px 16px;
  }
  .profile-avatar-section .avatar-container {
    width: 100px;
    height: 100px;
    border-radius: 12px;
  }
  .profile-avatar-section .avatar-upload {
    width: 36px;
    height: 36px;
    bottom: -6px;
    right: -6px;
  }
  .profile-avatar-section .avatar-upload i {
    font-size: 16px;
  }
  .profile-name {
    font-size: 20px;
  }
}
/* Custom Modal Styles */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.custom-modal-content {
  background: var(--panel-bg);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(30, 41, 59, 0.5);
  max-width: 90vw;
  max-height: 90vh;
  width: 1000px;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
}

.custom-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  background: rgba(17, 24, 39, 0.9);
}

.custom-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.custom-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.custom-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.custom-modal-body {
  padding: 32px;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
}
.custom-modal-body::-webkit-scrollbar {
  width: 6px;
}
.custom-modal-body::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.3);
  border-radius: 3px;
}
.custom-modal-body::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 3px;
}
.custom-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.7);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modern-settings-page {
  min-height: 100vh;
  padding: 24px 0;
  position: relative;
}
.modern-settings-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.settings-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
.settings-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 32px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.settings-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.header-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.header-title i {
  font-size: 28px;
  color: var(--accent-primary);
  filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
}

.header-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
}

/* Settings Sections */
.settings-section {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 32px;
  margin-bottom: 32px;
}
.settings-section .section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.settings-section .section-header .section-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}
.settings-section .section-header .section-icon.language {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.settings-section .section-header .section-icon.account {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.settings-section .section-header .section-icon.security {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.settings-section .section-header .section-title {
  font-size: 20px;
  font-weight: 600;
  color: #495057;
  margin: 0;
}
.settings-section .section-description {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Language Settings */
.language-settings .language-form {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}
.language-settings .language-form .language-select {
  flex: 1;
}
.language-settings .language-form .language-select .select-wrapper {
  position: relative;
}
.language-settings .language-form .language-select .select-wrapper select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  color: #495057;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 48px;
}
.language-settings .language-form .language-select .select-wrapper select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.language-settings .language-form .language-select .select-wrapper select.error {
  border-color: #dc2626;
}
.language-settings .language-form .language-select .select-wrapper select.error:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.language-settings .language-form .update-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.language-settings .language-form .update-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}
.language-settings .language-form .update-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.language-settings .language-form .update-btn.loading {
  position: relative;
}
.language-settings .language-form .update-btn.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.language-settings .language-form .update-btn.loading span {
  opacity: 0;
}
.language-settings .language-form .update-btn i {
  font-size: 18px;
}

/* Account Settings */
.account-settings .settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.account-settings .setting-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}
.account-settings .setting-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}
.account-settings .setting-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  margin-bottom: 16px;
}
.account-settings .setting-card .card-icon.password {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.account-settings .setting-card .card-icon.delete {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
}
.account-settings .setting-card .card-title {
  font-size: 18px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.account-settings .setting-card .card-description {
  font-size: 14px;
  color: #6c757d;
  margin: 0 0 16px 0;
  line-height: 1.5;
}
.account-settings .setting-card .card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}
.account-settings .setting-card .card-action:hover {
  color: #5a67d8;
  transform: translateX(4px);
}
.account-settings .setting-card .card-action i {
  font-size: 16px;
}
.account-settings .setting-card .card-action.danger {
  color: #dc2626;
}
.account-settings .setting-card .card-action.danger:hover {
  color: #b91c1c;
}

/* Session Management (Future) */
.session-management .session-table .table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 2px solid #e9ecef;
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
}
.session-management .session-table .session-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
  align-items: center;
}
.session-management .session-table .session-row .device-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.session-management .session-table .session-row .device-info i {
  font-size: 20px;
  color: #667eea;
}
.session-management .session-table .session-row .device-info .device-name {
  font-weight: 500;
  color: #495057;
}
.session-management .session-table .session-row .session-action {
  color: #dc2626;
  cursor: pointer;
  transition: all 0.3s ease;
}
.session-management .session-table .session-row .session-action:hover {
  color: #b91c1c;
  transform: scale(1.1);
}

/* Loading States */
.settings-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}
.settings-loading i {
  font-size: 64px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.settings-loading h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.settings-loading p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

/* Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .modern-settings-page {
    padding: 16px 0;
  }
  .settings-container {
    padding: 0 16px;
  }
  .settings-header {
    padding: 24px 20px;
  }
  .header-title {
    font-size: 24px;
  }
  .header-title i {
    font-size: 24px;
  }
  .settings-section {
    padding: 24px 20px;
  }
  .language-form {
    flex-direction: column;
  }
  .language-form .language-select {
    margin-bottom: 16px;
  }
  .language-form .update-btn {
    width: 100%;
    justify-content: center;
  }
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .session-table .table-header,
  .session-table .session-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .session-table .table-header .device-info,
  .session-table .session-row .device-info {
    justify-content: flex-start;
  }
}
@media (max-width: 480px) {
  .settings-header {
    padding: 20px 16px;
  }
  .settings-section {
    padding: 20px 16px;
  }
  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .setting-card {
    padding: 20px;
  }
}
/* Custom Modal Styles */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.custom-modal-content {
  background: var(--panel-bg);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(30, 41, 59, 0.5);
  max-width: 90vw;
  max-height: 90vh;
  width: 500px;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
}

.custom-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(30, 41, 59, 0.3);
  background: rgba(17, 24, 39, 0.9);
}

.custom-modal-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.custom-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.custom-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.custom-modal-body {
  padding: 32px;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
}
.custom-modal-body::-webkit-scrollbar {
  width: 6px;
}
.custom-modal-body::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.3);
  border-radius: 3px;
}
.custom-modal-body::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 3px;
}
.custom-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.7);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* Modern fixed sidebar styles */
.sidebar-nav-wrapper {
  position: fixed;
  left: 0;
  top: 70px;
  bottom: 0;
  width: 340px;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  color: #1E293B;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  /* Elegant light with glass effect */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  background-attachment: fixed;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-100%);
}

.sidebar-nav-wrapper.active {
  transform: translateX(0);
}

.sidebar-top-fixed {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
}

.sidebar-top-fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}

.navbar-logo a {
  color: #1E293B;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.navbar-logo a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transition: width 0.3s ease;
}

.navbar-logo a:hover::after {
  width: 100%;
}

.logo-sub {
  font-size: 12px;
  color: rgba(30, 41, 59, 0.7);
  margin-top: 4px;
  font-weight: 500;
}

/* Scroll area for navigation */
.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 16px 120px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
  border-radius: 3px;
  transition: background 0.3s ease;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.sidebar-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-nav .nav-item {
  margin-bottom: 8px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #64748B;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sidebar-nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.sidebar-nav a:hover::before {
  left: 100%;
}

.sidebar-nav a:hover,
.sidebar-nav a:focus {
  background: rgba(102, 126, 234, 0.08);
  color: #1E293B;
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  outline: none;
}

.sidebar-nav a.active {
  background: rgba(102, 126, 234, 0.12);
  color: #1E293B;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-left: 3px solid #667eea;
}

.sidebar-nav .icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(102, 126, 234, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.sidebar-nav .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-nav a:hover .icon {
  background: rgba(102, 126, 234, 0.15);
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-nav a:hover .icon::before {
  opacity: 1;
}

.sidebar-nav .text {
  font-weight: 600;
  font-size: 15px;
  flex: 1;
}

.sidebar-nav .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.sidebar-nav a:hover .arrow {
  opacity: 1;
}

/* Nested menus */
.sidebar-nav .dropdown-nav {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-left: 56px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(-10px);
}

.sidebar-nav .dropdown-nav.open {
  max-height: 200px;
  padding-top: 8px;
  padding-bottom: 8px;
  opacity: 1;
  transform: translateY(0);
}

.sidebar-nav .dropdown-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.sidebar-nav .dropdown-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateX(2px);
}

/* Bottom profile card */
.sidebar-profile-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
}

.profile-card {
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-3px) scale(1.02);
}

.profile-card-inner {
  background: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.profile-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.profile-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.profile-card .avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-card:hover .avatar {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.profile-card:hover .avatar::before {
  opacity: 1;
}

.profile-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.profile-name {
  font-weight: 700;
  color: #1e293b;
  font-size: 14px;
}

.profile-email {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.profile-cta {
  margin-left: auto;
  color: #64748b;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.profile-card:hover .profile-cta {
  color: #1e293b;
}

.sidebar-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 40%), radial-gradient(circle at 70% 80%, rgba(147, 51, 234, 0.02) 0%, transparent 40%), linear-gradient(135deg, rgba(255, 255, 255, 0.01) 0%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 900px) {
  .sidebar-nav-wrapper {
    width: 300px;
  }
}
@media (max-width: 768px) {
  .sidebar-nav-wrapper {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar-nav-wrapper.open {
    transform: translateX(0);
  }
}
.modern-helpdesk-page {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 24px 0;
}

.helpdesk-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Section */
.helpdesk-header {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 32px;
  margin-bottom: 32px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  gap: 24px;
}

.header-main {
  flex: 1;
}

.page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 32px;
  font-weight: 700;
  color: #495057;
  margin: 0 0 8px 0;
}
.page-title i {
  font-size: 28px;
  color: #667eea;
}

.page-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
  font-weight: 500;
}

.header-actions .create-ticket-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}
.header-actions .create-ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}
.header-actions .create-ticket-btn i {
  font-size: 18px;
}

/* Filters Section */
.filters-section {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}
.search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 18px;
}
.search-box input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  color: #495057;
  background: white;
  transition: all 0.3s ease;
}
.search-box input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.search-box input::placeholder {
  color: #adb5bd;
}

.filter-group {
  display: flex;
  gap: 12px;
}
.filter-group .filter-select {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 14px;
  color: #495057;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}
.filter-group .filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.filter-group .filter-select:hover {
  border-color: #667eea;
}

/* Content Section */
.helpdesk-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  padding: 32px;
}

/* Tickets Section */
.tickets-section .results-summary {
  margin-bottom: 24px;
}
.tickets-section .results-summary .results-count {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}
.tickets-section .tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.tickets-section .ticket-card-link {
  text-decoration: none;
  transition: all 0.3s ease;
}
.tickets-section .ticket-card-link:hover {
  transform: translateY(-4px);
}
.tickets-section .ticket-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}
.tickets-section .ticket-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}
.tickets-section .ticket-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}
.tickets-section .ticket-card .card-header .ticket-id {
  font-size: 14px;
  font-weight: 600;
  color: #6c757d;
}
.tickets-section .ticket-card .card-header .priority-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-low {
  background: #dcfce7;
  color: #166534;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-medium {
  background: #fef3c7;
  color: #92400e;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-high {
  background: #fed7d7;
  color: #dc2626;
}
.tickets-section .ticket-card .card-header .priority-badge.priority-urgent {
  background: #fee2e2;
  color: #991b1b;
}
.tickets-section .ticket-card .card-content {
  padding: 24px;
}
.tickets-section .ticket-card .card-content .ticket-title {
  font-size: 18px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 12px 0;
  line-height: 1.4;
}
.tickets-section .ticket-card .card-content .ticket-description {
  font-size: 14px;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}
.tickets-section .ticket-card .card-footer {
  padding: 20px 24px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tickets-section .ticket-card .card-footer .ticket-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tickets-section .ticket-card .card-footer .ticket-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6c757d;
}
.tickets-section .ticket-card .card-footer .ticket-meta .meta-item i {
  font-size: 14px;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator.open {
  background: #dbeafe;
  color: #1d4ed8;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator.in-progress {
  background: #fef3c7;
  color: #d97706;
}
.tickets-section .ticket-card .card-footer .ticket-status .status-indicator.closed {
  background: #dcfce7;
  color: #059669;
}

/* Modern Pagination */
.modern-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}
.modern-pagination .pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  color: #495057;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modern-pagination .pagination-btn:hover:not(.disabled) {
  border-color: #667eea;
  background: #667eea;
  color: white;
}
.modern-pagination .pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modern-pagination .pagination-btn i {
  font-size: 14px;
}
.modern-pagination .pagination-numbers {
  display: flex;
  gap: 8px;
}
.modern-pagination .pagination-numbers .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  color: #495057;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.modern-pagination .pagination-numbers .page-item .page-link:hover {
  border-color: #667eea;
  background: #667eea;
  color: white;
}
.modern-pagination .pagination-numbers .page-item.disabled .page-link {
  background: #667eea;
  border-color: #667eea;
  color: white;
  cursor: default;
}

/* Empty and Error States */
.empty-state,
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
}
.empty-state i,
.error-state i {
  font-size: 64px;
  color: #cbd5e1;
  margin-bottom: 24px;
}
.empty-state h3,
.error-state h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin: 0 0 8px 0;
}
.empty-state p,
.error-state p {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

.error-state i {
  color: #ef4444;
}
.error-state h3 {
  color: #dc2626;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .helpdesk-container {
    padding: 0 16px;
  }
  .helpdesk-header {
    padding: 24px;
  }
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  .filters-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .search-box {
    min-width: auto;
  }
  .filter-group {
    justify-content: center;
  }
  .tickets-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .modern-helpdesk-page {
    padding: 16px 0;
  }
  .helpdesk-header {
    padding: 20px;
  }
  .page-title {
    font-size: 24px;
  }
  .page-title i {
    font-size: 24px;
  }
  .header-actions {
    width: 100%;
  }
  .header-actions .create-ticket-btn {
    width: 100%;
    justify-content: center;
  }
  .tickets-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ticket-card .card-header,
  .ticket-card .card-content,
  .ticket-card .card-footer {
    padding: 16px 20px;
  }
  .modern-pagination {
    flex-direction: column;
    gap: 12px;
  }
  .modern-pagination .pagination-numbers {
    order: -1;
  }
}
@media (max-width: 480px) {
  .helpdesk-header {
    padding: 16px;
  }
  .filters-section {
    gap: 12px;
  }
  .filter-group {
    flex-direction: column;
  }
  .filter-group .filter-select {
    min-width: auto;
  }
  .ticket-card .card-content {
    padding: 16px;
  }
}
.professional-question-design-add {
  min-height: 100vh;
  background-color: #f8f9fa;
  padding: 24px;
}
.professional-question-design-add .add-header {
  text-align: center;
  margin-bottom: 40px;
}
.professional-question-design-add .add-header .step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  gap: 16px;
}
.professional-question-design-add .add-header .step-indicator .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.professional-question-design-add .add-header .step-indicator .step .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}
.professional-question-design-add .add-header .step-indicator .step .step-text {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
}
.professional-question-design-add .add-header .step-indicator .step.active .step-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: white;
}
.professional-question-design-add .add-header .step-indicator .step.active .step-text {
  color: #495057;
  font-weight: 600;
}
.professional-question-design-add .add-header .step-indicator .step:not(.active) .step-number {
  background: white;
  color: #6c757d;
}
.professional-question-design-add .add-header .step-indicator .step-connector {
  width: 80px;
  height: 2px;
  background: #e9ecef;
  position: relative;
}
.professional-question-design-add .add-header .step-indicator .step-connector::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}
.professional-question-design-add .add-header .page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.professional-question-design-add .add-header .page-title i {
  font-size: 28px;
  color: #667eea;
}
.professional-question-design-add .add-header .page-subtitle {
  font-size: 16px;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}
.professional-question-design-add .add-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}
.professional-question-design-add .add-content .form-section .professional-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-header .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-header .card-icon i {
  font-size: 20px;
  color: white;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #495057;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body {
  padding: 24px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group {
  margin-bottom: 20px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group:last-child {
  margin-bottom: 0;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .form-label i {
  font-size: 16px;
  color: #6c757d;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper {
  position: relative;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .professional-input,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper .professional-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  color: #495057;
  background: white;
  transition: all 0.2s ease;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .professional-input:focus,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper .professional-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .professional-input.error,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper .professional-input.error {
  border-color: #dc3545;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .professional-input.error:focus,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper .professional-input.error:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .professional-input::placeholder,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper .professional-input::placeholder {
  color: #adb5bd;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .error-message,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper .error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  color: #dc3545;
  font-weight: 500;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .error-message i,
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .select-wrapper .error-message i {
  font-size: 14px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6c757d;
  font-style: italic;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header:hover {
  background: #e9ecef;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info i {
  font-size: 20px;
  color: #6c757d;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info h4 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info p {
  margin: 0;
  font-size: 14px;
  color: #6c757d;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .professional-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .professional-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .professional-toggle input:checked + .toggle-slider {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .professional-toggle input:checked + .toggle-slider:before {
  transform: translateX(24px);
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .professional-toggle .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 26px;
  transition: 0.3s;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .professional-toggle .toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-content {
  margin-top: 16px;
  padding: 16px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  animation: slideDown 0.3s ease;
}
.professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-content.animate-in {
  animation: slideDown 0.3s ease;
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions {
  display: flex;
  justify-content: center;
  padding: 24px 0;
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn.primary.loading {
  opacity: 0.8;
  cursor: not-allowed;
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn.primary.loading .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn i {
  font-size: 18px;
}
.professional-question-design-add .add-content .preview-section .preview-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.professional-question-design-add .add-content .preview-section .preview-card:last-child {
  margin-bottom: 0;
}
.professional-question-design-add .add-content .preview-section .preview-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: #495057;
}
.professional-question-design-add .add-content .preview-section .preview-card h3 i {
  font-size: 20px;
  color: #667eea;
}
.professional-question-design-add .add-content .preview-section .preview-card .tips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.professional-question-design-add .add-content .preview-section .preview-card .tips-list .tip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #6c757d;
}
.professional-question-design-add .add-content .preview-section .preview-card .tips-list .tip-item i {
  font-size: 16px;
  color: #28a745;
  flex-shrink: 0;
}
.professional-question-design-add .add-content .preview-section .preview-card .survey-preview .preview-header {
  margin-bottom: 16px;
}
.professional-question-design-add .add-content .preview-section .preview-card .survey-preview .preview-header h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #495057;
}
.professional-question-design-add .add-content .preview-section .preview-card .survey-preview .preview-header .preview-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #6c757d;
}
.professional-question-design-add .add-content .preview-section .preview-card .survey-preview .preview-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.professional-question-design-add .add-content .preview-section .preview-card .survey-preview .preview-features .feature-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #e9ecef;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #495057;
}
.professional-question-design-add .add-content .preview-section .preview-card .survey-preview .preview-features .feature-tag i {
  font-size: 14px;
  color: #6c757d;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 1024px) {
  .professional-question-design-add .add-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .professional-question-design-add {
    padding: 16px;
  }
  .professional-question-design-add .add-header {
    margin-bottom: 32px;
  }
  .professional-question-design-add .add-header .step-indicator {
    flex-direction: column;
    gap: 12px;
  }
  .professional-question-design-add .add-header .step-indicator .step-connector {
    width: 2px;
    height: 40px;
    order: -1;
  }
  .professional-question-design-add .add-header .page-title {
    font-size: 28px;
  }
  .professional-question-design-add .add-header .page-title i {
    font-size: 24px;
  }
  .professional-question-design-add .add-header .page-subtitle {
    font-size: 14px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-header {
    padding: 20px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-header .card-icon {
    width: 40px;
    height: 40px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-header .card-icon i {
    font-size: 18px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-header h3 {
    font-size: 16px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-body {
    padding: 20px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .form-group .input-wrapper .professional-input {
    padding: 10px 14px;
    font-size: 16px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header {
    padding: 14px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info h4 {
    font-size: 15px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-header .toggle-info p {
    font-size: 13px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-card .card-body .toggle-group .toggle-item .toggle-content {
    padding: 14px;
  }
  .professional-question-design-add .add-content .form-section .professional-form .form-actions .professional-btn {
    padding: 12px 24px;
    font-size: 15px;
  }
  .professional-question-design-add .add-content .preview-section .preview-card {
    padding: 20px;
  }
  .professional-question-design-add .add-content .preview-section .preview-card h3 {
    font-size: 16px;
  }
}
.professional-detail-page {
  min-height: 100vh;
  background-color: #f8f9fa;
  padding: 24px;
}
.professional-detail-page .detail-container {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.professional-detail-page .loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #6c757d;
}
.professional-detail-page .loading-state .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e9ecef;
  border-top: 3px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
.professional-detail-page .loading-state .loading-text {
  font-size: 16px;
  font-weight: 500;
}
.professional-detail-page .error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #dc3545;
}
.professional-detail-page .error-state h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}
.professional-detail-page .error-state p {
  margin: 0;
  font-size: 14px;
  text-align: center;
}
.professional-detail-page .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #6c757d;
}
.professional-detail-page .empty-state h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
}
.professional-detail-page .empty-state p {
  margin: 0;
  font-size: 14px;
  text-align: center;
}
.professional-detail-page .detail-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 32px;
}
.professional-detail-page .detail-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.professional-detail-page .detail-header .header-content .header-main {
  flex: 1;
}
.professional-detail-page .detail-header .header-content .header-main .header-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: white;
}
.professional-detail-page .detail-header .header-content .header-main .header-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}
.professional-detail-page .detail-header .header-content .header-main .header-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}
.professional-detail-page .detail-header .header-content .header-main .header-meta .meta-item i {
  font-size: 16px;
}
.professional-detail-page .detail-header .header-content .header-main .header-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}
.professional-detail-page .detail-header .header-content .header-actions .edit-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.professional-detail-page .detail-header .header-content .header-actions .edit-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}
.professional-detail-page .detail-header .header-content .header-actions .edit-button i {
  font-size: 16px;
}
.professional-detail-page .detail-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 32px;
}
.professional-detail-page .detail-content .details-sidebar .detail-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-header i {
  font-size: 20px;
  color: #6c757d;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body {
  padding: 20px;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f3f4;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row:last-child {
  border-bottom: none;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row .detail-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row .detail-label i {
  font-size: 16px;
  color: #adb5bd;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row .detail-value {
  font-size: 14px;
  font-weight: 500;
  color: #495057;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row .status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row .status-badge.status-active {
  background: #d4edda;
  color: #155724;
}
.professional-detail-page .detail-content .details-sidebar .detail-card .card-body .detail-row .status-badge.status-inactive {
  background: #f8d7da;
  color: #721c24;
}
.professional-detail-page .detail-content .main-content .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s ease;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-header .metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-header .metric-icon.participants {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-header .metric-icon.responses {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-header .metric-icon.questions {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-header .metric-icon.decisions {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-header .metric-icon i {
  font-size: 20px;
  color: white;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-value {
  font-size: 32px;
  font-weight: 700;
  color: #495057;
  margin-bottom: 4px;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-label {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 8px;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-change.positive {
  color: #28a745;
}
.professional-detail-page .detail-content .main-content .metrics-grid .metric-card .metric-change.positive i {
  font-size: 14px;
}
.professional-detail-page .detail-content .main-content .participants-section {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
}
.professional-detail-page .detail-content .main-content .participants-section .participants-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}
.professional-detail-page .detail-content .main-content .participants-section .participants-header i {
  font-size: 20px;
  color: #6c757d;
}
.professional-detail-page .detail-content .main-content .participants-section .participants-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #495057;
}
.professional-detail-page .detail-content .main-content .participants-section .participants-content {
  padding: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 1024px) {
  .professional-detail-page .detail-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .professional-detail-page {
    padding: 16px;
  }
  .professional-detail-page .detail-header {
    padding: 24px 20px;
  }
  .professional-detail-page .detail-header .header-content {
    flex-direction: column;
    gap: 20px;
  }
  .professional-detail-page .detail-header .header-content .header-main .header-title {
    font-size: 24px;
  }
  .professional-detail-page .detail-header .header-content .header-main .header-meta {
    flex-direction: column;
    gap: 8px;
  }
  .professional-detail-page .detail-content {
    padding: 20px;
  }
  .professional-detail-page .detail-content .metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .professional-detail-page .detail-content .metrics-grid .metric-card {
    padding: 20px;
  }
}
.header-spacing {
  padding-top: 70px !important;
}
@media (max-width: 768px) {
  .header-spacing {
    padding-top: 60px !important;
  }
}

main.main-wrapper {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

main.main-wrapper.header-spacing section.section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

main.main-wrapper.header-spacing section.section .position-relative {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.header-spacing {
  padding-top: 70px !important;
}
@media (max-width: 768px) {
  .header-spacing {
    padding-top: 60px !important;
  }
}

.modern-header.designer-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-header.designer-header .header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}
.modern-header.designer-header .designer-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modern-header.designer-header .designer-actions .action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.modern-header.designer-header .designer-actions .action-btn.back-btn {
  background: rgba(255, 255, 255, 0.8);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.modern-header.designer-header .designer-actions .action-btn.back-btn:hover {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  transform: translateX(-4px);
}
.modern-header.designer-header .designer-actions .action-btn.save-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.modern-header.designer-header .designer-actions .action-btn.save-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.modern-header.designer-header .designer-actions .action-btn.save-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.modern-header.designer-header .designer-actions .action-btn i {
  font-size: 1rem;
}
.modern-header.designer-header .designer-controls {
  flex: 1;
  display: flex;
  justify-content: center;
}
.modern-header.designer-header .profile-section {
  margin-left: 1rem;
  position: relative;
}
.modern-header.designer-header .profile-section .profile-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.modern-header.designer-header .profile-section .profile-btn:hover {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}
.modern-header.designer-header .profile-section .profile-btn .profile-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modern-header.designer-header .profile-section .profile-btn .profile-info .profile-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}
.modern-header.designer-header .profile-section .profile-btn .profile-info .profile-details {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 59, 0.5);
  border-radius: var(--radius-lg);
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 120px;
  box-shadow: var(--shadow-sm);
}
.modern-header.designer-header .profile-section .profile-btn .profile-info .profile-details .profile-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #F8FAFC;
  line-height: 1.2;
}
.modern-header.designer-header .profile-section .profile-btn .profile-info .profile-details .profile-role {
  font-size: 0.75rem;
  color: #CBD5E1;
  line-height: 1.2;
}
.modern-header.designer-header .profile-section .profile-btn .profile-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.modern-header.designer-header .profile-section .profile-btn .profile-arrow.rotated {
  transform: rotate(180deg);
}
.modern-header.designer-header .profile-section .profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  max-width: 320px;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}
.modern-header.designer-header .profile-section .profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-header .user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-header .user-info .user-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-header .user-info .user-details {
  flex: 1;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-header .user-info .user-details .user-name {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-header .user-info .user-details .user-email {
  font-size: 0.875rem;
  color: #6b7280;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items {
  padding: 0.5rem 0;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  font-size: 0.9rem;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item:hover {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  transform: translateX(4px);
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item .item-icon {
  font-size: 1rem;
  width: 16px;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item .item-text {
  flex: 1;
  text-align: left;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items .logout-btn {
  color: #dc2626;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items .logout-btn:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
}
.modern-header.designer-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 0.5rem 0;
}
@media (max-width: 1024px) {
  .modern-header.designer-header .header-container {
    padding: 0 1rem;
    gap: 1rem;
  }
  .modern-header.designer-header .designer-actions {
    gap: 0.5rem;
  }
  .modern-header.designer-header .designer-actions .action-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  .modern-header.designer-header .designer-actions .action-btn span {
    display: none;
  }
}
@media (max-width: 768px) {
  .modern-header.designer-header .header-container {
    height: 60px;
    padding: 0 1rem;
  }
  .modern-header.designer-header .designer-actions .action-btn {
    padding: 0.5rem;
  }
  .modern-header.designer-header .designer-actions .action-btn i {
    font-size: 1.2rem;
  }
  .modern-header.designer-header .profile-section .profile-btn {
    padding: 0.5rem;
  }
  .modern-header.designer-header .profile-section .profile-btn .profile-info .profile-details {
    display: none;
  }
  .modern-header.designer-header .profile-section .profile-dropdown {
    min-width: 250px;
    right: -1rem;
  }
}

.main-content {
  padding-top: 0 !important;
}

.main-content-inner {
  padding-top: 70px !important;
  transition: padding-top 0.3s ease;
}
@media (max-width: 768px) {
  .main-content-inner {
    padding-top: 60px !important;
  }
}

.overlay {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 768px) {
  .overlay {
    top: 60px;
  }
}

:root {
  --primary-bg: #0F172A;
  --secondary-bg: #1E293B;
  --panel-bg: #111827;
  --border-color: #334155;
  --accent-primary: #8B5CF6;
  --accent-secondary: #A855F7;
  --accent-light: #C084FC;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--panel-bg) 0%, var(--secondary-bg) 100%);
  --gradient-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-light) 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 10px 10px -5px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 4px 14px 0 rgba(139, 92, 246, 0.3);
  --shadow-accent-lg: 0 10px 25px -3px rgba(139, 92, 246, 0.4), 0 4px 6px -2px rgba(139, 92, 246, 0.3);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-purple);
  transition: all var(--transition-normal);
}
.modern-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-surface);
  opacity: 0.8;
  pointer-events: none;
}
.modern-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-accent-lg);
}
.modern-header .header-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.modern-header .header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modern-header .header-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: var(--shadow-purple);
  transition: all var(--transition-normal);
}
.modern-header .header-logo .logo-icon:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-purple-lg);
}
.modern-header .header-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}
.modern-header .header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.modern-header .header-nav .nav-item {
  position: relative;
}
.modern-header .header-nav .nav-item .nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: var(--neutral-600);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.modern-header .header-nav .nav-item .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.1), transparent);
  transition: left 0.5s ease;
}
.modern-header .header-nav .nav-item .nav-link:hover {
  color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.modern-header .header-nav .nav-item .nav-link:hover::before {
  left: 100%;
}
.modern-header .header-nav .nav-item .nav-link:hover .nav-icon {
  transform: scale(1.1);
}
.modern-header .header-nav .nav-item .nav-link .nav-icon {
  font-size: 1.1rem;
  transition: transform var(--transition-normal);
}
.modern-header .header-nav .nav-item .nav-link .nav-text {
  font-size: 0.9rem;
}
.modern-header .header-nav .nav-item .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-header .header-nav .nav-item .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.modern-header .header-nav .nav-item .dropdown-menu .dropdown-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modern-header .header-nav .nav-item .dropdown-menu .dropdown-item:hover {
  background: rgba(102, 126, 234, 0.08);
  color: #667eea;
  transform: translateX(4px);
}
.modern-header .header-nav .nav-item .dropdown-menu .dropdown-item .item-icon {
  font-size: 1rem;
}
.modern-header .header-nav .menu-toggle {
  display: none;
  padding: 0.75rem;
  background: rgba(102, 126, 234, 0.1);
  border: none;
  border-radius: 12px;
  color: #667eea;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modern-header .header-nav .menu-toggle:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}
.modern-header .header-nav .menu-toggle .toggle-icon {
  font-size: 1.2rem;
}
.modern-header .header-nav .menu-toggle .toggle-text {
  margin-left: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.modern-header .header-nav .sidebar-toggle {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}
.modern-header .header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modern-header .header-actions .action-item {
  position: relative;
}
.modern-header .header-actions .action-item .action-btn {
  position: relative;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modern-header .header-actions .action-item .action-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}
.modern-header .header-actions .action-item .action-btn .action-icon {
  font-size: 1.1rem;
}
.modern-header .header-actions .action-item .action-btn .notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}
.modern-header .header-actions .action-item .notification-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  min-width: 320px;
  max-height: 400px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-header .header-actions .action-item .notification-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.modern-header .header-actions .action-item .notification-dropdown .dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #374151;
}
.modern-header .header-actions .action-item .notification-dropdown .notification-item {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
}
.modern-header .header-actions .action-item .notification-dropdown .notification-item:hover {
  background: rgba(102, 126, 234, 0.05);
}
.modern-header .header-actions .action-item .notification-dropdown .notification-item:last-child {
  border-bottom: none;
}
.modern-header .header-actions .action-item .notification-dropdown .notification-item .notification-content .notification-title {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}
.modern-header .header-actions .action-item .notification-dropdown .notification-item .notification-content .notification-text {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.modern-header .header-actions .action-item .notification-dropdown .notification-item .notification-content .notification-time {
  color: #9ca3af;
  font-size: 0.75rem;
}
.modern-header .header-actions .profile-section {
  margin-left: 1rem;
  position: relative;
}
.modern-header .header-actions .profile-section .profile-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  min-height: 56px;
  height: 56px;
  width: 100%;
  max-width: 280px;
}
.modern-header .header-actions .profile-section .profile-btn:hover {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.modern-header .header-actions .profile-section .profile-btn .profile-info {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  min-width: 0;
  flex-shrink: 0;
  height: 100%;
}
.modern-header .header-actions .profile-section .profile-btn .profile-info .profile-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  color: white;
  font-size: 1rem;
  box-shadow: var(--shadow-accent);
}
.modern-header .header-actions .profile-section .profile-btn .profile-info .profile-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
  height: 100%;
  overflow: hidden;
  align-self: stretch;
}
.modern-header .header-actions .profile-section .profile-btn .profile-info .profile-details .profile-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  margin-bottom: 0.125rem;
  align-self: flex-start;
}
.modern-header .header-actions .profile-section .profile-btn .profile-info .profile-details .profile-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
  align-self: flex-start;
}
.modern-header .header-actions .profile-section .profile-btn .profile-arrow {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: transform var(--transition-normal);
  margin-left: auto;
}
.modern-header .header-actions .profile-section .profile-btn .profile-arrow.rotated {
  transform: rotate(180deg);
}
.modern-header .header-actions .profile-section .profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  max-width: 320px;
  width: max-content;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}
.modern-header .header-actions .profile-section .profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-header .user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-header .user-info .user-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-header .user-info .user-details {
  flex: 1;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-header .user-info .user-details .user-name {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-header .user-info .user-details .user-email {
  font-size: 0.875rem;
  color: #6b7280;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items {
  padding: 0.5rem 0;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: var(--neutral-600);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item:hover {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-primary);
  transform: translateX(4px);
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item .item-icon {
  font-size: 1rem;
  width: 16px;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item .item-text {
  flex: 1;
  text-align: left;
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items .logout-btn {
  color: var(--error);
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items .logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}
.modern-header .header-actions .profile-section .profile-dropdown .dropdown-menu-items .dropdown-divider {
  height: 1px;
  background: var(--neutral-200);
  margin: 0.5rem 0;
}
.modern-header .mobile-menu-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modern-header .mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modern-header .mobile-menu-overlay .mobile-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}
.modern-header .mobile-menu-overlay .mobile-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-surface);
  opacity: 0.8;
  pointer-events: none;
}
.modern-header .mobile-menu-overlay .mobile-menu.active {
  transform: translateX(0);
}
.modern-header .mobile-menu-overlay .mobile-menu .mobile-nav-item {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
.modern-header .mobile-menu-overlay .mobile-menu .mobile-nav-item .mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--neutral-600);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}
.modern-header .mobile-menu-overlay .mobile-menu .mobile-nav-item .mobile-nav-link:hover {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-primary);
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}
.modern-header .mobile-menu-overlay .mobile-menu .mobile-nav-item .mobile-nav-link .mobile-nav-icon {
  font-size: 1.2rem;
}
.modern-header .mobile-menu-overlay .mobile-menu .mobile-nav-item .mobile-nav-link .mobile-nav-text {
  font-size: 1rem;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .modern-header .header-container {
    padding: 0 1rem;
  }
  .modern-header .header-nav {
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .modern-header .header-container {
    height: 60px;
    padding: 0 1rem;
  }
  .modern-header .header-logo .logo-text {
    display: none;
  }
  .modern-header .header-nav .sidebar-toggle {
    display: none;
  }
  .modern-header .header-nav .mobile-toggle {
    display: flex;
  }
  .modern-header .header-actions {
    gap: 0.5rem;
  }
  .modern-header .header-actions .action-item .action-btn {
    padding: 0.5rem;
  }
  .modern-header .profile-section .profile-btn {
    padding: 0.5rem;
  }
  .modern-header .profile-section .profile-btn .profile-info .profile-details {
    display: none;
  }
  .modern-header .profile-section .profile-dropdown {
    min-width: 250px;
    right: -1rem;
    left: auto;
  }
  .modern-header .mobile-menu-overlay .mobile-menu {
    width: 250px;
    padding: 1.5rem;
  }
}
@media (max-width: 480px) {
  .modern-header .header-container {
    padding: 0 0.5rem;
  }
  .modern-header .header-actions .action-item .action-btn {
    padding: 0.4rem;
  }
  .modern-header .header-actions .action-item .action-btn .action-icon {
    font-size: 1rem;
  }
}

@media (prefers-color-scheme: dark) {
  .modern-header {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .modern-header .header-nav .nav-item .nav-link {
    color: #d1d5db;
  }
  .modern-header .header-nav .nav-item .nav-link:hover {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
  }
  .modern-header .header-actions .action-item .action-btn {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
  }
  .modern-header .header-actions .action-item .action-btn:hover {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
  }
  .modern-header .profile-section .profile-btn {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
  }
  .modern-header .profile-section .profile-btn:hover {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
  }
  .modern-header .profile-section .profile-btn .profile-info .profile-details .profile-name {
    color: #f3f4f6;
  }
  .modern-header .profile-section .profile-btn .profile-info .profile-details .profile-role {
    color: #9ca3af;
  }
  .modern-header .profile-section .profile-dropdown {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .modern-header .profile-section .profile-dropdown .dropdown-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .modern-header .profile-section .profile-dropdown .dropdown-header .user-info .user-details .user-name {
    color: #f3f4f6;
  }
  .modern-header .profile-section .profile-dropdown .dropdown-header .user-info .user-details .user-email {
    color: #9ca3af;
  }
  .modern-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item {
    color: #d1d5db;
  }
  .modern-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-item:hover {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
  }
  .modern-header .profile-section .profile-dropdown .dropdown-menu-items .logout-btn {
    color: #fca5a5;
  }
  .modern-header .profile-section .profile-dropdown .dropdown-menu-items .logout-btn:hover {
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
  }
  .modern-header .profile-section .profile-dropdown .dropdown-menu-items .dropdown-divider {
    background: rgba(255, 255, 255, 0.1);
  }
  .modern-header .mobile-menu-overlay .mobile-menu {
    background: rgba(17, 24, 39, 0.95);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .modern-header .mobile-menu-overlay .mobile-menu .mobile-nav-link {
    color: #d1d5db;
  }
  .modern-header .mobile-menu-overlay .mobile-menu .mobile-nav-link:hover {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
  }
}