/* General Styles */

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }

  :root {
    --primary: #002357;
    --secondary: #d1634a;
  }

body {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    color: #fff;
    font-family: Arial, sans-serif;
    background: url('../img/school-face.jpg') no-repeat center center/cover;
    
  }

  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Dark overlay with 70% opacity */
    z-index: 1; /* Ensures the overlay is above the background but below content */
  }
  
  .login-container {
    text-align: center;
    position: relative; /* Remove absolute positioning */
    margin: auto; /* Ensure centering works */
    z-index: 1000;    /* content above the background and overlay */

    
  }
  
  .logo img {
    max-width: 200px;
    margin-bottom: 1rem;
  }

  .logo h3 {
    color: var(--primary);
  }

  
  .login-box {
    margin: 20px auto;
    background-color: var(--primary);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
    max-width: 500px;
  }
  
  .login-box h2 {
    margin-bottom: 20px;
  }
  
  .form-group {
    position: relative;
    margin-bottom: 35px;
    
  }
  
  /* Input Styles */
  input {
    width: 100%;
    padding: 10px 5px;
    font-size: 16px;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    outline: none;
  }
  
  input::placeholder {
    color: transparent;
  }
  
  /* Label Styles */
  .floating-label {
    position: absolute;
    top: 50%;
    left: 5px;
    font-size: 16px;
    color: #aaa;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.3s ease;
  }
  
  input:focus + .floating-label,
  input:not(:placeholder-shown) + .floating-label {
    top: -10px;
    font-size: 12px;
    color: var(--secondary);
  }
  
 

/* my custome select */


  
/* Selected Option */
/* Selected Option */
.dropdown-selected {
  color: var(--secondary);
}



 
  

 
 /* Button Styles */



 .login-button {
    width: 50%;
    padding: 10px;
    margin: 2rem 1rem auto;
    font-size: 16px;
    color: white;
    background-color: transparent;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    border-image: linear-gradient(90deg, var(--secondary), transparent, var(--secondary), transparent) 1;
    border-image-slice: 1;
    animation: draw-round 1s linear infinite;
  }
  
  .login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary);
    transition: width 0.3s ease;
    z-index: -1;
  }
  
  .login-button:hover::before {
    width: 100%;
  }
  
  .login-button:hover {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 0 8px var(--secondary);
  }
  
  .login-button:focus {
    outline: none;
  }
  
  .login-button-border {
    animation: draw-border 1s linear infinite;
  }
  
  @keyframes draw-round {
    0% {
      border-image-source: linear-gradient(90deg, var(--secondary), transparent);
    }
    25% {
      border-image-source: linear-gradient(180deg, var(--secondary), transparent);
    }
    50% {
      border-image-source: linear-gradient(270deg, var(--secondary), transparent);
    }
    75% {
      border-image-source: linear-gradient(360deg, var(--secondary), transparent);
    }
    100% {
      border-image-source: linear-gradient(90deg, var(--secondary), transparent);
    }
  }

  .forgot-pass{
    margin-top: 1rem;
  }

  .forgot-pass a{
    color: #fff !important;
    font-size: 12px;
    text-decoration: none;
    
  }

  .forgot-pass a:hover{
    color: var(--secondary)
    
  }