/* ========== Base ========== */
* {
  font-family: 'Tajawal', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  direction: ltr;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* ========== Navbar ========== */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  direction: rtl;
}

/* Logo in the center */
.navbar .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar .logo img {
  width: 150px;
  height: auto;
}

/* Right-side menu (avatar + notifications) */
.navbar ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li a img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

/* Avatar Dropdown */
.avatar-dropdown {
  position: relative;
}

.avatar-dropdown .avatar-menu {
  position: absolute;
  top: 60px;
  right: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: none;
  min-width: 180px;
  z-index: 1001;
}

.avatar-dropdown:hover .avatar-menu {
  display: block;
}

.avatar-menu li a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s ease;
}

.avatar-menu li a i {
  margin-left: 10px;
  color: #00b7ff;
}

.avatar-menu li a:hover {
  background-color: #f0f8ff;
}

/* Notifications */
.notification-dropdown {
  position: relative;
}

.notification-dropdown .notification-menu {
  position: absolute;
  top: 60px;
  right: 0;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  padding: 10px;
  z-index: 1001;
  display: none;
}

.notification-dropdown:hover .notification-menu {
  display: block;
}

.notification-menu .loader {
  width: 25px;
  height: 25px;
  border: 3px solid #ddd;
  border-top: 3px solid #00b7ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

.notification-menu .no-notifications {
  text-align: center;
  color: gray;
  font-size: 14px;
  padding: 10px 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}






/* ========== Form Section ========== */
.form-section {

  flex: 1;
  background: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  direction: rtl;
  margin-top: 5px;
}

.form-section h2 {
  color: #132663;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 20px;
  text-align: right;
}

.icon-rigstar {
  width: 25px;
  vertical-align: middle;
}

.talap {
  color: #0080ff;
  font-size: 36px;
  font-weight: 900;
}

.discribtion {
  color: gray;
  margin-bottom: 30px;
}

/* ========== Form Groups & Inputs ========== */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.group {
  position: relative;
  flex: 1;
}

.group .icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: #00aeff;
  font-size: 18px;
  pointer-events: none;
  z-index: 2;
}

.group .input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  border: 1px solid #00d9ff1c;
  background: none;
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.input:focus {
  outline: none;
  border-color: #0a95cc34;
}

/* Floating Labels */
label {
  color: #999;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  right: 40px;
  top: 10px;
  transition: 0.3s ease;
}

.input:focus ~ label,
.input:valid ~ label {
  top: -10px;
  font-size: 12px;
  color: #0a95cc;
}

/* Bar Underline */
.bar {
  display: block;
  width: 100%;
  position: relative;
}

.bar:before,
.bar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #0071f1;
  transition: 0.2s ease all;
}

.bar:before { right: 50%; }
.bar:after { left: 50%; }

.input:focus ~ .bar:before,
.input:focus ~ .bar:after {
  width: 50%;
}

/* Highlight Animation */
.highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  right: 0;
  pointer-events: none;
  opacity: 0.5;
}

.input:focus ~ .highlight {
  animation: inputHighlighter 0.3s ease;
}

@keyframes inputHighlighter {
  from { background: #05a7cf; }
  to { width: 30px; background: transparent; }
}

/* ========== Buttons ========== */
.buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #1e90ff;
  color: white;
  padding: 10px 20px;
  height: 50px;
  border: 1px solid #1e90ff;
  border-radius: 5px;
  margin-right: 40px;
  font-weight: bold;
  transition: all 0.3s ease;
  flex-direction: row-reverse;
}

.submit-btn i {
  font-size: 18px;
  color: #093c6e;
  transition: transform 0.6s ease;
}

.submit-btn:hover {
  background-color: transparent;
  color: #1e90ff;
}

/* ========== Login Link ========== */
.login-link {
  text-align: center;
  font-size: 20px;
  color: #1e90ff;
}

.login-link a {
  text-decoration: none;
  color: rgb(114, 114, 17);
}

/* ========== Image Section ========== */
.image-section {
  flex: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.image-section h1 {
  color: #34495e;
  font-size: 28px;
  margin-bottom: 20px;
}

.image-section img {
  width: 80%;
  max-width: 600px;
}

/* resposef */
@media  (max-width: 768px){
  .image-section{display: none;
  width: 0%;
  height: 0%;}

  .talap{display: flex;
  justify-content: center;
  }
  .form-section h2{display: flex;
  justify-content: center;
  align-content: center;}

  .buttons{position: relative;
  left: 20px;}
}