/* =====================================================================
   SHG PORTAL LOGIN STYLESHEET (v2.0)
   File: public/shg/css/shg_login.css
   ===================================================================== */

body.shg-login-page {
  background: radial-gradient(circle at 10% 20%, rgba(22, 163, 74, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(15, 118, 110, 0.08) 0%, transparent 40%),
              #f1f5f9;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 24px 16px;
  margin: 0;
}

.shg-login-box {
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.shg-brand-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 32px 24px 24px;
  text-align: center;
  color: #ffffff;
  position: relative;
}

.shg-brand-logo {
  height: 64px;
  width: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.shg-brand-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}

.shg-brand-header p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
}

.shg-login-tabs {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 6px;
}

.shg-tab-btn {
  flex: 1;
  padding: 11px 14px;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shg-tab-btn:hover {
  color: #0f172a;
}

.shg-tab-btn.active {
  background: #ffffff;
  color: #16a34a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.shg-login-body {
  padding: 28px 28px 24px;
}

.shg-form-group {
  margin-bottom: 20px;
}

.shg-form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.shg-form-label .req {
  color: #dc2626;
}

.shg-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.shg-input-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 15px;
  pointer-events: none;
}

.shg-input-control {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14.5px;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.shg-input-control:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.shg-pw-toggle {
  position: absolute;
  right: 14px;
  color: #94a3b8;
  cursor: pointer;
  font-size: 15px;
  transition: color 0.2s ease;
}

.shg-pw-toggle:hover {
  color: #0f172a;
}

.btn-shg-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-shg-submit:hover {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.4);
  transform: translateY(-1px);
}

.shg-login-footer {
  margin-top: 24px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.shg-login-footer p {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 8px;
}

.shg-login-footer a {
  color: #16a34a;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.shg-login-footer a:hover {
  color: #15803d;
  text-decoration: underline;
}
