:root {
  --navy: #0D1240;
  --blue: #022BFF;
  --red: #FF4B40;
  --grey-900: #1A1D29;
  --grey-500: #6B7080;
  --grey-200: #E3E5EC;
  --grey-100: #F4F5F9;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--grey-900);
  background: var(--white);
  font-size: 13px;
}

.header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 18px 14px;
}

.header__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.header__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.header__sub {
  margin: 4px 0 0 16px;
  font-size: 12px;
  color: #B7BCE0;
}

.main {
  padding: 16px 18px 8px;
}

.participants {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.participant {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1.5px solid var(--grey-200);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}

.participant:hover {
  border-color: #B7C4FF;
  background: var(--grey-100);
}

.participant.is-selected {
  border-color: var(--blue);
  background: #EEF1FF;
}

.participant__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.participant__body {
  flex: 1;
  min-width: 0;
}

.participant__name {
  font-weight: 600;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.participant__email {
  font-size: 11.5px;
  color: var(--grey-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.participant__role {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--blue);
  border: 1px solid #C6CFFF;
  border-radius: 4px;
  padding: 2px 6px;
  flex-shrink: 0;
}

.field {
  margin-bottom: 12px;
}

.field--row {
  display: flex;
  gap: 10px;
}

.field__col {
  flex: 1;
}

.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--grey-500);
  margin-bottom: 4px;
}

.field input,
.field select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--grey-200);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: var(--grey-900);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
}

.btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.12s ease;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:disabled {
  background: var(--grey-200);
  color: var(--grey-500);
  cursor: not-allowed;
}

.btn--primary:not(:disabled):hover {
  opacity: 0.9;
}

.status {
  min-height: 18px;
  font-size: 12px;
  margin: 10px 0 0;
}

.status.is-error { color: var(--red); }
.status.is-success { color: #1B8A5A; }
.status a { color: var(--blue); font-weight: 600; }

.footer {
  padding: 10px 18px 14px;
  font-size: 10.5px;
  color: var(--grey-500);
  text-align: center;
}
