/* Register Page Styles - RepairRoo */

.auth-outer {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fb;
  padding-top: 30px;
  padding-bottom: 30px;
}

.auth-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(30,50,70,0.08), 0 2px 4px rgba(20,30,50,0.04);
  max-width: 700px;
  width: 100%;
  padding: 32px 36px;
  text-align: center;
}

.auth-title {
  color: #1861ac;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.register-form label {
  text-align: left;
  color: #123e52;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="tel"],
.register-form input[type="password"] {
  padding: 11px 12px;
  font-size: 1rem;
  border: 1.5px solid #d7e6f2;
  border-radius: 10px;
  background: #f8fbfd;
  transition: border-color 0.2s, background 0.2s;
}

.register-form input:focus {
  outline: none;
  border-color: #30b3b1;
  background: #f3fcfc;
}

.register-form button[type="submit"] {
  margin-top: 10px;
  padding: 13px 0;
  font-size: 1.13rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background: #ffc600;
  color: #134a6c;
  box-shadow: 0 1px 6px rgba(35, 53, 69, 0.08);
  cursor: pointer;
  transition: background 0.15s;
}

.register-form button[type="submit"]:hover {
  background: #ffe289;
}

.divider {
  margin: 18px 0 14px;
  color: #789;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  text-align: center;
}

.divider:before,
.divider:after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1.5px;
  background: #e4e7ee;
  margin: 0 13px;
  vertical-align: middle;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 1.12rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  background: #ea4335;
  color: #fff;
  box-shadow: 0 2px 8px rgba(234, 67, 53, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
}

.google-btn img {
  width: 24px;
  height: 24px;
  filter: brightness(1.05) drop-shadow(0 0 2px #fff5);
}

.google-btn:hover {
  background: #b52917;
  box-shadow: 0 4px 18px rgba(234, 67, 53, 0.20);
}

.small-text {
  margin-top: 18px;
  font-size: 1.02rem;
  color: #7b90a0;
}

.small-text a {
  color: #30b3b1;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s;
}

.small-text a:hover {
  color: #1861ac;
}

/* Mobile Styles */
@media (max-width: 600px) {
  .auth-card {
    padding: 22px 16px;
    max-width: 95vw;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* Two-column layout on desktop */
@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .form-grid .form-group:nth-child(5),  /* Address */
  .form-grid .form-group:nth-child(6),  /* Password */
  .form-grid .form-group:nth-child(7) { /* Confirm Password */
    grid-column: span 2;
  }
}

/* --- Plan chooser styles --- */
.plan-chooser {
  margin-bottom: 24px;
  text-align: left;
}

.plan-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #134a6c;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 10px;
}

.plan-card {
  border: 2px solid #d7e6f2;
  border-radius: 14px;
  padding: 16px 18px;
  background: #f9fcfe;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: block;
  text-align: left;
}

.plan-card:hover {
  border-color: #30b3b1;
  box-shadow: 0 3px 12px rgba(30,50,70,0.08);
}

.plan-card.active {
  border-color: #1861ac;
  background: #eef6ff;
  box-shadow: 0 4px 16px rgba(24,97,172,0.15);
}

.plan-card input[type="radio"] {
  display: none;
}

.plan-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.plan-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #123e52;
}

.plan-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1861ac;
}

.plan-price .per {
  font-size: 0.85rem;
  font-weight: 500;
  color: #789;
  margin-left: 3px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
  color: #345;
}

.plan-features li {
  margin: 4px 0;
}

.plan-note {
  font-size: 0.9rem;
  color: #7b90a0;
  margin-top: 8px;
}

/* Utility */
.hidden {
  display: none !important;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}
