body {
  font-family: sans-serif;
  background: linear-gradient(145deg, #fff3e0, #ffcc80);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.register-page {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  max-width: 900px;
  width: 100%;
  position: relative;
}

/* فرم ثبت نام */
.register-form {
  background: linear-gradient(145deg, #fff3e0, #ffcc80);
  padding: 30px;
  border-radius: 20px;
  border: 2px solid #ff9900; /* کادر مشخص */
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

/* خطوط حرکت‌کننده جاده */
.register-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.15),
    rgba(255,255,255,0.15) 2px,
    transparent 2px,
    transparent 10px
  );
  animation: drive 5s linear infinite;
  border-radius: 20px;
  z-index: 0;
}

@keyframes drive {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* محتوای فرم روی انیمیشن */
.register-form h2,
.register-form label,
.register-form input,
.register-form button {
  position: relative;
  z-index: 1;
}

/* عنوان فرم */
.register-form h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

/* برچسب‌ها */
.register-form label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: bold;
}

/* فیلدها */
.register-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-sizing: border-box;
}

/* دکمه ثبت نام */
.register-form button {
  width: 100%;
  padding: 12px;
  background-color: #ffd633;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.register-form button:hover {
  background-color: #ffcc00;
}

/* چراغ راهنمایی */
.traffic-light {
  width: 50px;
  background-color: #333;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.light {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  opacity: 0.2;
  transition: opacity 0.5s;
}

.red { background-color: red; }
.yellow { background-color: yellow; }
.green { background-color: green; }

/* انیمیشن روشن و خاموش شدن چراغ */
.red { animation: blink 3s infinite 0s; }
.yellow { animation: blink 3s infinite 1s; }
.green { animation: blink 3s infinite 2s; }

@keyframes blink {
  0%, 50%, 100% { opacity: 0.2; }
  25%, 75% { opacity: 1; }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .register-page {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .traffic-light {
    flex-direction: row;
    width: auto;
    padding: 5px;
    justify-content: center;
  }

  .light {
    width: 25px;
    height: 25px;
  }
}
/* مخفی کردن عنوان و نوشته‌های بالای فرم ثبت‌نام */
.page-id-1439 .entry-title,
.page-id-1439 .entry-header,
.page-id-1439 .breadcrumbs {
  display: none;
}

/* مخفی کردن Footer و نوشته‌های پایین */
.page-id-1439 footer {
  display: none !important;
}
/* مخفی کردن Header و منوی بالای صفحه ثبت‌نام */
.page-id-1439 header,
.page-id-1439 .main-navigation,
.page-id-1439 .site-branding {
    display: none !important;
}
/* مخفی کردن Header و منوی بالای صفحه ثبت‌نام و حذف جای خالی */
.page-id-1439 header,
.page-id-1439 .main-navigation,
.page-id-1439 .site-branding {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
