
/* ===== General Reset and Layout ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #e9f5f9;
  color: #333;
  font-size: 16px;
  min-height: 100vh;
}

/* ===== Login Container Styling ===== */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #e9f5f9;
}

.login-header {
  background-color: #2e7d32;
  color: white;
  width: 100%;
  max-width: 500px;
  text-align: center;
  padding: 30px 20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.login-header h1 {
  margin-bottom: 5px;
  font-size: 2.2rem;
}

.login-header p {
  font-size: 1rem;
  margin-top: 0;
  font-weight: 300;
}

.login-tabs {
  display: flex;
  justify-content: space-around;
  background-color: #1b5e20;
  padding: 10px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.login-tabs a {
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.login-tabs a:hover,
.login-tabs a.active {
  background-color: #43a047;
}

/* ===== Login Form Styling ===== */
.login-box {
  background-color: #ffffff;
  padding: 40px 30px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 20px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
}

.login-box button {
  width: 100%;
  padding: 12px;
  background-color: #2e7d32;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-box button:hover {
  background-color: #1b5e20;
}

.login-box .forgot-password {
  text-align: right;
  margin-top: 10px;
}

.login-box .forgot-password a {
  color: #2e7d32;
  text-decoration: none;
  font-size: 0.9rem;
}

.login-box .forgot-password a:hover {
  text-decoration: underline;
}
/* ===== Store Registration Layout Fix ===== */

.store-register-page {
  background-color: #e9f5f9;
  min-height: 100vh;
  position: relative;
  padding: 40px 20px;
}

.registration-layout {
  max-width: 1200px;
  margin: auto;
  position: relative;
}

/* Logo + Vertical lines rail */
.left-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 30px;
  top: 30px;
  bottom: 30px;
}

/* Logo Box */
.logo-box {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 100px;
  height: 100px;
  background-color: #ffffff;
  border: 2px solid #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.logo-box img {
  max-width: 80%;
  max-height: 80%;
}

/* === Vertical Green Lines === */
.vertical-lines {
  position: absolute;
  top: 140px;        /* Adjust to align from bottom-middle of logo box */
  left: 65px;        /* Adjust if needed */
  display: flex;
  flex-direction: row;  /* ✅ side by side */
  gap: 10px;
  z-index: 1;
}

.vertical-lines .line {
  width: 4px;
  height: 1135px;       /* ✅ Adjust to match your form height */
  background-color: #2e7d32;
  border-radius: 2px;
}

/* Horizontal Lines (3 lines across top right) */
.horizontal-lines {
  position: absolute;
  top: 60px;  /* This centers the lines vertically to the 100px logo box */
  left: 140px; /* logo box is 100px wide + margin */
  width: calc(100% - 160px); /* dynamic width from logo end to page end */
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

.horizontal-lines .line {
  height: 4px;
  background-color: #2e7d32;
  border-radius: 2px;
}


/* Store Registration Main Wrapper */
.store-registration-form {
  max-width: 1000px;
  background-color: #fff;
  padding: 40px;
  margin-top: 40px;           /* Push form lower */
  margin-left: 500px;          /* Push form slightly to the right */
  margin-right: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

.progress-bar-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;     /* ✅ Add this line */
  margin-bottom: 30px;
  gap: 30px;
}

.step {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.step.active {
  background-color: #2e7d32;
}

/* Form Section */
.form-section {
  display: none;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
}

.form-section.active {
  display: block;
}

.step-title {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 20px;
}

/* New 3-column grid layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 25px;
  max-width: 100%;
}

.form-grid-full {
  grid-column: 1 / -1;
}

.form-grid label {
  display: block;
  font-weight: 600;
  color: #1b5e20;
  margin-bottom: 5px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.form-navigation {
  text-align: right;
  margin-top: 20px;
}

.next-btn {
  background-color: #2e7d32;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* === Three Column Layout === */
.form-row.three-columns {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.three-columns .form-group {
  flex: 1;
}

.full-width {
  width: 100%;
}
.form-header {
  text-align: center;
  margin-bottom: 20px;
}

.store-heading {
  font-size: 2.2rem;
  color: #2e7d32;
  margin-top: 120px;
  margin-bottom: 15px;
}

.progress-bar-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.step {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.step.active {
  background-color: #2e7d32;
}
.prev-btn {
  background-color: #ccc;
  color: #333;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
  font-weight: bold;
  cursor: pointer;
}
.form-group-row {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.form-group-row .form-group {
  flex: 1;
}

.form-group.full-width {
  width: 100%;
}
#step2-form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

#step2-form label {
  color: #1b5e20;
  font-weight: 600;
  margin-bottom: 6px;
}

#step2-form input,
#step2-form select,
#step2-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
.back-btn {
  background-color: #ccc;
  color: #333;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.back-btn:hover {
  background-color: #999;
}
/* === Step 3 Styling === */
.policy-box {
  margin-bottom: 30px;
}

.policy-box h4 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.scrollable-text {
  background: #f7f7f7;
  padding: 15px;
  border: 1px solid #ccc;
  height: 300px;
  overflow-y: scroll;
  border-radius: 6px;
}

.checkbox-group {
  margin-top: 10px;
}

.checkbox-group label {
  margin-left: 8px;
  font-size: 0.95rem;
}

.note-text {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}
.registration-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
@media (max-width: 768px) {
  .form-grid {
    display: block;
  }

  .form-grid > div {
    margin-bottom: 20px;
  }
}


