.illegal-notice-page .goal-body {
  max-width: 920px;
}

.illegal-notice-form-shell {
  width: 100%;
}

.illegal-notice-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.illegal-notice-form fieldset {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.illegal-notice-form legend {
  padding: 0 0.45rem;
  font-weight: 700;
  font-size: 1rem;
}

.illegal-notice-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.15rem;
}

.illegal-notice-form .form-group:last-child {
  margin-bottom: 0;
}

.illegal-notice-form label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.illegal-notice-form input[type="text"],
.illegal-notice-form input[type="email"],
.illegal-notice-form input[type="url"],
.illegal-notice-form select,
.illegal-notice-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-main);
  font: inherit;
  outline: none;
}

.illegal-notice-form textarea {
  resize: vertical;
  min-height: 110px;
}

.illegal-notice-form input:focus,
.illegal-notice-form select:focus,
.illegal-notice-form textarea:focus {
  border-color: rgba(64, 182, 255, 0.62);
  box-shadow: var(--ring);
  background: rgba(255, 255, 255, 0.06);
}

.illegal-notice-form option {
  background: #07111f;
}

.illegal-notice-form .field-help {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  opacity: 0.72;
}

.illegal-notice-form .legal-warning {
  margin-top: 0.75rem;
}

.illegal-notice-form .legal-checkbox {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.illegal-notice-form .legal-checkbox input {
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.illegal-notice-form .legal-checkbox label {
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.illegal-notice-form .error-message {
  min-height: 1rem;
}

.illegal-notice-form .form-actions {
  margin-top: 0.25rem;
}

.illegal-notice-form .btn-login {
  min-width: 210px;
}

.illegal-notice-form .btn-login:disabled {
  opacity: 0.55;
  cursor: wait;
}

.illegal-notice-message {
  margin-top: 1rem;
  min-height: 1.4rem;
}

.illegal-notice-message.is-error {
  color: var(--color-error);
}

.illegal-notice-message.is-success {
  color: var(--color-success);
}

.illegal-notice-success {
  margin-top: 1rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.notice-reference {
  overflow-wrap: anywhere;
  font-family: monospace;
}

@media (max-width: 768px) {
  .illegal-notice-form fieldset {
    padding: 1rem;
  }

  .illegal-notice-form input,
  .illegal-notice-form select,
  .illegal-notice-form textarea {
    font-size: 16px;
  }

  .illegal-notice-form .btn-login {
    width: 100%;
  }
}

/* Art. 16 primary submit action */
.illegal-notice-form .form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.35rem;
}

.illegal-notice-form .btn-login {
  width: auto;
  min-width: 280px;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(64, 182, 255, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      rgba(64, 182, 255, 0.14),
      rgba(64, 182, 255, 0.07)
    );
  color: var(--color-text-main);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(64, 182, 255, 0.03);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.illegal-notice-form .btn-login:hover:not(:disabled) {
  border-color: rgba(64, 182, 255, 0.72);
  background:
    linear-gradient(
      180deg,
      rgba(64, 182, 255, 0.20),
      rgba(64, 182, 255, 0.10)
    );
  box-shadow:
    var(--ring),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.illegal-notice-form .btn-login:active:not(:disabled) {
  transform: translateY(1px);
}

.illegal-notice-form .btn-login:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.illegal-notice-form .btn-login:disabled {
  opacity: 0.5;
  cursor: wait;
  transform: none;
}

@media (max-width: 768px) {
  .illegal-notice-form .btn-login {
    width: 100%;
    min-width: 0;
  }
}

/* ===== PUBLIC AURORA ILLEGAL FORM START ===== */

/*
 * Match the registration/login Aurora glass language.
 * Layout and dimensions remain unchanged.
 */


/* SECTION CARDS */
.illegal-notice-form fieldset,
.illegal-notice-success {
    border:
        1px solid rgba(39, 221, 214, 0.34);

    background:
        linear-gradient(
            135deg,
            rgba(5, 27, 33, 0.74),
            rgba(10, 42, 49, 0.64)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 14px 34px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(39, 221, 214, 0.06);

    -webkit-backdrop-filter:
        blur(18px) saturate(125%);

    backdrop-filter:
        blur(18px) saturate(125%);
}


/* FORM CONTROLS */
.illegal-notice-form input[type="text"],
.illegal-notice-form input[type="email"],
.illegal-notice-form input[type="url"],
.illegal-notice-form select,
.illegal-notice-form textarea {
    border-color:
        rgba(39, 221, 214, 0.34);

    background:
        linear-gradient(
            180deg,
            rgba(8, 35, 41, 0.78),
            rgba(5, 27, 33, 0.70)
        );

    color:
        rgba(242, 251, 251, 0.96);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    -webkit-backdrop-filter:
        blur(8px) saturate(120%);

    backdrop-filter:
        blur(8px) saturate(120%);
}

.illegal-notice-form input::placeholder,
.illegal-notice-form textarea::placeholder {
    color:
        rgba(203, 229, 231, 0.46);
}


/* FOCUS */
.illegal-notice-form input:focus,
.illegal-notice-form select:focus,
.illegal-notice-form textarea:focus {
    border-color:
        rgba(58, 235, 225, 0.72);

    background:
        linear-gradient(
            180deg,
            rgba(12, 48, 55, 0.88),
            rgba(7, 34, 40, 0.82)
        );

    box-shadow:
        0 0 0 3px rgba(39, 221, 214, 0.10),
        0 0 14px rgba(39, 221, 214, 0.08);
}


/* PRIMARY SUBMIT */
.illegal-notice-form .btn-login {
    border-color:
        rgba(83, 247, 238, 0.46);

    background:
        linear-gradient(
            135deg,
            rgba(39, 221, 214, 0.96),
            rgba(0, 174, 186, 0.90)
        );

    color:
        #06282d;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 10px 24px rgba(0, 174, 186, 0.16);
}

.illegal-notice-form .btn-login:hover:not(:disabled) {
    border-color:
        rgba(83, 247, 238, 0.72);

    background:
        linear-gradient(
            135deg,
            rgba(66, 237, 228, 0.98),
            rgba(8, 194, 202, 0.94)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 12px 28px rgba(0, 174, 186, 0.22);
}

/* ===== PUBLIC AURORA ILLEGAL FORM END ===== */
