/* ============================================================
   PAK EVALUATION — AUTH SYSTEM STYLES
   ============================================================ */

.pe-auth-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #0B1F3A 0%, #122848 100%);
}

.pe-auth-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 42px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  position: relative;
}

@media (max-width: 560px) {
  .pe-auth-card { padding: 32px 24px; }
}

/* Logo */
.pe-auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.pe-auth-logo-icon {
  width: 38px;
  height: 38px;
  background: #0E9F7E;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pe-auth-logo-icon svg {
  width: 20px;
  height: 20px;
}

.pe-auth-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: #0B1F3A;
  font-weight: 700;
}

.pe-auth-logo-text span { color: #F5A623; }

/* Titles */
.pe-auth-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: #0B1F3A;
  text-align: center;
  margin-bottom: 8px;
}

.pe-auth-sub {
  font-size: 14px;
  color: #718096;
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Benefits */
.pe-auth-benefits {
  background: #F7F5F0;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pe-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4A5568;
}

.pe-benefit svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Form Groups */
.pe-auth-group {
  margin-bottom: 20px;
}

.pe-auth-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #0B1F3A;
  margin-bottom: 7px;
}

.pe-auth-group input,
.pe-auth-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: 15px;
  color: #0B1F3A;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: inherit;
}

.pe-auth-group input:focus,
.pe-auth-group select:focus {
  border-color: #0E9F7E;
  box-shadow: 0 0 0 3px rgba(14,159,126,0.12);
}

.pe-auth-group input.pe-error,
.pe-auth-group select.pe-error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,0.1);
}

.pe-req { color: #E53E3E; }

.pe-field-hint {
  display: block;
  font-size: 11px;
  color: #718096;
  margin-top: 5px;
}

/* 2-column row */
.pe-auth-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 420px) {
  .pe-auth-row-2 { grid-template-columns: 1fr; }
}

/* Remember me + forgot */
.pe-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pe-auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4A5568;
  cursor: pointer;
}

.pe-auth-check input {
  width: auto !important;
}

.pe-auth-link {
  font-size: 13px;
  color: #0E9F7E;
  text-decoration: none;
  font-weight: 500;
}

.pe-auth-link:hover { color: #12C49A; }

/* Password toggle */
.pe-pass-wrap {
  position: relative;
}

.pe-pass-wrap input {
  padding-right: 44px;
}

.pe-toggle-pass {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #718096;
  transition: color 0.2s;
}

.pe-toggle-pass:hover { color: #0E9F7E; }

.pe-toggle-pass svg {
  width: 18px;
  height: 18px;
}

/* Password strength */
.pe-pass-strength {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pe-strength-bar {
  flex: 1;
  height: 5px;
  background: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
}

.pe-strength-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s, background 0.3s;
}

#pe-strength-label {
  font-size: 12px;
  font-weight: 500;
  width: 60px;
}

/* Checkbox group */
.pe-auth-check-group {
  margin-bottom: 24px;
}

.pe-auth-check-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400 !important;
  font-size: 13px;
  color: #4A5568;
  cursor: pointer;
  line-height: 1.5;
}

.pe-auth-check-group input {
  width: auto !important;
  margin-top: 2px;
  flex-shrink: 0;
}

.pe-auth-check-group a {
  color: #0E9F7E;
  font-weight: 500;
}

/* Submit button */
.pe-auth-btn {
  width: 100%;
  padding: 14px;
  background: #0E9F7E;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: inherit;
  margin-bottom: 4px;
}

.pe-auth-btn:hover {
  background: #12C49A;
  transform: translateY(-1px);
}

.pe-auth-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Messages */
.pe-auth-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.pe-auth-notice {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pe-auth-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.pe-auth-error   { background: #FFF5F5; border: 1px solid #FED7D7; color: #9B2C2C; }
.pe-auth-info    { background: #EFF8FF; border: 1px solid #BEE3F8; color: #2C5282; }

/* Switch link */
.pe-auth-switch {
  text-align: center;
  font-size: 14px;
  color: #718096;
  margin-top: 20px;
  margin-bottom: 0;
}

.pe-auth-switch a {
  color: #0E9F7E;
  font-weight: 500;
  text-decoration: none;
}

.pe-auth-switch a:hover { color: #12C49A; }

/* Divider */
.pe-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #CBD5E0;
  font-size: 13px;
}

.pe-auth-divider::before,
.pe-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}
