/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #191C19;
    color: #191C19;
  }
  
  * {
    box-sizing: border-box;
  }
  
  a {
    text-decoration: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Main Container */
  .min-h-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #191C19;
  }
  
  .login-container {
    position: relative;
    width: 90%;
    max-width: 480px;
    min-height: 600px;
    height: auto;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 24px 32px;
  }
  
  /* Top and Bottom Vectors */
  .top-vector {
    position: absolute;
    top: -5px;
    left: -8px;
    width: 100px;
    height: auto;
    animation: moveAndPulse 4s ease-in-out infinite;
  }
  
  .bottom-vector {
    position: absolute;
    width: 200px;
    height: auto;
    top: 40px;
    left: 140px;
  }
  
  /* Content Container */
  .login-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 80px;
    padding-top: 40px; /* Added padding-top to create space for the logo */
  }
  
  .login-container .logo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    max-width: 150px;
  }
  
  .login-container h2 {
    font-size: 24px;
    font-weight: 600;
    color: #191C19;
    padding-top: 70px;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .login-content input {
    width: 100%;
    height: 48px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 24px;
  }
  
  .login-content input:focus {
    outline: none;
    border-color: #27DE7D;
  }
  
  .social-links-label {
    font-size: 0.875rem;
    margin-bottom: 8px;
  }
  
  .social-links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
  }
  
  .create-account-btn {
    width: 100%;
    height: 48px;
    padding: 12px;
    background-color: #27DE7D;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 24px;
  }
  
  .create-account-btn:hover {
    background-color: #20C870;
  }
  
  .link-group {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 32px;
  }
  
  .link-group a {
    color: #14673C;
  }
  
  .login-footer {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    text-align: center;
    color: #757874;
    margin-top: 0;
  }
  
  .login-footer a {
    color: #14673C;
    font-weight: 500;
    margin-left: 4px;
  }
  
  /* Animations */
  @keyframes moveAndPulse {
    0%, 100% {
      transform: translate(0, 0) scale(1);
    }
    50% {
      transform: translate(10px, -10px) scale(1.05);
    }
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    .login-container {
      padding: 24px;
    }
  
    .login-container h2 {
      font-size: 1.5rem;
    }
  
    .login-content input,      
    .create-account-btn {
      font-size: 0.875rem;
    }
  
    .social-links-container {
      grid-template-columns: 1fr;
    }
  }
 
  @media (max-width: 480px) {
    .login-container {
      width: 100%;
      padding: 16px;
      border-radius: 0;
    }
  
    .login-content input,
    .create-account-btn {
      font-size: 0.8rem;
      padding: 10px;
    }
  
    .login-footer {
      font-size: 0.75rem;
    }
  
    .bottom-vector {
      width: 150px;
    }
  
    .top-vector {
      width: 100px;
    }
    .login-container .logo {
      position: absolute;
       padding-left: 20%;
        max-width: 170px; 
      }
    }
  






/* رسالة النجاح والطبقة الشفافة */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 5;
}



  .error-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  z-index: 1001;
}

.error-icon {
  width: 3rem;
  height: 3rem;
  color:  #dc3545;
  margin-bottom: 1rem;
}



.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  z-index: 1001;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}


.check-box-text {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cont {
  display: flex;
  align-items: center;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 5px;
  display: inline-block;
  position: relative;
  background-color: #F2ECFF;
  border-radius: 15%;
  cursor: pointer;
  overflow: hidden;
}