.add-logger-backdrop {
  z-index: 300;
}

.add-logger-dialog {
  width: min(460px, calc(100vw - 32px));
  padding: 22px 22px 20px;
}

.add-logger-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.add-logger-dialog-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.add-logger-dialog-sub {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text3);
}

.add-logger-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.add-logger-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.add-logger-field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.add-logger-field-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.add-logger-field-input-wrap:focus-within {
  border-color: rgba(255, 12, 12, 0.28);
  box-shadow: 0 0 0 3px rgba(255, 12, 12, 0.08);
}

.add-logger-field-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(255, 12, 12, 0.08);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.add-logger-field-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  outline: none;
}

.add-logger-field-input::placeholder {
  color: var(--text3);
}

.add-logger-field-input:disabled {
  opacity: 0.65;
}

.add-logger-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff2a2a 0%, #ff0c0c 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 12, 12, 0.24);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.add-logger-submit:hover:not(:disabled) {
  transform: translateY(-1px);
}

.add-logger-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.add-logger-dialog .account-dialog-alert {
  margin-bottom: 12px;
}
