@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

body {
    background-color: #454D55;
    height: 100vh;
}

.container {
    display: flex;
    height: 100%;
}

.image-section {
    flex: 1;
    background-image: url("../../images/background.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(3px);
    -webkit-filter: blur(3px);
    margin: -20px;
}

/* This ensures any content inside image-section appears above the blurred background */
.image-section > * {
    position: relative;
    z-index: 1;
}

.image-section img {
    /* border-radius: 50%; */
    width: 150px;
    height: 200px;
    margin-bottom: 20px;
}

.image-section h2 {
    color: white;
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    margin-top: 20px;
}

.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-header h1 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.subtitle {
    text-align: center;
    margin: 1rem 0;
    color: #777;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #555;
}

.remember-me input {
    margin-right: 0.5rem;
}

.login-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: #4D6BFE;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
    font-weight: 500;
}

.login-btn:hover {
    background-color: #3d57dd;
}

.signature {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #999;
}

.email-wrapper {
    position: relative;
}

.email-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

/* Password toggle eye icon */
.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

.brand-image {
    width: 30%;
    height: auto;
}

/* Responsive styles */
@media (max-width: 768px) {
    .image-section {
        display: none;
    }
    
    .login-section {
        flex: 0 0 100%;
        padding: 1rem;
    }
    
    .login-container {
        box-shadow: none;
        padding: 1.5rem;
    }
}