:root {
  --blue: #2467AF;
  --black: #2467AF;
  --yellow: #D9B42A;
}
* {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: auto;
  margin: 90px auto;
  padding: 20px;
}

.wizard {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.wizard-step {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-bottom: 3px solid lightgray;
  color: gray;
  font-size: 14px;
}

.wizard-step.active {
  font-weight: bold;
  color: black;
  border-bottom: 3px solid #399AD2;
}

.code-input {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.code-input input {
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.code-input input:focus {
  border-color: #399AD2;
  outline: none;
}

.form-control.invalid {
  border-color: red;
  background: linear-gradient(45deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

.form-control.valid {
  border-color: green;
  background: linear-gradient(45deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.05));
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.3);
}

.back-to-home {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

.btn-home {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #2467AF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-home i {
  margin-right: 8px;
}

.btn-home:hover {
  background-color: #0717c5;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.hidden {
  display: none;
}

.popup-content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 300px;
}

.popup-content span {
  font-size: 16px;
  margin-bottom: 20px;
  display: block;
  color: #333;
}

.popup-btn {
  padding: 10px 20px;
  background-color: #2467AF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.popup-btn:hover {
  background-color: #0717c5;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader.hidden {
  display: none;
}

.loader-content {
  text-align: center;
}

.dot-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #399AD2;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
}

.loader p {
  margin-top: 15px;
  font-size: 18px;
  color: #333;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  padding: 20px;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  padding: 20px;
}

.footer {
  background-color: var(--blue);
  color: #ecf0f1;
  padding: 20px 10px;
  text-align: center;
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 10px;
  text-align: center;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  font-size: 1rem;
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #1350dd;
}

.social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-links a {
  color: #ecf0f1;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #1350dd;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 15px;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .footer-section ul li a {
    font-size: 0.9rem;
  }

  .social-links a {
    font-size: 1rem;
  }
}

.formgroup {
  position: relative;
  margin-bottom: 1.5rem;
}

.formgroup label {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
  color: #999;
  background: transparent;
  z-index: 1;
  padding: 0 0.25rem;
}

.formgroup input {
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  width: 100%;
  transition: border-color 0.3s ease;
  background: #fff;
}

.formgroup input:focus {
  border-color: #D9B42A;
  outline: none;
}

.formgroup input:focus + label,
.formgroup input:not(:placeholder-shown) + label {
  top: -1.5rem;
  left: 0.75rem;
  font-size: 0.875rem;
  color: #D9B42A;
  background: transparent;
  padding: 0 0.25rem;
}

html[dir="rtl"] .formgroup label {
  right: 1rem;
  left: auto;
  text-align: right;
}


.floating-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.floating-group label {
  display: block;
  position: relative;
  color: #999;
  font-size: 1rem;
}

.floating-group label input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  background: #fff;
  transition: border-color 0.3s ease;
  outline: none;
}

.floating-group label input::placeholder {
  opacity: 0;
}

.floating-group label span {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  background-color: #fff;
  padding: 0 0.25rem;
  pointer-events: none;
}

.floating-group label input:focus + span,
.floating-group label input:not(:placeholder-shown) + span {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.9rem;
  color: #D9B42A;
  background: #fff;
}
.wizard-title {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
}

.wizard-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2c3e50;
}
html[dir="rtl"] .floating-group input {
  text-align: right;
}
html[dir="rtl"] .floating-group label span {
  right: 1rem;
  left: auto;
}

html[dir="rtl"] .floating-group label input:focus + span,
html[dir="rtl"] .floating-group label input:not(:placeholder-shown) + span {
  right: 0.75rem;
  left: auto;
}
.button-container {
  display: flex;
  gap: 10px;
}
.card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card-header {
  background-color: #2467AF;
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px 8px 0 0;
}

.card-body {
  padding: 16px;
}
.custom-btn {
  background-color: white;
  color: #4a90e2;
  border: 2px solid #4a90e2;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  width: 45px;
  height: 45px;
  margin-left: 5px;
}

.custom-btn:hover {
  background-color: #D9B42A;
  color: white;
  box-shadow: 0px 4px 10px rgba(74, 144, 226, 0.5);
}

.custom-btn i {
  font-size: 20px;
}
.yemen-logo {
  width: 250px;
  height: 70px;
}

@media (max-width: 768px) {
  .yemen-logo {
    width: 100%;
    height: auto;
  }
 }


html[dir="rtl"] input[type="date"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 10px;
  right: auto;
}
