* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* ===== Create Account Section ===== */
.create-account-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.create-account-container {
  width: 100%;
  max-width: 420px;
  background-color: #fff;
  padding: 50px 40px;
  border: 1px solid #e0e0e0;
}

/* Logo */
.create-account-logo {
  text-align: center;
  margin-bottom: 35px;
}
.create-account-logo img {
  width: 80px;
  display: inline-block;
}

/* Header */
.create-account-header {
  text-align: center;
  margin-bottom: 35px;
}
.create-account-header h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #222;
  margin-bottom: 10px;
}
.create-account-header p {
  font-size: 14px;
  color: #888;
  font-weight: 300;
}

/* Form */
.create-account-body form {
  display: flex;
  flex-direction: column;
}

/* Form Groups */
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #444;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  background-color: #fafafa;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s ease;
  outline: none;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  border-color: #222;
  background-color: #fff;
}
.form-group input::placeholder {
  color: #bbb;
  font-size: 13px;
}

/* Password Wrapper */
.password-wrapper {
  position: relative;
}
.password-wrapper input {
  padding-right: 45px;
}
.password-wrapper i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.password-wrapper i:hover {
  color: #333;
}

/* Password Rules */
.password-rules {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  font-size: 12px;
  display: none;
}
.password-rules.active {
  display: block;
}
.password-rules li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  color: #e74c3c;
  transition: color 0.3s ease;
}
.password-rules li::before {
  content: "✕";
  margin-right: 8px;
  font-size: 11px;
  font-weight: 600;
  color: #e74c3c;
  transition: color 0.3s ease;
  min-width: 14px;
}
.password-rules li.valid {
  color: #2ecc71;
}
.password-rules li.valid::before {
  content: "✓";
  color: #2ecc71;
}

/* Password Match Message */
.password-match {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.password-match.match {
  color: #2ecc71;
}
.password-match.no-match {
  color: #e74c3c;
}

/* Form Options */
.form-options {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}
.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
}
.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #222;
  cursor: pointer;
}
.remember-me label {
  font-size: 13px;
  color: #555;
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
}
.remember-me label a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
}
.remember-me label a:hover {
  text-decoration: underline;
}

/* Create Account Button */
.create-account-btn {
  width: 100%;
  padding: 15px;
  background-color: #222;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}
.create-account-btn:hover {
  background-color: #000;
}
.create-account-btn:active {
  transform: scale(0.98);
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 28px 0;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ddd;
}
.divider span {
  padding: 0 18px;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* Social Login */
.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.social-btn {
  width: 55px;
  height: 55px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #555;
  font-size: 20px;
  transition: all 0.3s ease;
}
.social-btn:hover {
  border-color: #222;
  color: #222;
  transform: translateY(-2px);
}

/* Footer */
.create-account-footer {
  margin-top: 30px;
  text-align: center;
}
.create-account-footer p {
  font-size: 13px;
  color: #888;
}
.create-account-footer a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.create-account-footer a:hover {
  color: #000;
  text-decoration: underline;
}
