.apc-form {
  display: grid;
  gap: 0.6rem;
  max-width: 760px;
}

.apc-form label {
  font-weight: 600;
  color: #21323a;
  margin-top: 0.2rem;
}

.apc-form input,
.apc-form select,
.apc-form textarea {
  padding: 0.72rem 0.8rem;
  border: 1px solid #c7d1d5;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.apc-form input:focus,
.apc-form select:focus,
.apc-form textarea:focus {
  outline: none;
  border-color: #0f8b8d;
  box-shadow: 0 0 0 3px rgba(15, 139, 141, 0.15);
}

.apc-form button,
.apc-form input[type="submit"] {
  padding: 0.72rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
}

.apc-form button,
.apc-form input[type="submit"] {
  background: #0f8b8d;
  color: #fff;
}

.apc-form button:hover,
.apc-form input[type="submit"]:hover {
  background: #0b5f63;
}

.apc-portal {
  display: grid;
  gap: 1rem;
}

.apc-card {
  border: 1px solid #dde3e5;
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.apc-auth-shell {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.apc-auth-card {
  box-shadow: 0 10px 24px rgba(9, 31, 35, 0.06);
}

.apc-auth-card h3 {
  margin: 0 0 0.2rem 0;
}

.apc-auth-subtitle {
  margin: 0 0 0.4rem 0;
  color: #5f737c;
}

.apc-auth-link {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 700;
}

.apc-auth-link:hover {
  text-decoration: underline;
}

.apc-staff-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: #6a7d85;
}

.apc-staff-link:hover {
  color: #0b5f63;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .apc-card {
    padding: 0.85rem;
  }
}
