:root {
  /*--ssf-navy: #003e6d;*/
  --ssf-navy: #005f73;
  --ssf-navy-hover: #0a9396;
  --ssf-gold: #b38b4d;
  --ssf-gold-hover: #9c773e;
  --bg-main: #efefef;
  --border-color-dark: #dbe2ea;
  --text-main: #0f172a;
  --text-muted: #64748b;
}

body {
  font-family: 'Montserrat', 'Alexandria', sans-serif !important;
  background-color: var(--bg-main) !important;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  position: relative;
}

.login-card {
  background: #ffffff;
  border: 1px solid var(--border-color-dark);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  width: 100%;
  max-width: 440px;
  padding: 2.5rem 2rem;
  text-align: center;
}

.brand-logo-wrapper {
  width: 52px;
  height: 52px;
  /*background-color: var(--ssf-navy);*/
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  /*color: #ffffff;*/
  box-shadow: 0 4px 12px rgba(26, 43, 76, 0.15);
}

.divider-text {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.divider-text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border-color-dark);
  z-index: 1;
}

.divider-text span {
  position: relative;
  background-color: #ffffff;
  padding: 0 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
  z-index: 2;
}

.form-label {
  font-weight: 500 !important;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper .fa-input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.input-icon-wrapper.right-icon .fa-input-icon {
  right: 14px;
}

.input-icon-wrapper.left-icon .toggle-password {
  left: 14px;
  cursor: pointer;
}

.form-control {
  border: 1px solid var(--border-color-dark) !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--ssf-navy) !important;
  box-shadow: 0 0 0 3px rgba(26, 43, 76, 0.1) !important;
}

.btn-modern-primary {
  background-color: var(--ssf-navy) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 10px 16px !important;
  transition: all 0.2s ease !important;
  width: 100%;
}

.btn-modern-primary:hover {
  background-color: var(--ssf-navy-hover) !important;
}

.btn-modern-outline {
  background-color: #ffffff !important;
  border: 1px solid var(--border-color-dark) !important;
  color: var(--text-main) !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  padding: 9px 14px !important;
  width: 100%;
  transition: all 0.15s ease !important;
}

.btn-modern-outline:hover {
  background-color: #f8fafc !important;
}

/* Bottom Action Fixed Buttons (Floating) */
.bottom-action-btn {
  position: absolute;
  bottom: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color-dark);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bottom-action-btn.left {
  right: 24px;
}

.bottom-action-btn.right {
  left: 24px;
  width: 38px;
  height: 38px;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

.forgot-link {
  color: var(--ssf-gold);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
}

.forgot-link:hover {
  color: var(--ssf-gold-hover);
  text-decoration: underline;
}
