@import url("https://fonts.googleapis.com/css2?family=Poppins:weight@300;400;500;6000;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url("../images/loginbg.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #f0f0f0;
    margin: 0;
}

.wrapper {
	height: relative;
    width: 550px;
	position: relative; /* Added to ensure proper positioning of icons */
    text-align: center; /* Center align the form */
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(20px);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 10px 40px;
    
}

.wrapper h1 {
    font-size: 50px;
    text-align: center;
}

.wrapper .input-box {
    width: 100%;
    height: auto;
    margin: 30px 0px;
	font-size: 25px;
	color: forestgreen;
    position: relative;
}

.input-box input {
    width: calc(100% - 40px);
    height: 40px;
    background: transparent;
    border: none;
    outline: none;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 40px;
    font-size: 26px;
    color: #fff;
    padding: 10px 20px;
}

.input-box input::placeholder {
    color: #fff;
}

.input-box .toggle-password {
    position: absolute;
    right: center; /* Adjust right position as needed */
    top: center;
	vertical-align: middle;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1;
}

.input-box .toggle-password .bx {
    font-size: 20px;
    color: #fff;
}

.wrapper .remember-forget {
    display: flex;
    justify-content: space-between;
    font-size: 14.5px;
    margin: -15px 0 15px;
}

.remember-forget label input {
    accent-color: #fff;
    margin-right: 3px;
}

.remember-forget a {
    color: #fff;
    text-decoration: none;
}

.remember-forget a:hover {
    text-decoration: underline;
}

.wrapper .btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    cursor: pointer;
    font-size: 25px;
    color: #333;
    font-weight: 600;
}

.wrapper .register-link {
    font-size: 14.5px;
    text-align: center;
    margin: 20px 0 15px;
}

.register-link p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.register-link p a:hover {
    text-decoration: underline;
}

/* Button Styles */
.btn-home, .btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    outline: none;
}

.btn-home {
    position: absolute;
    top: 50px;
    left: 100px;
	font-size: 18px;
	font-weight: bold;
}

.btn:hover, .btn-home:hover {
    background-color: #45a049;
}

.btn-home:hover {
    background-color: #8CF342;
}

.btn:focus, .btn-home:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
    box-shadow: 0 0 5px rgba(0, 128, 0, 0.5);
}

/* Label Styles */
#school_name_label {
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-size: 25px;
}

/* Input Group Styles */
.input-group {
    position: relative;
}

/* Styles for input fields */
        .input-field {
            width: calc(100% - 40px); /* Adjust to accommodate toggle icon */
            padding-right: 40px; /* Space for toggle icon */
            border: 1px solid #ccc;
            border-radius: 5px; /* Rounded corners for all borders */
            padding: 10px;
            font-size: 14px;
            transition: border-radius 0.3s; /* Smooth transition for border-radius */
        }

 /* Ensure consistent appearance */
        input[type="password"],
        input[type="text"],
        select {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            width: 100%; /* Make all input fields and selects full width */
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 0; /* Reset border-radius for all */
            font-size: 18px;
            margin-bottom: 18px; /* Add margin between fields */
        }

        /* Remove default focus styles */
        input[type="password"]:focus,
        input[type="text"]:focus,
        select:focus {
            outline: none;
            border-color: #4CAF50;
            border-radius: 5px; /* Round corners on focus */
        }

/* Custom Arrow for Dropdown Lists */
.select-wrapper {
    position: relative;
	vertical-align: middle;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Toggle Password Visibility Icon */
.toggle-password {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 1;
}

.toggle-password .bx {
    font-size: 20px;
    color: #111010;
}

.input-box {
            display: inline-block;
            text-align: left; /* Align form elements to the left */
            width: 350px; /* Set a fixed width for the form */
            margin: 0 auto; /* Center the form horizontally */
        }
.large-label {
    font-size: 25px;
	font-weight: bold;
}