/* =============================================
   app.css - vlastní styly
   ============================================= */

.avatar-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  flex-shrink: 0;
}

.avatar-circle-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  flex-shrink: 0;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card {
  border-radius: 0.75rem !important;
}

.login-logo {
  width: 72px;
  height: 72px;
  background: #e7f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-hover > tbody > tr:hover > td {
  background-color: rgba(13, 110, 253, 0.05);
}

.footer {
  flex-shrink: 0;
}

.workspace-shell {
  width: 100%;
  max-width: none;
}

.workspace-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-card {
  display: flex;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.18);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
}

.feature-card-active {
  border-color: rgba(13, 110, 253, 0.18);
}

.feature-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.workspace-empty {
  border: 1px dashed rgba(15, 23, 42, 0.15);
  border-radius: 1rem;
  background: #f8fafc;
}

.workspace-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: #e7f0ff;
  color: #0d6efd;
  font-size: 1.5rem;
}

.dashboard-settings-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dashboard-settings-list {
  display: grid;
  gap: 0.75rem;
}

.dashboard-settings-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.dashboard-settings-item.is-disabled {
  opacity: 0.75;
  background: #f8fafc;
}

.dashboard-settings-item.is-dragging {
  opacity: 0.65;
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.12);
}

.dashboard-settings-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: #eef4ff;
  color: #0d6efd;
  cursor: grab;
  flex-shrink: 0;
}

.dashboard-settings-content {
  min-width: 0;
}

.dashboard-settings-dialog {
  width: min(96vw, 1480px);
  max-width: none;
}

.dashboard-settings-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 150px;
}

.dashboard-settings-toggle {
  padding-left: 0;
  text-align: right;
}

@media (max-width: 767.98px) {
  .dashboard-settings-item {
    grid-template-columns: auto 1fr;
  }

  .dashboard-settings-controls {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 3.5rem;
  }
}