/* Master Structural Viewport Wrapper Configuration */
.admin-auth-viewport {
  width: 100%;
  min-height: calc(100vh - 44px);
  background: linear-gradient(135deg, var(--color-primary) 0%, #025a3a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 24px 100px 24px;
  box-sizing: border-box;
  position: relative;
}

/* Auth Centered Card Frame Module */
.auth-card-container {
  width: 100%;
  max-width: 448px;
  background-color: var(--color-white);
  border-radius: 24px;
  box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.25);
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Presentation Headings inside Card Component */
.auth-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-brand-logo {
  height: 48px;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-title {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin: 0 0 6px 0;
}

.auth-subtitle {
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Structural Form Elements Layout Controls */
.auth-form-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  text-align: left;
}

.input-field-wrapper input {
  width: 100%;
  height: 46px;
  background-color: #f0faf4;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  padding: 0 20px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--color-text-dark);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.input-field-wrapper input:focus {
  border-color: rgba(1, 68, 45, 0.3);
  background-color: var(--color-white);
}

/* Utilities Row: Checkbox Layout & Password Resets triggers */
.form-utilities-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.checkbox-label-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.checkbox-label-toggle input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox-box {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(1, 67, 44, 0.3);
  border-radius: 4px;
  display: inline-block;
  margin-right: 8px;
  position: relative;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.checkbox-label-toggle input:checked ~ .custom-checkbox-box {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label-toggle input:checked ~ .custom-checkbox-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-text-caption {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.action-forgot-trigger {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.action-forgot-trigger:hover {
  text-decoration: underline;
}

/* Dynamic Primary Call-to-action Button ruleset override */
.form-actions-wrapper {
  margin-top: 8px;
}

.action-submit-auth {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
}

/* Security Compliance Monitoring Alert Box configuration */
.security-compliance-banner {
  background-color: #f0faf4;
  border-radius: 22px;
  padding: 16px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}

.security-icon {
  font-size: 16px;
  line-height: 1;
  padding-top: 2px;
}

.security-notice-text {
  font-family: var(--font-main);
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

/* Help Desk Tier-2 Links Context standard styling */
.auth-card-footer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.support-label {
  font-family: var(--font-main);
  font-size: 12px;
  color: var(--color-text-muted);
}

.support-action-link {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.support-action-link:hover {
  text-decoration: underline;
}

/* Bottom Explicit Legal Context Block styling definitions */
.viewport-corporate-footer {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.corporate-brand-logo-stamp {
  height: 28px;
  opacity: 0.5;
}

.corporate-copyright-notice {
  font-family: var(--font-main);
  font-size: 12px;
  color: rgba(255, 254, 255, 0.4);
  margin: 0;
  white-space: nowrap;
}

/* Preview Environment Figma Sandbox Frame Top Toolbar Styles */
.figma-preview-toolbar {
  width: 100%;
  height: 44px;
  background-color: #191c21;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  gap: 12px;
  z-index: 100;
}

.toolbar-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toolbar-category {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 254, 254, 0.4);
}

.toolbar-link {
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 254, 254, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toolbar-link:hover {
  color: var(--color-white);
}

.toolbar-divider {
  font-family: var(--font-main);
  font-size: 12px;
  color: rgba(255, 254, 254, 0.2);
}

.toolbar-pill {
  height: 28px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  padding: 0 12px;
}