/* Full House 365 – Page 07 */

html {
  overflow: hidden;
  height: 100%;
}

.fh-page {
  margin: 0;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #2D3A4B 0%, #4A5A6E 40%, #7A8A9A 70%, #A6B0BC 100%);
  color: #2D3A4B;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 0;
  box-sizing: border-box;
}

.fh-wrap {
  flex: 1;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fh-logo {
  margin: 0 0 1.5rem;
  text-align: center;
}

.fh-logo-img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.fh-card {
  width: 350px;
  height: 291px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 1rem 10px;
  box-sizing: border-box;
  overflow: hidden;
}

.fh-login-header {
  text-align: center;
  margin-bottom: 1rem;
}

.fh-login-title {
  font-size: 22px;
  font-weight: 700;
  color: #3d4a5c;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.fh-message {
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
  font-size: 0.8125rem;
}

.fh-message--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.fh-message--error {
  background: #ffebee;
  color: #c62828;
}

.fh-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fh-field {
  width: 100%;
  margin-bottom: 0.25rem;
}

.fh-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.fh-input {
  width: 330px;
  height: 40px;
  padding: 0.5rem 2.75rem 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-family: inherit;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: #2D3A4B;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.fh-input::placeholder {
  color: #9ca3af;
}

.fh-input:focus {
  outline: none;
  border-color: #2D3A4B;
}

.fh-input-icon {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}

.fh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.fh-btn--login {
  background: #2D3A4B;
  color: #fff;
  margin-top: 0.5rem;
}

.fh-btn--login:hover {
  background: #3d4a5e;
}

.fh-btn--login:active {
  opacity: 0.9;
}

.fh-btn-arrow {
  flex-shrink: 0;
}

.fh-forgot {
  margin: 0.5rem 0 0.4rem;
  text-align: right;
}

.fh-forgot a {
  color: #2563eb;
  text-decoration: none;
  font-size: 0.875rem;
}

.fh-forgot a:hover {
  text-decoration: underline;
}

.fh-recaptcha {
  margin: 0;
  font-size: 10px;
  color: #6b7280;
  line-height: 1.35;
}

.fh-recaptcha a {
  color: #2563eb;
  text-decoration: underline;
}

.fh-recaptcha a:hover {
  text-decoration: none;
}

/* Footer */
.fh-footer {
  width: 100%;
  max-width: 100vw;
  background: #0e1d35;
  margin-top: auto;
  padding: 0.9rem 1.25rem;
  box-sizing: border-box;
  position: relative;
  min-height: 72px;
}

.fh-footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  position: relative;
  min-height: 72px;
}

.fh-footer-support {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
}

.fh-footer-support-label {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
  color: #fff;
}

.fh-footer-phone {
  font-size: 0.8125rem;
  color: #e5e7eb;
  text-decoration: none;
}

.fh-footer-phone:hover {
  text-decoration: underline;
}

.fh-footer-icons {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fh-footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.fh-footer-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.fh-footer-icon svg {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .fh-page {
    padding: 1.25rem 0.75rem 0;
  }

  .fh-card {
    padding: 1.25rem 1.25rem;
  }

  .fh-footer-support {
    position: static;
    transform: none;
    margin-bottom: 0.5rem;
  }

  .fh-footer-icons {
    position: static;
    transform: none;
    justify-content: center;
  }
}
