/* ===========================
   Registrati page styling
   =========================== */

.form-panel .panel-section {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.panel-section fieldset {
  border: 1px solid rgba(125,231,255,0.25);
  border-radius: 1.1rem;
  padding: 1.5rem;
  background: rgba(4,14,22,0.65);
  display: grid;
  gap: 1rem;
}

.panel-section legend {
  font-size: 1.05rem;
  color: #90f5ff;
  padding: 0 0.6rem;
  letter-spacing: 0.03em;
}

.panel-section label {
  font-size: 0.95rem;
  color: #d5f2ff;
  display: block;
}

.panel-section input[type="text"],
.panel-section input[type="email"],
.panel-section input[type="url"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(125,231,255,0.3);
  background: rgba(0,0,0,0.45);
  color: #f5fcff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.panel-section input:focus {
  border-color: #90f5ff;
  box-shadow: 0 0 0 2px rgba(144,245,255,0.2);
  outline: none;
}

.panel-section .checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d5f2ff;
}

.panel-section .checkbox-inline input {
  width: auto;
}

.panel-section button.cta-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .panel-section fieldset {
    padding: 1.1rem;
  }

  .panel-section label {
    font-size: 0.9rem;
  }
}
