* {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

a {
    text-decoration: none;
}

.notice {
    font-size: 12px;
    background-color: white;
    color: red;
    text-align: center;
}

body {
    background: linear-gradient(to right, #061700, #52c234);
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.welcome {
    color: #fff;
    padding: 2em;
    text-align: center;
    letter-spacing: 0.4em;
    font-size: 14px;
}

/* Login Form Styling */
.loginForm, .signupForm {
    background-color: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company Logo */
.compLogo {
    text-align: center;
    margin-bottom: 1em;
}

.compLogo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-container input {
    width: 100%;
    height: 45px;
    outline: none;
    border: none;
    border-radius: 5px;
    padding-left: 40px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid #52c234;
    transition: all 0.3s ease;
}

.input-container input:focus {
    box-shadow: 0px 0px 5px rgba(82, 194, 52, 0.5);
    border-bottom: 2px solid #52c234;
}

.input-container .fa-envelope,
.input-container .fa-lock, 
.input-container .fa-user-shield {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #666;
}

.input-container .toggle-password {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

/* Submit Button */
#subBtn {
    height: 45px;
    cursor: pointer;
    background-color: #52c234;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#subBtn:hover {
    background: #3ea020;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

#subBtn:active {
    transform: scale(0.95);
}

/* Sign Up Link */
.signLink {
    text-align: center;
    margin-top: 1em;
}

.signLink a {
    background-color: #061700;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

/* Motto Styling */
.motto {
    font-family: "Urbanist", sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 12px;
    margin-top: 1em;
    
}

.admTitle {
    font-size: 14px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome {
        font-size: 12px;
        letter-spacing: 0.2em;
    }

    .loginForm, .signupForm {
        width: 95%;
    }

    .compLogo img {
        width: 80px;
        height: 80px;
    }

    .signLink {
        font-size: 12px;
    }

    .signLink a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .welcome {
        font-size: 10px;
    }

    form input, #subBtn {
        height: 40px;
        font-size: 14px;
    }

    .motto {
        font-size: 16px;
    }
}

/* Loader Animation */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
  }
  
  .alert {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
  }
  
  .success {
    color: green;
    background: #e6f9e6;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
  }
  
  .error {
      color: red;
      background: #ffe5e5;
      padding: 10px;
      border-radius: 5px;
      margin-bottom: 10px;
      text-align: center;
      font-weight: bold;
  }
  .info {
    color: blue;
    background: #e5f0ff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
  }