/* Container */
*, *::before, *::after {
    box-sizing: border-box;
}

.Content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 50px);
    background-color: #f9f9f9;
}

.Signin_Container {
    margin: 0;
    width: 80%;
    max-width: 900px;
    height: 500px;
    display: flex;
    border-radius: 15px;
    overflow: hidden;
}


.Signin_Form {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background-color: #ffffff;
    padding: 20px;
}


.Signin_Form h1 {
    font-size: 24px;
    color: #785B81;
}

.form-signin {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Labels */
.form-group label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 15pt;
    font-family: 'Nunito', sans-serif;
    text-align: center;
    color: #333;
}
/* Elements */
input[type="text"],
input[type="password"] {
    background-color: #f4edf7;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #CAA3D6;
    box-shadow: 0 0 5px rgba(202, 163, 214, 0.5);
    outline: none;
}

/* Button */
.btn-submit {
    background-color: #CAA3D6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16pt;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

.btn-submit:hover {
    background-color: #A3D6A5;;
    transform: scale(1.05);
}


div[style="color: red;"] {
    margin-top: 15px; 
    text-align: center;
}

.Signin_Image {
    width: 50%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/*Reponsive Design*/
@media (max-width: 768px) {
    .Signin_Container {
        flex-direction: column;
        width: 90%;
        height: auto;
    }

    .Signin_Form,
    .Signin_Image {
        width: 100%;
        height: auto;
    }

    .Signin_Form {
        padding: 24px;
    }

    .Signin_Image {
        display: none;
    }
}

@media (max-width: 576px) {
    .Content {
        min-height: calc(100vh - 130px);
        padding: 24px 0;
    }

    .Signin_Container {
        width: calc(100% - 32px);
    }
    .Signin_Form h1 {
        font-size: 20px;
    }

    .btn-submit {
        font-size: 14pt;
        padding: 10px 15px;
    }

    input[type="text"],
    input[type="password"] {
        padding: 10px;
    }

    .form-group label {
        font-size: 13pt;
    }
}

@media (max-width: 400px) {
    .Signin_Form h1 {
        font-size: 18px;
    }

    .form-group label {
        font-size: 12pt;
    }

    .btn-submit {
        font-size: 12pt;
        padding: 8px 12px;
    }
}
