* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f0e8e8;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #006400;
    color: white;
    padding: 10px 0;
    text-align: center;
}

/* Navigation Styles */
.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.nav-bar ul {
    list-style-type: none;
    display: flex;
}

.nav-bar ul li {
    margin-left: 25px;
}

.nav-bar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #006400;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    max-width: 100px;
    height: auto;
}

.imgdiv {
    display: flex;
    align-items: center;
}

/* Styling for Navbar Link */
.navbar img#logo {
    height: 70px;
}

/* Logo styling */
.imgdiv img#logo {
    height: 40px;
    width: auto;
    margin-right: 10px; 
}

/* Text styling */
.cvsu-name h1 {
    font-size: 20px; 
    color: white;
    margin: 0;
}
.cvsu-name a {
    text-decoration: none;
}

.cvsu-name a:hover h1 {
    text-decoration: none;
}

.forgot-pass-container {
    text-align: center;
    max-width: 450px;
    margin: 40px auto;
    background-color: #fff;
    padding: 55px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.forgot-pass-container h2, .forgot-pass-container p {
    margin: 10px 0; 
    padding: 0; 
}

.forgot-password-buttons {
    text-align: center;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px; 
    width: 100%; 
    max-width: 100%; 
    flex-wrap: wrap; 
    margin-top: 1px;
    box-sizing: border-box;
}

.forgot-password-buttons button {
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
    background-color: rgb(214, 214, 214);
    padding: 12px 25px;
    border-radius: 10px;
    color: black;
    cursor: pointer;
    width: 150px; 
    height: 40px; 
    border: none;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    margin-bottom: 20px;
}

.forgot-password-buttons button:hover {
    background-color: rgb(197, 197, 197);
    transition: all 0.3s ease-in-out; 
}

.forgot-password-buttons button[type="submit"] {
    background-color: green; 
    color: white;
}

.forgot-password-buttons button[type="submit"]:hover {
    background-color: darkgreen; /* Apply different color when hover */
    transition: all 0.3s ease-in-out; 
}

.forgot-password-buttons button,
.forgot-password-buttons a {
    width: auto;
    max-width: 220px; 
    padding: 12px 25px; 
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
    background-color: rgb(214, 214, 214);
    border-radius: 10px;
    color: black;
    cursor: pointer;
    text-align: center;
    white-space: nowrap; 
    overflow: visible; 
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field input {
    background-color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid rgb(212, 212, 212);
    padding: 10px;
    font-size: 15px;
    width: 100%;
    padding: 10px 10px 10px 40px;
    font-size: 16px;
}

.input-field i {
    position: absolute; 
    left: 15px; 
    top: 43%; 
    transform: translateY(-50%); 
    color: #999; 
}

input:focus {
    border: 1px solid rgb(168, 168, 168);
    outline: none;
}

input {
    margin-top: 10px;
    margin-bottom: 20px;
}

hr {
    height: 1px;
    margin: 20px 0;
}

h2 {
    margin-top: 5px;
    margin-bottom: 10px;
}

/* Preloader styles */
#preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
#preloader.hide {
    opacity: 0;
    pointer-events: none;
}
