/* ==========================================================================
   SINFONIA EVALUATE - SOFT MINIMAL PURPLE THEME (LOGIN)
   ========================================================================== */

* {
  font-family: 'Prompt', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

/* Fullscreen Minimalist Background */
.purple-login-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #f8f7fc;
  background: linear-gradient(135deg, #f8f7fc 0%, #f1edf8 50%, #f6f3fa 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 24px;
}

/* Minimal Classic White Card */
.purple-login-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #ede9f6;
  box-shadow: 
    0 10px 30px -5px rgba(139, 92, 246, 0.08),
    0 4px 12px -2px rgba(0, 0, 0, 0.03);
  padding: 40px 36px 32px 36px;
  text-align: center;
  z-index: 10;
}

/* Soft Purple Top Accent Line */
.purple-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

/* Logo */
.purple-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.purple-logo-container img {
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
}

/* Header Text */
.purple-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #7c3aed;
  background: #ede9fe;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.purple-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e1b4b;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.purple-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 24px 0;
  font-weight: 400;
}

/* Input Fields Group */
.purple-input-group {
  margin-bottom: 18px;
  text-align: left;
  position: relative;
}

.purple-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 7px;
}

.purple-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.purple-input-icon {
  position: absolute;
  left: 14px;
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.purple-input-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.purple-input {
  width: 100% !important;
  height: 44px !important;
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  border-radius: 10px !important;
  padding: 10px 42px 10px 42px !important;
  color: #1f2937 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
  outline: none !important;
}

.purple-input::placeholder {
  color: #9ca3af !important;
  font-size: 13px;
}

.purple-input:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15) !important;
}

/* Password Toggle Icon Button */
.purple-password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 3;
}

.purple-password-toggle:hover {
  color: #7c3aed;
}

.purple-password-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Submit Action Button (Soft Purple) */
.purple-btn-submit {
  width: 100%;
  height: 44px;
  background: #8b5cf6;
  border: 1px solid #7c3aed;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.25);
  margin-top: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.purple-btn-submit:hover {
  background: #7c3aed;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.purple-btn-submit:active {
  transform: translateY(0);
}

.purple-btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Error Message Banner */
.purple-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 10px 14px;
  color: #b91c1c;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  line-height: 1.4;
}

/* Minimal Guide Box */
.purple-guide-box {
  background: #faf5ff;
  border: 1px solid #ede9fe;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  color: #4b5563;
  line-height: 1.6;
}

.purple-guide-title {
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.purple-guide-item {
  margin-top: 3px;
  color: #4b5563;
}

.purple-guide-item b {
  color: #374151;
}

/* Footer Copyright */
.purple-footer {
  margin-top: 20px;
  font-size: 11px;
  color: #9ca3af;
}
