* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 30px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.sign-up-btn {
  background-color: #7c4dff;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 100px;
}

.header h1 {
  font-size: 24px;
  font-weight: 500;
  color: #333;
}

.form-description {
  text-align: center;
  color: #777;
  margin-bottom: 30px;
  font-size: 14px;
}

/* Form Sections */
.form-section {
  margin-bottom: 25px;
}

.section-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 25px;
  color: #333;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 14px;
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  height: 100px;
  resize: none;
}

.select-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #f9f9f9;
  font-size: 14px;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

/* Phone and Email verification */
.input-with-button {
  position: relative;
}

.input-with-button .form-control {
  padding-right: 40px;
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.verify-btn {
  background-color: transparent;
  height: 40px;
  color: #7c4dff;
  border: none;
  font-size: 14px;
  cursor: pointer;
  margin-top: 5px;
}

/* Password fields */
.password-input {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  cursor: pointer;
}

/* Submit button */
.submit-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, #333333, #222222);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  margin-bottom: 15px;
}

.submit-btn:hover {
  background: linear-gradient(to right, #555555, #333333);
}

.create-btn {
  text-decoration: none;
}

button:disabled {
  background-color: #ccc !important;
  color: white !important;
  cursor: not-allowed;
  border: none;
  opacity: 0.7;
}

/* Terms and login link */
.terms-text {
  text-align: center;
  font-size: 12px;
  color: #777;
  margin-bottom: 20px;
}

.login-link {
  text-align: center;
  font-size: 14px;
}

.login-link a {
  color: #7c4dff;
  text-decoration: none;
}

.message {
  padding: 10px;
  margin-top: 10px;
  text-align: center;
  display: none;
  border-radius: 5px;
}
.error-message {
  background-color: #ffdddd;
  border-left: 6px solid #d9534f;
  color: #d9534f;
}
.success-message {
  background-color: #ddffdd;
  border-left: 6px solid #5cb85c;
  color: #5cb85c;
}

/* Password visibility */
.password-input {
  position: relative;
  display: flex;
  align-items: center;
}
.password-toggle {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-size: 1.2em;
  color: #666;
}
.form-control {
  width: 100%;
  padding-right: 30px;
}

.verify-btn {
  display: inline-block;
  padding: 10px 15px;
  background: linear-gradient(to right, #333333, #222222);
  color: white;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 15px;
  transition: background 0.3s ease-in-out;
}

.verify-btn:hover {
  /* border: 2px solid white;
  background-color: #333333;
  color: white; */
  background: linear-gradient(to right, #555555, #333333);
}

.verify-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.create-shop {
  text-decoration: none;
}

@media (max-width: 570px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .verify-btn {
    display: inline-block;
    padding: 5px 10px;
    background-color: #7c4dff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: background 0.3s ease-in-out;
  }
}
