/* Start custom CSS for html, class: .elementor-element-2a475f3 *//* =========================================================
   MAINTENANCE DASHBOARD DEMO
   Für Creative Elements
   ========================================================= */

.maintenance-dashboard {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
  border: 1px solid #d9e1ea;
  border-radius: 18px;
  overflow: hidden;
}

/* Header */
.md-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0e65af;
  color: #ffffff;
  padding: 22px 28px;
}

.md-logo {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.md-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}

.md-status-badge {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

/* Layout */
.md-layout {
  display: flex;
  min-height: 700px;
}

/* Sidebar */
.md-sidebar {
  width: 240px;
  background: #1b2430;
  color: #ffffff;
  padding: 24px 18px;
}

.md-sidebar-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 18px;
}

.md-menu-item {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: transparent;
  font-size: 15px;
  transition: all 0.2s ease;
}

.md-menu-item.active {
  background: #0e65af;
  font-weight: 700;
}

.md-menu-item:not(.active) {
  background: rgba(255, 255, 255, 0.04);
}

/* Content */
.md-content {
  flex: 1;
  padding: 28px;
}

/* Top cards */
.md-top-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.md-stat-card {
  background: #ffffff;
  border: 1px solid #dde6ef;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(14, 101, 175, 0.05);
}

.md-stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.md-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #0e65af;
}

.md-stat-value.md-ok {
  color: #1f9d55;
}

/* Main grid */
.md-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Cards */
.md-card {
  background: #ffffff;
  border: 1px solid #dde6ef;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.md-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.md-card-header h2 {
  font-size: 22px;
  margin: 0;
  color: #1f2937;
}

.md-card-note {
  font-size: 13px;
  color: #6b7280;
}

/* Task list */
.md-task-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.md-task-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #f8fbfe;
  border: 1px solid #e3ebf4;
  border-radius: 14px;
}

.md-task-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.md-task-meta {
  font-size: 13px;
  color: #6b7280;
}

.md-task-tag {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}

.md-task-tag.planned {
  background: #eaf4ff;
  color: #0e65af;
}

.md-task-tag.progress {
  background: #fff4db;
  color: #b7791f;
}

/* Equipment */
.md-full-width {
  width: 100%;
}

.md-equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.md-equipment-item {
  background: #f8fbfe;
  border: 1px solid #e3ebf4;
  border-radius: 14px;
  padding: 18px;
}

.md-equipment-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.md-equipment-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}

.md-equipment-status.ok {
  background: #e6f7ed;
  color: #1f9d55;
}

.md-equipment-status.warning {
  background: #fff4db;
  color: #b7791f;
}

.md-equipment-status.alert {
  background: #fdeaea;
  color: #c53030;
}

/* Responsive */
@media (max-width: 1100px) {
  .md-top-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .md-grid {
    grid-template-columns: 1fr;
  }

  .md-equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .md-layout {
    flex-direction: column;
  }

  .md-sidebar {
    width: 100%;
  }

  .md-top-cards,
  .md-equipment-grid {
    grid-template-columns: 1fr;
  }

  .md-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .md-task-item {
    flex-direction: column;
    align-items: flex-start;
  }
}/* End custom CSS */