
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&display=swap');

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #fff;
}

.form-container {
  background-color: #141414;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 119, 255, 0.5);
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  border: 1px solid #2e2e2e;
}

h2 {
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: #fff;
}

.button-row,
.option-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.button-row button,
.option-group button,
.button-row .toggle-btn {
  flex: 1 1 calc(50% - 0.4rem);
  background-color: #1e1e1e;
  color: #bbb;
  border: 1px solid #444;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
}

/* 👇 Custom styles for the active button */
.button-row button.active,
.option-group button.active,
.button-row .toggle-btn.active {
  background: linear-gradient(181.08deg, #84B7FF -48.14%, #0258D0 55.14%, #08336E 167.5%);
  box-shadow: inset 0px 0px 7.8px rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.button-row button:hover,
.option-group button:hover,
.button-row .toggle-btn:hover {
  background-color: #2c2c2c;
  transform: scale(1.02);
}

.option-group label {
  width: 100%;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  color: #999;
}

input[type="text"],
select {
  background-color: #2a2a2a;
  color: #ddd;
  border: 1px solid #444;
  padding: 0.6rem;
  border-radius: 10px;
  width: 100%;
  font-size: 0.9rem;
}

input[type="email"],
select {
  background-color: #2a2a2a;
  color: #ddd;
  border: 1px solid #444;
  padding: 0.6rem;
  border-radius: 10px;
  width: 100%;
  font-size: 0.9rem;
}

.budget-slider {
  width: 100%;
}

.budget-slider input[type="range"] {
  width: 100%;
  accent-color: #00aaff;
  margin: 0.4rem 0;
}

.budget-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #999;
}

button.next-page {
  background: linear-gradient(to right, #ffffff, #dcdcdc);
  color: #000;
  font-weight: bold;
  width: 100%;
  padding: 0.7rem;
  border-radius: 16px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.next-page:hover {
  background-color: #cccccc;
}

@media (max-width: 480px) {
  .form-container {
    padding: 1rem;
    max-width: 95%;
  }

  h2 {
    font-size: 1.1rem;
  }

  .button-row button,
  .option-group button,
  button.next-page {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
}

.option-group button {
  flex: 1;
  min-width: 175px;
  text-align: center;
}
.form-container {
  background-color: #141414;
  padding: 1rem 2.5rem;  /* width increase ke liye side padding thoda badhaya */
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 119, 255, 0.5);
  width: 100%;
  max-width: 480px;  /* width thodi zyada ki */
  box-sizing: border-box;
  border: 1px solid #2e2e2e;
  text-align: center;
  /* height automatic rahe, lekin inputs aur padding se compact rakha */
}

.upload-options {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;  /* thoda kam gap */
  margin-bottom: 1.2rem; /* length kam karne ke liye margin thoda kam */
}

.upload-btn {
  flex: 1 1 calc(50% - 0.35rem);
  background-color: #1e1e1e;
  color: #bbb;
  border: 1px solid #444;
  padding: 0.7rem 0.5rem; /* thoda chhota padding, length kam hogi */
  border-radius: 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  line-height: 1.1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;  /* gap thoda kam kiya */
  margin-bottom: 1.2rem;  /* length kam karne ke liye margin kam */
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  color: #ccc;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  background-color: #2a2a2a;
  color: #ddd;
  border: 1px solid #444;
  padding: 0.45rem 0.9rem; /* input height thodi kam */
  border-radius: 10px;
  width: 100%;
  font-size: 0.9rem;
  box-sizing: border-box;
  height: 32px; /* fixed height for smaller length */
}

.submit-btn {
  background: linear-gradient(181.08deg, #84B7FF -48.14%, #0258D0 55.14%, #08336E 167.5%);
  box-shadow: 0 0 12px rgba(8, 51, 110, 0.7);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 0;
  width: 100%;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  height: 40px;  /* thoda chhota button */
}

.submit-btn:hover {
  box-shadow: 0 0 20px rgba(8, 51, 110, 1);
}

@media (max-width: 480px) {
  .form-container {
    max-width: 95%;
    padding: 1rem 1.5rem;
  }

  .upload-options {
    flex-direction: column;
  }

  .upload-btn {
    flex: 1 1 100%;
    padding: 0.6rem 0.5rem;
    font-size: 0.85rem;
  }
}


.form-container h2 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-family: 'Inter', sans-serif;
  color: #fff;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
  background-color: #2a2a2a;
  color: #ddd;
  border: 1px solid #444;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  width: 100%;
  font-size: 0.9rem;
  box-sizing: border-box;
  height: 32px;
}

.form-group select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ccc" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

.form-group select:focus {
  outline: none;
  border-color: #0258D0;
}

.submit-btn {
  background: linear-gradient(181.08deg, #84B7FF -48.14%, #0258D0 55.14%, #08336E 167.5%);
  box-shadow: 0 0 12px rgba(8, 51, 110, 0.7);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.5rem 0;
  width: 100%;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  height: 40px;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  box-shadow: 0 0 20px rgba(8, 51, 110, 1);
}


#phone {
  background-color: #2a2a2a;
  color: #ddd;
  border: 1px solid #444;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  width: 100%;
  font-size: 0.9rem;
  box-sizing: border-box;
  height: 32px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#phone::placeholder {
  color: #888;
  font-style: italic;
}

#phone:focus {
  outline: none;
  border-color: #0258D0;
  background-color: #1f1f1f;
}

.app-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.app-links img {
  height: 36px; /* smaller size */
  max-width: 140px;
  transition: transform 0.3s ease;
}

.app-links img:hover {
  transform: scale(1.05);
}
