/* Sign-in page styles - desktop first */
:root {
  --primary: #ff7a18;
  --orange-overlay: rgba(255, 122, 24, 0.85);
  --dark-bg: #62422e; /* Dark Brown for Footer (matched to provided swatch) */
  --muted: #f1f5f9;
  --card-bg: #f7f7f7;
  --text-dark: #1f2937;
  --soft-border: #e6e9ee;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
}
.signin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* LEFT */
.signin-left {
  position: relative;
  background-image: url("../assets/img/b34e6c700df600b228e2ab2504fc9bbf7815c2ed.png");
  background-size: cover;
  background-position: center;
}
.signin-left .left-overlay {
  position: absolute;
  inset: 0;
  background: var(--orange-overlay);
}
.signin-left .left-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 3rem;
}
.brand {
  font-family: "Inter", sans-serif;
  font-style: bold;
  font-weight: 700;
  font-size: 3.25rem;
  margin: 0 0 1rem;
  color: #fff;
}
.lead {
  font-family: "Inter", sans-serif;
  font-style: medium;
  font-weight: 500;
  max-width: 420px;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* RIGHT */
.signin-right {
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}
.login-card {
  width: 530px;
  border-radius: 12px;
  padding: 2.5rem;
}
.card-header {
  margin-bottom: 1rem;
  text-align: center;
}
.brand-script {
  font-family: "Island Moments", cursive;
  font-weight: 400;
  color: var(--primary);
  font-size: 3rem;
  margin-bottom: 0.25rem;
}
.login-card h2 {
  font-family: "Inter", sans-serif;
  font-style: medium;
  font-weight: 500;
  margin: 0 0 1rem;
  font-size: 1.9rem;
  color: var(--text-dark);
}

.login-form .field {
  width: 450px;
  display: block;
  margin-bottom: 1rem;
}
.password-field {
  width: 450px;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.label-text {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: medium;
  display: block;
  color: #3b4758;
  margin-bottom: 0.5rem;
}
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #bdbdbd;
}

.input-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
  opacity: 0.6;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  flex: 1;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  outline: none;
}

.login-form input[type="text"]::placeholder,
.login-form input[type="password"]::placeholder {
  color: #000000;
}

.password-toggle {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eye-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.6;
}
/* Accessible focus states */
.input-wrapper:focus-within {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.12);
}

.password-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.18);
  border-radius: 6px;
}
.password-field .forgot {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: regular;
  text-align: right;
  color: #1e88e5;
  text-decoration: none;
  display: block;
  padding-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  width: 450px;
}
.btn-continue {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  font-style: semi-bold;
  background: var(--primary);
  color: #fff;
  margin-bottom: 1rem;
}
.divider {
  width: 450px;
  display: flex;
  align-items: center;
  margin: 1rem 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #eef0f4;
}
.divider span {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: regular;
  padding: 0 0.75rem;
  color: #6b7280;
}
.btn-provider {
  background: #fff;
  border: 1px solid #bdbdbd;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: regular;
  color: #3b4758;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.provider-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.btn-provider:first-of-type {
  margin-top: 0;
}
.create-link {
  text-align: center;
  margin-top: 1rem;
  color: #6b7280;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  font-style: regular;
}
.create-link a {
  color: #3b82f6;
  text-decoration: none;
}

/* --- Footer --- */
.footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 70px 100px 30px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  font-family: "Jost", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  margin-top: 0.5rem;
  font-size: 1.55rem;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-col.brand p {
  font-family: "Jost", sans-serif;
  font-size: 1.55rem;
  font-weight: 500;
  font-style: medium;
  line-height: 1.6;
  color: #f5f5f5;
  width: 65%;
}

.footer-col p {
  font-size: 15px;
  line-height: 2.5;
  color: #f5f5f5;
}
.footer-col li {
  font-size: 15px;
  line-height: 1.8;
  color: #f5f5f5;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: #f5f5f5;
  transition: 0.3s ease;
}

.footer-col a:hover {
  color: #ffd9b3;
}

.brand .logo {
  font-family: "Island Moments", cursive;
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--primary-color); /* orange logo color */
}

.footer-bottom {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  font-size: 14px;
  color: #e0e0e0;
}

.scroll-top {
  right: 60px;
  bottom: 40px;
  width: 48px;
  height: 48px;
  background: #0aa3ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.scroll-top img {
  width: 52px;
  height: 52px;
  display: block;
}
.scroll-top:hover {
  transform: translateY(-4px);
  opacity: 0.95;
}

@media (max-width: 767px) {
  .scroll-top {
    right: 20px;
    bottom: 20px;
  }
}

/* Responsive: stack for small screens */
@media (max-width: 767px) {
  .signin-split {
    grid-template-columns: 1fr;
  }

  .signin-left {
    display: none;
  }

  .signin-right {
    padding: 1.5rem;
  }

  .login-card {
    width: 100%;
    padding: 1.5rem 0;
  }

  .login-form .field,
  .password-field,
  .btn,
  .divider {
    width: 100%;
  }

  .footer {
    display: none;
  }
}
