.pc-auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(32, 204, 170, 0.18), transparent 28rem),
    linear-gradient(135deg, #ecfdf5 0%, #f8fafc 46%, #eff6ff 100%);
}

.pc-auth-shell {
  width: min(1180px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 1.5rem;
  align-items: center;
}

.pc-auth-shell-register {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.pc-auth-hero,
.pc-auth-card {
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.13);
}

.pc-auth-hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  color: #ffffff;
  background:
    linear-gradient(140deg, rgba(7, 89, 71, 0.95), rgba(12, 74, 110, 0.88)),
    url("/img/elements/2.jpg") center/cover;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pc-auth-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.3));
  pointer-events: none;
}

.pc-auth-hero > * {
  position: relative;
  z-index: 1;
}

.pc-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
  text-decoration: none;
}

.pc-auth-brand:hover {
  color: #ffffff;
}

.pc-auth-brand-mark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
}

.pc-auth-brand-mark img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.pc-auth-brand-name,
.pc-auth-brand-sub {
  display: block;
  line-height: 1.1;
}

.pc-auth-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
}

.pc-auth-brand-sub {
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

.pc-auth-hero-content {
  max-width: 37rem;
  margin: 4rem 0;
}

.pc-auth-kicker,
.pc-auth-card-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.pc-auth-kicker {
  margin-bottom: 1rem;
  padding: 0.46rem 0.72rem;
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-auth-hero h1 {
  max-width: 38rem;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.pc-auth-hero p {
  max-width: 33rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
  line-height: 1.65;
}

.pc-auth-role-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pc-auth-role-summary article,
.pc-auth-trust span,
.pc-auth-approval-list div {
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.pc-auth-role-summary article {
  min-height: 5rem;
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
}

.pc-auth-role-summary i,
.pc-auth-trust i {
  font-size: 1.25rem;
}

.pc-auth-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pc-auth-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.58rem 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  font-weight: 700;
}

.pc-auth-approval-list {
  display: grid;
  gap: 0.7rem;
}

.pc-auth-approval-list div {
  border-radius: 16px;
  padding: 0.88rem 1rem;
}

.pc-auth-approval-list strong,
.pc-auth-approval-list span {
  display: block;
}

.pc-auth-approval-list strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.pc-auth-approval-list span {
  margin-top: 0.16rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pc-auth-panel {
  min-width: 0;
}

.pc-auth-card {
  border-radius: 28px;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.96);
}

.pc-auth-card-wide {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.pc-auth-card-header {
  margin-bottom: 1.4rem;
}

.pc-auth-card-eyebrow {
  margin-bottom: 0.65rem;
  padding: 0.38rem 0.66rem;
  color: #047857;
  background: rgba(32, 204, 170, 0.12);
}

.pc-auth-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.pc-auth-card p {
  margin: 0.65rem 0 0;
  color: #64748b;
  line-height: 1.55;
}

.pc-auth-form {
  display: grid;
  gap: 1rem;
}

.pc-auth-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pc-auth-field-grid > :first-child {
  grid-column: 1 / -1;
}

.pc-auth-form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.pc-auth-form .form-control,
.pc-auth-form .input-group-text {
  min-height: 2.75rem;
}

.pc-auth-switch {
  margin-top: 1.35rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  color: #64748b;
}

.pc-auth-switch a,
.pc-auth-form-row a {
  font-weight: 800;
}

.pc-role-section {
  display: grid;
  gap: 0.8rem;
  padding-top: 0.35rem;
}

.pc-role-section-header h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.pc-role-section-header p {
  margin-top: 0.3rem;
  font-size: 0.9rem;
}

.pc-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.pc-role-option {
  display: block;
  margin: 0;
  cursor: pointer;
}

.pc-role-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pc-role-card {
  min-height: 10.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 18px;
  padding: 0.95rem;
  background: #ffffff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.pc-role-option:hover .pc-role-card,
.pc-role-input:focus-visible + .pc-role-card {
  border-color: rgba(32, 204, 170, 0.8);
  box-shadow: 0 0 0 3px rgba(32, 204, 170, 0.16);
}

.pc-role-input:checked + .pc-role-card {
  border-color: #13b39a;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  box-shadow: 0 16px 32px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
}

.pc-role-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.pc-role-icon {
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #047857;
  background: rgba(32, 204, 170, 0.12);
}

.pc-role-icon i {
  font-size: 1.28rem;
}

.pc-role-badge {
  max-width: 9.5rem;
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
  color: #0f766e;
  background: rgba(20, 184, 166, 0.1);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: right;
}

.pc-role-title,
.pc-role-desc {
  display: block;
}

.pc-role-title {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.25;
}

.pc-role-name {
  display: block;
  margin-top: 0.22rem;
  color: #047866;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.25;
}

.pc-role-desc {
  color: #64748b;
  font-size: 0.83rem;
  line-height: 1.5;
}

.pc-role-note {
  margin: 0;
  border-left: 3px solid rgba(32, 204, 170, 0.7);
  padding: 0.2rem 0 0.2rem 0.7rem;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.5;
}

@media (max-width: 1199.98px) {
  .pc-auth-shell,
  .pc-auth-shell-register {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .pc-auth-hero {
    min-height: auto;
  }

  .pc-auth-hero-content {
    margin: 3rem 0;
  }
}

@media (max-width: 767.98px) {
  .pc-auth-shell {
    width: min(100% - 1rem, 44rem);
    padding: 0.5rem 0;
    gap: 0.75rem;
  }

  .pc-auth-hero,
  .pc-auth-card {
    border-radius: 22px;
  }

  .pc-auth-hero h1 {
    font-size: 2.25rem;
  }

  .pc-auth-role-summary,
  .pc-auth-field-grid,
  .pc-role-grid {
    grid-template-columns: 1fr;
  }

  .pc-auth-form-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .pc-role-card {
    min-height: auto;
  }
}

.pc-social-login {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0;
}

.pc-social-login__header {
  display: grid;
  gap: 0.35rem;
}

.pc-social-login__header h3 {
  margin: 0;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
}

.pc-social-login__header p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pc-social-login__trust {
  color: #0f766e !important;
  font-weight: 700;
}

.pc-social-login__buttons {
  display: grid;
  gap: 0.75rem;
}

.pc-social-login-form {
  margin: 0;
}

.pc-social-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: 100%;
  gap: 0.75rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 16px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pc-social-login-button i {
  font-size: 1.45rem;
}

.pc-social-login-google i,
.pc-social-provider-icon--google {
  color: #ea4335;
}

.pc-social-login-facebook i,
.pc-social-provider-icon--facebook {
  color: #1877f2;
}

.pc-social-login-button:hover,
.pc-social-login-button:focus-visible {
  border-color: #20c8a8;
  box-shadow: 0 12px 28px rgba(32, 200, 168, 0.18);
  color: #111827;
  outline: none;
  transform: translateY(-1px);
}

.pc-social-login-button.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.pc-social-login-button.is-disabled,
.pc-social-login-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.pc-social-login-button.is-disabled:hover,
.pc-social-login-button:disabled:hover {
  border-color: rgba(17, 24, 39, 0.12);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.pc-social-login__dev-note {
  border: 1px solid rgba(255, 48, 64, 0.18);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: rgba(255, 48, 64, 0.06);
  color: #7f1d1d;
  font-size: 0.86rem;
  line-height: 1.5;
}

.pc-social-login__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
}

.pc-social-login__divider::before,
.pc-social-login__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.45);
}

.pc-connected-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pc-connected-account-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 260px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7fffc 100%);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.pc-connected-account-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.pc-connected-account-card h3 {
  margin: 0 0 0.45rem;
  color: #111827;
  font-size: 1.1rem;
  font-weight: 900;
}

.pc-social-provider-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.08);
  font-size: 1.6rem;
}

@media (max-width: 767.98px) {
  .pc-connected-account-grid {
    grid-template-columns: 1fr;
  }
}
