.handler-dashboard {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.handler-dashboard-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-top: 4px solid var(--color-primary);
}

.handler-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.handler-dashboard-header h2 {
  margin: 0 0 0.25rem;
  color: var(--color-primary);
}

.handler-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.btn-handler-logout {
  padding: 0.4rem 0.9rem;
  background: none;
  border: 1px solid var(--color-danger);
  color: var(--color-danger);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-handler-logout:hover {
  background: var(--color-danger);
  color: white;
}

.handler-message {
  padding: 0.6rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.handler-message-success { background: #dcfce7; color: #166534; }
.handler-message-error   { background: #fee2e2; color: #b91c1c; }

.handler-availability-section {
  background: var(--color-muted-bg);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.availability-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.availability-big-btn {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: filter 0.2s;
}

.availability-big-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-green {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.btn-red {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.status-dot-lg {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: #22c55e; }
.dot-red   { background: #ef4444; }

.availability-hint {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin: 0.6rem 0 0;
}

.handler-contact-section {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.handler-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.handler-section-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

.btn-handler-edit {
  padding: 0.35rem 0.8rem;
  background: none;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-handler-edit:hover { background: var(--color-primary); color: white; }

.handler-info-list { display: flex; flex-direction: column; gap: 0.6rem; }

.handler-info-row {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

.info-label {
  font-weight: 600;
  color: var(--color-text-muted);
  min-width: 80px;
}

.handler-info-row a {
  color: var(--color-primary);
  text-decoration: none;
}

.handler-info-row a:hover { text-decoration: underline; }

.handler-edit-form .form-group {
  margin-bottom: 0.85rem;
}

.handler-edit-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.handler-edit-form .form-group input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

.handler-edit-form .form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-focus);
}

.handler-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-handler-primary {
  flex: 1;
  padding: 0.65rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-handler-primary:hover:not(:disabled) { background: var(--color-primary-dark); }
.btn-handler-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-handler-cancel {
  flex: 1;
  padding: 0.65rem;
  background: none;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--color-text-muted);
}

.btn-handler-cancel:hover { background: var(--color-muted-bg); }
