/* GLOBAL STYLES */
*,
*:after,
*:before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: url("img/bgmain.jpg") no-repeat fixed center;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.title {
    text-align: center;
    margin-bottom: 20px;
}

.title h1 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
}

.title p {
    font-family: 'Courier New', Courier, monospace;
    color: #aaa;
    margin-top: 5px;
}

/* FORM STYLING */
.form-1 {
    width: 350px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-1 .field {
    position: relative;
}

.form-1 .field i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.form-1 input[type="text"],
.form-1 input[type="password"] {
    width: 100%;
    padding: 12px 45px;
    font-size: 14px;
    font-weight: 300;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: 0.3s ease-in-out;
}

.form-1 input[type="text"]:focus,
.form-1 input[type="password"]:focus {
    border: 1px solid #42A2BC;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.form-1 input[type="text"]::placeholder,
.form-1 input[type="password"]::placeholder {
    color: #ccc;
}

/* Submit Button */
.form-1 .submit [type="submit"]{
    width: 100%;
    padding: 12px; /* Adjust padding for the button */
    background: #42A2BC; /* Button color */
    border-radius: 5px; /* Rounded corners */
    border: none; /* No border */
    color: #fff; /* Text color */
    font-size: 16px; /* Font size */
    font-weight: 600; /* Font weight */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background 0.3s ease; /* Transition effect */
    margin-top: 10px; /* Space between the last input and button */
}

.form-1 .submit:hover {
    background: #52cfeb; /* Hover color */
    
}

/* Buttons for Forgot Password and Back to Page */
.extra-buttons {
    display: flex;
    justify-content: space-between; /* Keep buttons spaced out */
    gap: 10px;
    margin-top: 20px; /* Increase space from the login box */
}

.extra-buttons .btn {
    flex: 1; /* Ensure buttons take equal space */
    padding: 10px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    text-align: center; /* Center the text horizontally */
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s ease;
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center the text vertically */
    justify-content: center; /* Center the text horizontally */
}

.extra-buttons .btn:hover {
    background-color: #42A2BC;
}

/* Footer text for register link */
.form-1 .footer-text {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 20px;
}

.form-1 .footer-text a {
    color: #42A2BC;
    text-decoration: none;
}

.form-1 .footer-text a:hover {
    text-decoration: underline;
}