html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

.container-fluid {
  padding: 0;
  margin: 0;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
}

/* Top Section (50% of the screen) */

.top-section {
  height: 50vh;
  width: 100vw; /* احجز عرض الشاشة بالكامل */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.top-section img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* تغطية كاملة للصورة */
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}



/* Bottom Section (Contact form area) */

.bottom-section {
  height: 50vh;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  /*align-items: center;*/
  background: #fff;
  padding: 20px;
  text-align: center;
}

.bottom-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.bottom-section p {
  font-size: 14px;
  color: #666;
  max-width: 400px;
  margin-bottom: 20px;
}

.card {
  width: 300px;
  height: 175px;
  background-color: #ebf7f7;
  font-family: 'Century Gothic Paneuropean';
}

.headttitle {
  font-weight: bold;
}

.loginform {
  position: fixed;
  min-width: 300px;
  min-height: 350px;
  top: 20%;
  right: 10%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 40%, rgba(32, 203, 181, 0.1) 100%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  padding: 40px 30px;
}

.row-login {
  max-height: 100%;
  overflow-y: auto;
}

.loginheader {
  font-family: 'Century Gothic Paneuropean';
}

.supera {
  font-size: 48px;
  font-family: 'Century Gothic Paneuropean';
  color: #27d4b6;
  font-weight: bold;
}

.nav-tabs .nav-link {
  font-weight: 500;
  color: #20cbb5;
}

.nav-tabs .nav-link.active {
  color: #fff;
  background-color: #20cbb5;
  border-color: #20cbb5;
  border-radius: 10px 10px 0 0;
}

.btn-custom {
  background: #20cbb5;
  color: white;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.loginarea {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(32,203,181,0.1));
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
}

.forgot-password:hover {
  text-decoration: underline;
}

.forgot-password {
  font-size: 14px;
  color: #20cbb5;
  text-decoration: none;
  margin-bottom: 20px;
}

/* Prevent inputs from stretching unevenly */

.otpinputs {
  text-align: center;
  font-size: 18px;
}

@media (max-width: 767.98px) {
  .container-fluid {
    display: none !important;
  }

}

@media (max-width: 767.98px) {
  .loginform {
    position: relative;
    min-width: auto;
    min-height: auto;
    width: 100%;
    height: 100vh;
    top: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 767.98px) {
  .row-login {
    width: 100%;
    padding: 20px;
  }
}

@media (max-width: 1555px) {
  .loginform {
    top : 20%;
    padding: 20px;
    right: 3%;
    max-width: 500px;
  }
}

@media (max-width: 1248px) {
  .card{
    display: none ;
  }
}

@media (max-width: 1300px) {
  .infoimage {
    background-image: url("assets/img/medsize.png");
    background-size: cover;
    background-position: center;
  }
}

.input-error {
  border-bottom: 2px solid red !important;
  animation: shake 0.3s ease-in-out 3;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}