* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
}

#background {
    background-color: #1a2a3a;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0px;
}

#background_left {
    background-color: #f0f5f0;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    position: relative;
}

#background_right {
    position: relative;
}

#login_box input,
.login_box input {
    width: 100%;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 20px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

#login_box input:focus,
.login_box input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

#login_box label,
.login_box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
label.login_box {
    color: #f2f2f2;
}

label.login_box.title {
    color: #ffffff;
    font-size: 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 40px;
}

.login_box.username_box,    
.login_box.password_box {
    margin-bottom: 25px;
}

label.login_box.text {
    color: #f2f2f2;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
}


.title-container {
    position: absolute;
    top: 60px;
    height: 50px;
}

.title-container.left {
    right: 30px;
    left: auto;
    text-align: right;
}

.title-container.right {
    left: 40px;
    right: 40px;
}

.title {
    font-size: 48px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 50px;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.title.left {
    color: #2d3e4f;
}

.title.right {
    color: #ffffff;
}

#icon {
    width: 320px;
    height: 320px;
    transition: all 0.3s ease;
    margin: auto;
}

#icon:hover {
    transform: translateY(-5px);
}



#login_box {
    width: 80%;
    max-width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}

.login_box {
    margin-bottom: 25px;
}


#login_box button,
.login_box button,
#login_box .login_button,
.login_box .login_button,
button.login_button {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

#login_box button:hover,
.login_box button:hover,
#login_box .login_button:hover,
.login_box .login_button:hover,
button.login_button:hover {
    background: linear-gradient(135deg, #43A047, #2E7D32);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    #background {
        grid-template-columns: 1fr;
    }

    #background_left {
        display: none;
    }

    #login_box {
        right: 50%;
        transform: translate(50%, -50%);
    }

    .title-container {
        left: 0;
        right: 0;
        text-align: center;
    }
}