:root {
  --blue: #2f7df4;
  --coral: #2f7df4;
  --radius: 7px;
}

/* Shape and type are defined per component in light-theme.css. */

body {
  background: radial-gradient(circle at 80% 0, rgba(47, 125, 244, .10), transparent 28%), var(--cream);
}

.btn,
.avatar,
.employee-avatar,
.client-monogram {
  background: #2f7df4 !important;
  box-shadow: none !important;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: rgba(47, 125, 244, .10);
  border-color: rgba(47, 125, 244, .26);
}

.sidebar nav a.active {
  box-shadow: inset 2px 0 #2f7df4;
}

.progress span,
.workload-bar span {
  background: #2f7df4;
}

.eyebrow,
.back-link,
.client-card footer,
.login-art h1 span {
  color: #71a7ff;
}

.login-art h1 span {
  background: none;
  -webkit-text-fill-color: currentColor;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.task-status-select:focus {
  outline-color: rgba(47, 125, 244, .24);
  border-color: #2f7df4;
}

.big-progress {
  background: conic-gradient(#2f7df4 calc(var(--p) * 1%), #292a38 0);
}

.timeline-item:before {
  background: #2f7df4;
  box-shadow: none;
}

.task-stage.doing,
.task-stage.review {
  background: rgba(47, 125, 244, .16);
  color: #8db8ff;
}

.btn.secondary {
  background: #1a1c24 !important;
  border: 1px solid #343741 !important;
  color: #e7e9ef;
}

.btn.secondary:hover {
  background: #232630 !important;
  border-color: #4b505d !important;
}

dialog {
  background: #12141b;
  border: 1px solid #30333d;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .52);
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(3, 5, 10, .82);
  backdrop-filter: blur(3px);
}

dialog .dialog-body {
  padding: 0;
}

dialog .dialog-head {
  border-bottom: 1px solid #292c35;
  margin: 0;
  padding: 22px 25px;
}

dialog .dialog-head h2 {
  font-size: 24px;
  letter-spacing: -.5px;
}

dialog .icon-button {
  background: #1c1f27;
  border: 1px solid #30333d;
  color: #cfd2da;
}

dialog .icon-button:hover {
  background: #262932;
  border-color: #484d59;
  color: #fff;
}

dialog .form-grid {
  gap: 17px 18px;
  padding: 23px 25px 25px;
}

dialog .field {
  gap: 7px;
}

dialog .field label {
  color: #c5c8d0;
  font-size: 12px;
}

dialog .field input,
dialog .field select,
dialog .field textarea {
  background: #0d0f15;
  border: 1px solid #30333d;
  color: #f5f6f8;
  min-height: 44px;
  outline: none;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

dialog .field input:hover,
dialog .field select:hover,
dialog .field textarea:hover {
  border-color: #444954;
}

dialog .field input:focus,
dialog .field select:focus,
dialog .field textarea:focus {
  background: #101219;
  border-color: #666c78;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .05);
  outline: none;
}

dialog .field input::placeholder,
dialog .field textarea::placeholder {
  color: #676b76;
}

dialog .field textarea {
  min-height: 112px;
}

dialog .dialog-actions {
  align-items: center;
  background: #101219;
  border-top: 1px solid #292c35;
  margin: 0;
  padding: 18px 25px;
}

dialog .dialog-actions .btn {
  min-height: 40px;
}

@media (max-width: 720px) {
  dialog .dialog-head { padding: 19px; }
  dialog .form-grid { padding: 20px 19px; }
  dialog .dialog-actions { padding: 16px 19px; }
  dialog .dialog-actions .btn { flex: 1; }
}
