﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    height: 100%;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 0px; /* Adjust based on spacing preference */
    background: url( '../images/backgrounds/1.png') no-repeat center;
    background-size: cover;
}

.logo-box {
    width: 400px; /* Match the login form width */
    height: 450px; /* Match the login form height */
    background-color: #FFFFFF; /* Adjust to match your login button color */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px; /* Optional: Match the login form styling */
}

    .logo-box img {
        max-width: 50%; /* Adjust based on your logo size preference */
        height: auto;
    }

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  
}

#loginForm {
    width: 400px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    padding: 40px;
    box-sizing: border-box;
    color: #fff;
}

.form-group {
    position: relative;
    margin-bottom: 35px;
}
   
    .form-group input {
        width: 100%;
        padding: 10px 10px 10px 5px;
        background: transparent;
        border: none;
        border-bottom: 2px solid #fff;
        outline: none;
        color: #fff;
        font-size: 16px;
    }

    .form-group label {
        position: absolute;
        top: 0;
        left: 5px;
        color: #fff;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .form-group input:focus ~ label,
    .form-group input:not(:placeholder-shown) ~ label {
        top: -20px;
        font-size: 12px;
    }

.login-button {
    width: 100%;
    padding: 10px;
    border-radius: 40px;
    border: none;
    background: #fff;
    color: #000;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
}

.error-message {
    margin-top: 20px;
    color: #ff4757;
}

/* Additional styles for visual enhancements */
h2 {
    text-align: center;
    margin-bottom: 20px;
}

.forget, .register {
    text-align: center;
    margin-top: 20px;
    color: #fff;
}

    .forget a, .register a {
        color: #fff;
        text-decoration: none;
    }

        .forget a:hover, .register a:hover {
            text-decoration: underline;
        }

.container {
    display: flex;
    justify-content: center; /* Adjust this to flex-start to align them to the start of the container */
    align-items: center;
    min-height: 100vh;
    gap: 0; /* Ensure no gap between elements */
}

.logo-box, .login-container {
    width: 400px; /* Ensure matching width */
    height: auto; /* Adjust height as needed, or use 'auto' */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -4px; /* Adjust or remove if not necessary */
    height: 321px;
}

.logo-box {
    background-color: #ffffff; /* Adjust to match your login button color */
    border-radius: 20px 0 0 20px; /* Adjust for rounded corners on the left side only */
}

.login-container {
    /* Adjustments for the login-container if needed */
    border-radius: 0 20px 20px 0; /* Adjust for rounded corners on the right side only */
}

.logo-box img {
    max-width: 80%; /* Adjust based on your logo size preference */
    height: auto;
}

/* Ensure box-sizing is applied */
*, *::before, *::after {
    box-sizing: border-box;
}
/* Chrome, Edge, and Safari */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    border-bottom: 2px solid #fff;
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Firefox */
input:-moz-autofill,
input:-moz-autofill:hover,
input:-moz-autofill:focus {
    border-bottom: 2px solid #fff;
    text-fill-color: #fff;
    box-shadow: 0 0 0px 1000px transparent inset;
}

/* General rule for autofilled inputs */
input:autofill {
    border-bottom: 2px solid #fff;
    text-fill-color: #fff;
    box-shadow: 0 0 0px 1000px transparent inset;
}
