.content_section {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.content_section .content-title {
    text-align: center;
    font-family: var(---font-family);
    font-size: 37px;
    color: var(---text-color);
    padding: 40px 0;
}
.content {
    display: flex;
    gap: 30px;
}
.leftsection_content,
.rightsection_content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leftsection_content,
.rightsection_content {
    flex-basis: 50%;
}
.leftsection_content {
    display: flex;
    justify-content: center;
    align-items: center;
}
.splide {
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    object-fit: cover;
}
.splide__track {
    position: relative;
    overflow: hidden;
}
.splide__list {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}
.splide__slide {
    min-width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}
.splide__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.box {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    background-color: var(---form-bg-color);
}
.box h2 {
    font-size: 32px;
    font-family: var(---font-family);
    color: var(---font-color);
    padding-top: 30px;
    padding-left: 30px;
}
.box form {
    padding: 30px 30px 0 30px;
}
.form-group {
    margin-bottom: 20px;
}
.group {
    position: relative;
}
.forgot_text {
    font-family: var(---font-family);
    font-size: 16px;
    text-align: right;
    margin-bottom: 10px;
    padding-right: 5px;
}
.signup_text {
    font-family: var(---font-family);
    font-size: 16px;
    text-align: right;
    margin-bottom: 20px;
    padding-right: 5px;
}
.forgot_text a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}
.signup_text a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}
.forgot_text a:hover {
    text-decoration: underline;
}
.signup_text a:hover {
    text-decoration: underline;
}
button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: #0056b3;
}
.form-group-button {
    display: flex;
    gap: 10px;
}
.form-group-button button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button[type="search"] {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button[type="cancel"] {
    padding: 10px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* ADDED */

.form-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.floating-label {
    position: relative;
    display: block;
}

.group {
    font-family: var(---font-family);
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.group i {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #666;
    transition: color 0.3s ease;
}

.group input {
    width: 100%;
    padding: 10px 10px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.group select {
    width: 100%;
    padding: 10px 10px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.group input:focus {
    border-color: #007bff;
}

.floating-label label {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 16px;
    color: #ccc;
    pointer-events: none;
    transition: all 0.3s ease;
}

.group input:focus + label,
.group input:not(:placeholder-shown) + label {
    top: -15px;
    font-size: 12px;
    color: #007bff;
}

.group input:focus ~ i {
    color: #007bff;
}

/* Mobile */
@media (max-width: 479px) {
    .content_section {
        /* border: 3px solid green; */
        max-width: 400px;
        height: auto;
        padding: 0 10px;
        margin: 0;
    }
    .content {
        flex-direction: column-reverse;
        gap: 10px;
        height: auto;
    }
    .leftsection_content,
    .rightsection_content {
        padding: 10px;
    }
    .splide {
        height: auto;
    }
    .box h2 {
        font-size: 18px;
    }
    input[type="text"],
    input[type="password"] {
        width: 90%;
    }
    button[type="submit"] {
        font-size: 14px;
    }
}

/* Mobile devices (max-width: 768px) */
@media screen and (max-width: 768px) {
    .content_section {
        max-width: 100%;
        padding: 0 10px;
    }
    .content {
        flex-direction: column-reverse;
        height: auto;
        gap: 15px;
    }
    .leftsection_content,
    .rightsection_content {
        flex-basis: 100%;
        height: auto;
        padding: 0 10px;
    }
    .box h2 {
        font-size: 24px;
    }
    .box {
        width: 100%;
        padding: 15px;
    }
    input[type="text"],
    input[type="password"] {
        width: 90%;
    }
    .splide {
        height: auto;
    }
    .splide__slide {
        min-width: 100%;
    }
}

/* Tablets (768px - 1200px) */
@media screen and (max-width: 1200px) and (min-width: 768px) {
    .content_section {
        /* border: 3px solid green; */
        max-width: 100%;
        padding: 0 20px;
    }
    .content {
        /* border: 2px solid red; */
        flex-direction: row;
        height: auto;
        gap: 20px;
    }
    .box h2 {
        font-size: 28px;
    }
    .splide {
        height: auto;
    }
    .box {
        width: 100%;
        padding: 15px;
    }
    input[type="text"],
    input[type="password"] {
        width: 90%;
    }
}

/* Default for large screens (desktops) */
@media screen and (min-width: 1200px) {
    .content_section {
        max-width: 1400px;
        flex-direction: column;
    }
    .content {
        flex-direction: row;
        /* height: 550px; */
    }
}

/* .content_section .content-title {
    text-align: center;
    font-family: var(---font-family);
    font-size: 37px;
    color: var(---text-color);
}
.content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
}
.content .content_left,
.content .content_right {
    grid-column: span 6;
}
.splide{
    display: flex;
    justify-content: center;
    align-items: center;
}
.splide__track .splide__list{
    display: flex;
    text-align: end;
}
.splide__track img{
    margin-right: 100px;
}
.box {
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    background-color: var(---form-bg-color);
}
.box h2 {
    font-size: 32px;
    font-family: var(---font-family);
    color: var(---font-color);
    padding-left: 30px;
}
.box form {
    padding: 30px;
}
.form-group {
    margin-bottom: 20px;
}
.group {
    position: relative;
}
.group i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}
input[type="text"],
input[type="password"] {
    width: 90%;
    padding: 10px 10px 10px 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
}
.forgot_text {
    font-family: var(---font-family);
    font-size: 16px;
    text-align: right;
    margin-bottom: 20px;
}
.forgot_text a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}
.forgot_text a:hover {
    text-decoration: underline;
}
button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: #0056b3;
}


.form-group-button{
    display: flex;
    gap: 10px;
}

.form-group-button button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button[type="search"] {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button[type="cancel"] {
    padding: 10px;
    background-color: #666;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}



@media only screen and (max-width: 600px) {
    main {
        width: 100%;
        padding: 0 15px;
    }

    .content {
        grid-template-columns: 1fr;
    }
    
    .content .content_left,
    .content .content_right {
        grid-column: span 12;
    }

    .splide__track img {
        margin-right: 20px;
    }

    .box {
        width: 100%;
        padding: 10px;
    }

    input[type="text"],
    input[type="password"] {
        width: 100%;
    }

    .form-group-button {
        flex-direction: column;
    }

    button[type="submit"],
    button[type="search"],
    button[type="cancel"] {
        width: 100%;
    }
}

@media only screen and (min-width: 601px) and (max-width: 1024px) {
    main {
        width: 100%;
        padding: 0 30px;
    }

    .content {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .content .content_left,
    .content .content_right {
        grid-column: span 6;
    }

    .splide__track img {
        margin-right: 50px;
    }

    .box {
        width: 100%;
        padding: 20px;
    }

    input[type="text"],
    input[type="password"] {
        width: 95%;
    }

    .form-group-button {
        gap: 5px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1400px) {
    main {
        width: 100%;
        padding: 0 40px;
    }

    .content {
        grid-template-columns: repeat(12, 1fr);
        gap: 15px;
    }

    .content .content_left,
    .content .content_right {
        grid-column: span 6;
    }

    .splide__track img {
        margin-right: 80px;
    }

    .box {
        width: 95%;
    }

    input[type="text"],
    input[type="password"] {
        width: 90%;
    }

    .form-group-button {
        gap: 10px;
    }
} */
