/*!
 * SIRET Check frontend styles.
 *
 * Copyright 2026 TogStro GmbH.
 * Commercial proprietary license. All rights reserved.
 */
.siretcheck-modal {
  align-items: center;
  background: rgba(22, 29, 37, 0.68);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 20px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99999;
}

.siretcheck-modal.is-open {
  display: flex;
}

body.siretcheck-modal-open {
  overflow: hidden;
}

.siretcheck-dialog {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: #232323;
  max-width: 520px;
  padding: 24px;
  width: 100%;
}

.siretcheck-dialog h2 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.siretcheck-message {
  margin: 0 0 18px;
}

.siretcheck-dialog label {
  display: block;
  font-weight: 600;
  margin: 14px 0 6px;
}

.siretcheck-dialog label span {
  color: #6c757d;
  font-size: 13px;
  font-weight: 400;
}

.siretcheck-dialog input {
  border: 1px solid #b8c2cc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  min-height: 42px;
  padding: 8px 10px;
  width: 100%;
}

.siretcheck-error,
.siretcheck-warning {
  border-radius: 4px;
  margin-top: 14px;
  padding: 10px 12px;
}

.siretcheck-error {
  background: #fff0f0;
  color: #9b1c1c;
}

.siretcheck-warning {
  background: #fff8e1;
  color: #7a5200;
}

.siretcheck-dialog button {
  background: #000;
  border: 0;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  margin-top: 18px;
  min-height: 42px;
  padding: 10px 16px;
  width: 100%;
}

.siretcheck-dialog button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.siretcheck-dialog .siretcheck-dismiss {
  background: transparent;
  color: #232323;
  font-weight: 600;
  margin-top: 10px;
  text-decoration: underline;
}

.siretcheck-dialog .siretcheck-dismiss:disabled {
  cursor: pointer;
  opacity: 1;
}
