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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

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

header {
  color: white;
  padding: 30px 20px 20px;
  margin-bottom: 40px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.title-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

header h1 {
  font-size: 2.5em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  margin: 0;
}

.edit-title-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
}

.edit-title-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.system-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.15);
  padding: 12px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.95em;
  font-weight: 500;
  flex-direction: column;
}

.stat-item i {
  font-size: 1.3em;
}

.stat-detail {
  font-size: 0.75em;
  opacity: 0.8;
  margin-top: -5px;
}

/* Storage tooltip */
.storage-stat {
  position: relative;
}

.storage-tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  pointer-events: none;
  z-index: 1000;
}

.storage-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(0, 0, 0, 0.9);
}

.storage-stat:hover .storage-tooltip {
  opacity: 1;
  visibility: visible;
}

.refresh-stats-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
}

.refresh-stats-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

.search-bar-full {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.2);
  border-radius: 25px;
  padding: 12px 25px;
  backdrop-filter: blur(10px);
  width: 100%;
}

.search-bar-full i {
  color: white;
  margin-right: 15px;
  font-size: 1.3em;
}

.search-bar-full #searchInput {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  font-size: 1.05em;
  width: 100%;
}

.search-bar-full #searchInput::placeholder {
  color: rgba(255,255,255,0.7);
}

.admin-link {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.admin-link:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.category-section {
  margin-bottom: 50px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.category-title {
  color: white;
  font-size: 1.8em;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  flex: 1;
  margin: 0;
}

.edit-category-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edit-category-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.service-card-wrapper {
  position: relative;
  display: flex;
  height: 100%;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  min-height: 250px;
  overflow: hidden;
  width: 100%;
  flex: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-header-color {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  width: 100%;
}

.drag-handle {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 20px;
  color: rgba(0,0,0,0.3);
  cursor: grab;
  opacity: 0;
  transition: opacity 0.3s;
  user-select: none;
  z-index: 10;
  padding: 5px;
}

.drag-handle:active {
  cursor: grabbing;
}

.service-card:hover .drag-handle {
  opacity: 1;
}

.service-card-wrapper.dragging {
  opacity: 0.5;
}

.category-section.dragging {
  opacity: 0.5;
}

.category-section.drag-over {
  border: 2px dashed rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .card-actions {
  opacity: 1;
}

.card-action-btn {
  background: rgba(0,0,0,0.7);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 1em;
}

.card-action-btn:hover {
  transform: scale(1.1);
}

.card-action-btn.edit-btn:hover {
  background: #4299e1;
}

.card-action-btn.toggle-btn:hover {
  background: #ed8936;
}

.card-action-btn.backup-toggle-btn {
  background: rgba(203, 213, 224, 0.8);
}

.card-action-btn.backup-toggle-btn:not(.backup-enabled) {
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .card-action-btn.backup-toggle-btn:not(.backup-enabled) {
  opacity: 1;
}

.card-action-btn.backup-toggle-btn:hover {
  background: #4285f4;
}

.card-action-btn.backup-toggle-btn.backup-enabled {
  background: linear-gradient(135deg, #4285f4, #34a853);
  animation: backupGlow 2s ease-in-out infinite;
  opacity: 1;
}

.card-action-btn.backup-toggle-btn.backup-enabled:hover {
  background: linear-gradient(135deg, #5295ff, #44b863);
}

@keyframes backupGlow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
  }
  50% {
    box-shadow: 0 0 15px rgba(66, 133, 244, 0.8);
  }
}

.card-action-btn.delete-btn:hover {
  background: #e53e3e;
}

.card-action-btn.rebuild-btn:hover {
  background: #3182ce;
}

.backup-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  font-size: 10px;
  color: #64748b;
  text-align: right;
}

.backup-time,
.update-time {
  display: block;
  line-height: 1.3;
}

.health-indicator {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 10;
}

.health-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  animation: pulse 2s infinite;
}

.health-dot.healthy {
  background: #48bb78;
}

.health-dot.unhealthy {
  background: #f56565;
}

.health-dot.unknown {
  background: #ed8936;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.service-icon {
  font-size: 3em;
  color: #667eea;
  margin-bottom: 15px;
}

.service-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-name {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #2d3748;
}

.service-description {
  color: #718096;
  font-size: 0.9em;
  margin-bottom: 10px;
  flex-grow: 1;
}

.service-port {
  display: inline-block;
  padding: 4px 12px;
  background: #e2e8f0;
  border-radius: 12px;
  font-size: 0.8em;
  color: #4a5568;
  margin-top: 10px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-content.modal-small {
  max-width: 500px;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  background: #667eea;
  color: white;
  padding: 20px 30px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Enhanced Modal Styles */
.enhanced-modal .modal-content {
  animation: slideDown 0.3s ease;
}

.enhanced-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px 30px;
  margin: 0;
  border-radius: 12px 12px 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.enhanced-header h2 {
  color: white;
  margin: 0;
  font-size: 1.4em;
}

.enhanced-header .close-btn {
  color: white;
  background: rgba(255,255,255,0.2);
}

.enhanced-header .close-btn:hover {
  background: rgba(255,255,255,0.3);
  color: white;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5em;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-btn:hover {
  background: rgba(255,255,255,0.2);
}

.modal-content form {
  padding: 30px;
  overflow-y: auto;
  flex: 1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #4a5568;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-group select {
  cursor: pointer;
  padding-right: 30px;
}

.form-group select:hover {
  border-color: #cbd5e0;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102,126,234,0.3);
}

.btn-secondary {
  background: #e2e8f0;
  color: #2d3748;
}

.btn-secondary:hover {
  background: #cbd5e0;
}

footer {
  text-align: center;
  color: white;
  padding: 30px;
  margin-top: 50px;
  background: rgba(0,0,0,0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95em;
  font-weight: 500;
}

.footer-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.footer-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95em;
  font-weight: 500;
}

.footer-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.3em;
  transition: all 0.3s;
}

.social-icon:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

.admin-link-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-size: 0.95em;
}

.admin-link-footer:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

  .footer-content p {
  margin: 0;
  opacity: 0.9;
}

/* Process Modal */
.modal-large {
  max-width: 900px !important;
}

.process-output {
  background: #1a1a1a;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  padding: 20px;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.process-output div {
  margin-bottom: 5px;
}

.process-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.status-success {
  background: #48bb78;
  color: white;
  padding: 15px;
  border-radius: 8px;
}

.status-error {
  background: #e53e3e;
  color: white;
  padding: 15px;
  border-radius: 8px;
}

/* Custom Modal Styles */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.custom-modal.active {
  display: flex;
}

.custom-modal-content {
  background: white;
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
  overflow: hidden;
}

.custom-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 25px;
  border-bottom: none;
}

.custom-modal-header h3 {
  margin: 0;
  font-size: 1.3em;
  font-weight: 600;
}

.custom-modal-body {
  padding: 30px 25px;
  color: #2d3748;
  font-size: 1.05em;
  line-height: 1.6;
}

.custom-modal-body p {
  margin: 0;
}

.custom-modal-footer {
  padding: 20px 25px;
  background: #f7fafc;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid #e2e8f0;
}

.custom-modal-footer .btn {
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 500;
  transition: all 0.3s;
}

.custom-modal-footer .btn-primary {
  background: #667eea;
  color: white;
}

.custom-modal-footer .btn-primary:hover {
  background: #5568d3;
  transform: translateY(-1px);
}

.custom-modal-footer .btn-danger {
  background: #f56565;
  color: white;
}

.custom-modal-footer .btn-danger:hover {
  background: #e53e3e;
  transform: translateY(-1px);
}

.custom-modal-footer .btn-secondary {
  background: #e2e8f0;
  color: #2d3748;
}

.custom-modal-footer .btn-secondary:hover {
  background: #cbd5e0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo Preview */
.logo-preview {
  margin-top: 10px;
  min-height: 20px;
}

.logo-preview img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Process Modal */
.modal-large {
  max-width: 900px !important;
}

.process-output {
  background: #1a1a1a;
  color: #00ff00;
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  padding: 20px;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.process-output div {
  margin-bottom: 5px;
}

.process-status {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.status-success {
  background: #48bb78;
  color: white;
  padding: 15px;
  border-radius: 8px;
}

.status-error {
  background: #e53e3e;
  color: white;
  padding: 15px;
  border-radius: 8px;
}

/* Enhanced Modal Redesign Styles */
.modal-redesigned {
  max-width: 900px;
}

.modal-redesigned .modal-body {
  padding: 0;
}

.modal-redesigned form {
  padding: 0;
}

.form-section {
  padding: 25px 30px;
  border-bottom: 1px solid #e2e8f0;
}

.form-section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #667eea;
  display: inline-block;
}

.form-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.form-group-checkbox {
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px;
  background: #f7fafc;
  border-radius: 8px;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
}

.checkbox-label:hover {
  background: #e2e8f0;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin: 0;
}

.checkbox-text {
  font-weight: 600;
  color: #2d3748;
  font-size: 1.05em;
}

/* File Upload Enhanced */
.file-upload-enhanced {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.file-input-hidden {
  display: none;
}

.btn-upload {
  padding: 10px 20px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  font-size: 0.95em;
  font-weight: 500;
}

.btn-upload:hover {
  background: #5568d3;
  transform: translateY(-2px);
}

.file-name {
  color: #718096;
  font-size: 0.9em;
  font-style: italic;
}

/* Color Picker Styling */
input[type="color"] {
  width: 100%;
  height: 45px;
  border: 2px solid #cbd5e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

input[type="color"]:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 4px;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }
  
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .system-stats {
    flex-wrap: wrap;
  }
  
  .search-container {
    width: 100%;
  }
  
  #searchInput {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .modal-redesigned {
    max-width: 95%;
  }
}

/* Enhanced Modal Styles */
.modal-medium {
  max-width: 600px;
}

.modal-small {
  max-width: 450px;
}

.confirm-message {
  font-size: 1.1em;
  color: #2d3748;
  margin-bottom: 15px;
  line-height: 1.6;
}

.confirm-details {
  background: #f7fafc;
  border-left: 4px solid #667eea;
  padding: 15px;
  border-radius: 8px;
  color: #4a5568;
  font-size: 0.95em;
  line-height: 1.5;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px 30px;
  border-top: 1px solid #e2e8f0;
  background: #f7fafc;
}

.modal-footer .btn {
  padding: 12px 24px;
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Progress Modal Styles */
.progress-container {
  margin: 20px 0;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background: #e2e8f0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  transition: width 0.5s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-percentage {
  text-align: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #2d3748;
  margin-top: 10px;
}

.progress-message {
  text-align: center;
  color: #4a5568;
  margin: 15px 0;
  font-size: 1em;
  font-weight: 500;
}

.progress-output {
  max-height: 300px;
  overflow-y: auto;
  background: #1a202c;
  border-radius: 8px;
  padding: 15px;
  margin-top: 20px;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.85em;
}

.progress-line {
  color: #e2e8f0;
  padding: 4px 0;
  line-height: 1.5;
}

.progress-success {
  color: #68d391;
}

.progress-error {
  color: #fc8181;
}

.progress-warning {
  color: #f6ad55;
}

.progress-info {
  color: #63b3ed;
}

/* Notification Modal Styles */
.notification-message {
  font-size: 1.1em;
  color: #2d3748;
  margin-bottom: 15px;
  line-height: 1.6;
}

.notification-details {
  background: #f7fafc;
  border-radius: 8px;
  padding: 15px;
  color: #4a5568;
  font-size: 0.95em;
  line-height: 1.6;
}

/* Enhanced Header Colors */
.enhanced-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.enhanced-header i {
  font-size: 1.3em;
}

/* Button Variants */
.btn-danger {
  background: #ef4444;
  color: white;
}

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

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
}

/* Modal Animations */
.modal.active .modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

