/* -------------------- REGISTER FORM -------------------- */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f2f6ff;
}

/* WRAPPER */
.register-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ---------------- LEFT SIDE ---------------- */
.register-info {
  flex: 1;
  background: linear-gradient(135deg, #0230ff, #42a5f5);
  color: #ffffff;
  padding: 50px;
}

.register-info h1 {
  font-size: 40px;
  margin-top: 200px;
  margin-bottom: 10px;
  text-align: center;
}

.register-info h2 {
  font-size: 25px;
  margin-bottom: 20px;
}

.register-info p {
  font-size: 20px;
  opacity: 0.9;
  text-align: center;
}

.info-box {
  margin-top: 20px;
  background: rgba(255,255,255,0.15);
  padding: 50px;
  border-radius: 12px;
  font-size: 20px;
  text-align: center;
}

/* ---------------- RIGHT SIDE ---------------- */
.register-card {
  flex: 1;
  background: #ffffff;
  padding: 50px;
}

/* ROW FIX (First name / Last name gap) */
.register-card .row {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
}

/* INPUTS */
.register-card input,
.register-card select,
.register-card textarea {
  width: 94%;
  padding: 15px;
  border-radius: 15px;
  border: 2px solid #d1d5db;
  font-size: 14px;
  margin-bottom: 10px;
}

.register-card textarea {
  resize: none;
  height: 100px;
}

/* BUTTON */
.register-card button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: #0230ff;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.register-card button:hover {
  background: #1565c0;
}

/* ---------------- TERMS & CONDITIONS FIX ---------------- */
.terms-row {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
}

.terms-row input[type="checkbox"] {
  margin-top: -7px;
  margin-right: 10px;
  width: 16px;
  height: 40px;
  accent-color: #0230ff;
  flex-shrink: 0;
}

.terms-row label {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  cursor: pointer;
}

.password-box {
  position: relative;
  width: 100%;
}

.password-box input {
  width: 80%;
  padding-right: 40px;
}

.password-box .toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #555;
}

/* ---------------- ROLE SELECT DROPDOWN ---------------- */
.role-row select[name="role"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #333;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  cursor: pointer;
}

/* Focus effect */
.role-row select[name="role"]:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Placeholder option color */
.role-row select[name="role"] option[value=""] {
  color: #999;
}

/* ROW spacing fix for role dropdown */
.role-row {
  margin-bottom: 20px;
}

/* FIELD WRAPPER */
.field {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* LABEL STYLE */
.field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

/* DATE INPUT – calendar opens on box click (default behavior) */
input[type="date"] {
  cursor: pointer;
}