/* Sign-in page - compiled from the SOLA Meetings auth-layout.component.scss and _auth-form.scss. */
body.auth-body {
  display: block;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  background: var(--grey-50);
}

.auth-brand {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.auth-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 33, 67, 0.95) 0%, rgba(21, 118, 242, 0.9) 58%, rgba(var(--sola-primary-rgb), 0.88) 100%);
}

.auth-brand-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 52px;
}

.auth-brand-logo {
  height: 44px;
  width: auto;
  align-self: flex-start;
}

.auth-brand-copy {
  max-width: 440px;
}

.auth-brand-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
}

.auth-brand-tagline {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
}

.auth-brand-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-brand-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}
.auth-brand-points .material-symbols-rounded {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.auth-brand-footer {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
}

.auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.auth-mobile-brand {
  display: none;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 32px 30px;
}

.auth-card-head {
  margin-bottom: 24px;
}
.auth-card-head h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 14px 0 6px;
}
.auth-card-head p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.auth-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--sola-primary-soft);
  display: grid;
  place-items: center;
}
.auth-card-icon .material-symbols-rounded {
  font-size: 24px;
  color: var(--sola-primary);
}

@media (max-width: 900px) {
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    display: none;
  }
  .auth-panel {
    justify-content: flex-start;
    padding: 0 16px 32px;
  }
  .auth-mobile-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 32px);
    margin: 0 -16px 24px;
    padding: 18px 0;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-sm);
  }
  .auth-mobile-brand img {
    height: 34px;
    width: auto;
  }
  .auth-card {
    padding: 26px 20px 24px;
  }
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-wrap .auth-input-icon {
  position: absolute;
  inset-inline-start: 12px;
  font-size: 19px;
  color: var(--text-light);
  pointer-events: none;
}
.auth-input-wrap input {
  width: 100%;
  height: 46px;
  padding-block: 0;
  padding-inline: 42px 46px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.auth-input-wrap input::placeholder {
  color: var(--text-light);
}
.auth-input-wrap input:focus {
  border-color: var(--sola-primary);
  box-shadow: var(--focus-ring);
}
.auth-input-wrap:focus-within .auth-input-icon {
  color: var(--sola-primary);
}
.auth-input-wrap.auth-input--error input {
  border-color: var(--danger-color);
}
.auth-input-wrap.auth-input--error input:focus {
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.auth-toggle {
  position: absolute;
  inset-inline-end: 6px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-light);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.auth-toggle .material-symbols-rounded {
  font-size: 19px;
}
.auth-toggle:hover {
  color: var(--sola-primary);
  background: var(--sola-primary-soft);
}
.auth-toggle:focus-visible {
  outline: 2px solid var(--sola-primary);
  outline-offset: 1px;
}

.auth-field-error {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--danger-color);
}
.auth-field-error .material-symbols-rounded {
  font-size: 14px;
}

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border: 0;
  border-inline-start: 4px solid;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-primary);
}
.auth-alert .material-symbols-rounded {
  font-size: 19px;
  flex-shrink: 0;
}
.auth-alert--error {
  background: var(--danger-soft);
  border-inline-start-color: var(--danger-color);
}
.auth-alert--error .material-symbols-rounded {
  color: var(--danger-color);
}
.auth-alert--info {
  background: var(--sola-primary-soft);
  border-inline-start-color: var(--sola-primary);
}
.auth-alert--info .material-symbols-rounded {
  color: var(--sola-primary);
}

.auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--sola-primary);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, box-shadow 150ms ease;
}
.auth-submit .material-symbols-rounded {
  font-size: 19px;
}
.auth-submit:hover:not(:disabled) {
  background: var(--sola-primary-dark);
  box-shadow: 0 6px 16px rgba(var(--sola-primary-rgb), 0.28);
}
.auth-submit:disabled {
  opacity: 0.65;
  cursor: default;
}
.auth-submit:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.auth-link {
  align-self: center;
  border: none;
  background: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.auth-link .material-symbols-rounded {
  font-size: 17px;
}
.auth-link:hover {
  color: var(--sola-primary);
}

.auth-rules {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.auth-rules li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.auth-rules li .material-symbols-rounded {
  font-size: 16px;
  color: var(--grey-300);
}
.auth-rules li.met {
  color: var(--text-primary);
}
.auth-rules li.met .material-symbols-rounded {
  color: var(--sola-primary);
}
@media (max-width: 420px) {
  .auth-rules {
    grid-template-columns: 1fr;
  }
}

.auth-spin {
  animation: auth-spin 0.8s linear infinite;
}

@keyframes auth-spin {
  to {
    transform: rotate(360deg);
  }
}
