

@font-face {
  font-family: 'Samim-FD';
  src: url('/assets/fonts/Samim-FD.woff2') format('woff2');
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: 'Vazir', 'Samim-FD', Tahoma, sans-serif;
  background: linear-gradient(135deg, #003366, #005599);
  position: relative;
}
.register-wrapper::before {
  content: "";
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 500px;
  background: url('/assets/img/saba.png') no-repeat center center;
  background-size: contain;
  opacity: 0.30;
  z-index: 0;
  
}
.register-wrapper {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  background: url('/assets/img/saba.png') no-repeat center center;
  background-size: 900px;
  opacity: 0.05;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
}

.register-wrapper {
  transform: translateY(-25px);
  max-width: 500px;
  width: 90%;
  margin: auto;
  padding: 40px 16px 60px;
  text-align: center;
  box-sizing: border-box;
}

.logo-center {
  width: 80px;
  margin-bottom: 12px;
}

.back-link {
  display: inline-block;
  margin-bottom: 15px;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.register-wrapper h3 {
  color: #ffffff;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
}

.register-form {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  color: #fff;
  text-align: left;
}

.register-form .form-label {
  margin-bottom: 4px;
  font-size: 14px;
  color: #fff;
}

.register-form .form-control {
  padding: 6px 10px;
  font-size: 14px;
  background-color: rgba(255,255,255,0.2);
  border: 1px solid #ccc;
  color: #fff;
}

.register-form .mb-3 {
  margin-bottom: 12px;
}

.register-form button {
  padding: 8px 12px;
  font-size: 15px;
}

.register-form .text-center {
  margin-top: 12px;
  font-size: 13px;
  color: #fff;
}

/* شمارش معکوس و لوگوی چرخان */
#countdownOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #003366;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: transform 1.5s ease-in-out;
  overflow: hidden;
}

#rotatingLogo {
  width: 80px;
  margin-bottom: 10px;
  animation: spin 2s linear infinite;
}

#countdownNumber {
  font-size: 120px;
  color: #ffffff;
  font-weight: bold;
  animation: pulse 1s ease-in-out infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.3); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

#countdownOverlay.expand {
  transform: scale(0);
  opacity: 0;
}
.navbar-brand {
  color: #ffffff !important;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid #ccc;
}
.navbar-brand:hover {
  color: #ffcc00;
  text-decoration: underline;
}
.register-form a[href="login.php"] {
  color: #28a745;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
}

.register-form a[href="login.php"]:hover {
  color: #218838;
  text-decoration: underline;
}

