@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    min-height: 100vh;
    width: 100%;
    background: #acbfd9;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*
.container{
    width: 80%;
    background: #fff;
    border-radius: 8px;
    padding: 30px 60px 40px 40px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0);
}
*/
.container {
    width: 80%;
    background: linear-gradient(135deg, #ffffff, #ffffff);
    border-radius: 10px;
    padding: 30px 60px 40px 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.container .content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.container .content .left-side{
    width: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    position: relative;
}
.content .left-side::before{
    content: '';
    position: absolute;
    height: 70%;
    width: 2px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #afafb6;
}
.content .left-side .details{
    margin: 14px;
    text-align: center;
}
.content .left-side .details i{
    font-size: 30px;
    color: blue;
    margin-bottom: 10px;
}
.content .left-side .details .topic{
    font-size: 18px;
    font-weight: 500;
}
.content .left-side .details .text-one,
.content .left-side .details .text-two{
    font-size: 14px;
    color: #8a8a91;
}
.container .content .right-side{
    width: 75%;
    margin-left: 90px;
}
.content .right-side .topic-text{
    font-size: 23px;
    font-weight: 600;
    color: blue;
}
.right-side .input-box{
    height: 50px;
    width: 100%;
    margin: 12px 0;
}
.right-side .input-box input,
.right-side .input-box textarea{
    height: 100%;
    width: 100%;
    border: 2px solid #ccc;    
    font-size: 16px;
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px 10px 10px;
    resize: none;
    outline: none;
    transition: 0.3s;
}
.right-side .input-box input:focus,
.right-side .input-box textarea:focus {
    border: 2px solid blue;
    background: #fff;
}
.right-side .input-box input:hover,
.right-side .input-box textarea:hover {
    border: 2px solid blue;  /* Change border color when hovered */
}

.right-side .message-box{
    min-height: 110px;
    margin-top: 6px;
}
.right-side .button{
    display: inline-block;
    margin-top: 6px;
}
/*
.right-side .button input{
    color: #fff;
    font-size: 18px;
    outline: none;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    background: blue;
    cursor: pointer;
    transition: all 0.3s ease;
}
.right-side .button input:hover{
    background: #191999;
}
*/
.right-side .button input {
    color: #fff;
    font-size: 18px;
    outline: none;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    background: linear-gradient(45deg, blue, #191999);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.right-side .button input:hover {
    background: linear-gradient(45deg, #191999, blue);
    transform: scale(1.05);
}

/*GPT*/
.input-box {
    position: relative;
}

.input-box input,
.input-box textarea {
    height: 100%;
    width: 100%;
    border: none;
    font-size: 16px;
    background: #f0f1f8;
    border-radius: 8px;
    padding: 15px;
    resize: none;
    outline: none;
    transition: 0.3s;
}

.input-box label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #8a8a91;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    background: white; /* Fix label overlap */
    padding: 0 5px;
}

.input-box input:focus ~ label,
.input-box textarea:focus ~ label,
.input-box input:not(:placeholder-shown) ~ label,
.input-box textarea:not(:placeholder-shown) ~ label {
    top: 1px;
    font-size: 12px;
    color: blue;
    padding-left: 5px;
}

/*GPT*/
@media (max-width:950px ) {
    .container{
        width: 90%;
        padding: 30px 35px 40px 35px;
    }
}
@media (max-width:826px ) {
    .container{
        margin: 40px 0;
        height: 100%;
    }
    .container .content{
        flex-direction: column-reverse;
    }
    .container .content .left-side{
        width: 100%;
        flex-direction: row;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .container .content .left-side::before{
        display: none;
    }
    .container .content .right-side{
        width: 100%;
        margin-left: 0;
    }

}
/*GPT*/
@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 20px;
    }
    .content {
        flex-direction: column-reverse;
    }
    .left-side {
        width: 100%;
        text-align: center;
    }
    .right-side {
        width: 100%;
        margin-left: 0;
    }
    .input-box input,
    .input-box textarea {
        font-size: 14px;
        padding: 10px;
    }
}
@media (max-width: 600px) {
    .container {
        width: 95%;
        padding: 15px;
    }
    .right-side .button input {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}
