@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
}

:root {
    /* color */
    --backgroung-white: #FFFFFF;
    --white-color: #fff;
    --primary-color: #39A5F3;
    --secondary-color: #348BDB;
    --gray-color: #B1B1B1;
    --dark-color: #23262F;
    --dark-gray-color: #8E9295;
    --yellow-color: #fac53e;
    --light-gray-color: #D7D7D7;
    --black-color: #121212;
    --gray-background: #F9F9F9;
    --text-background-color: #EFEFEF;
    --text-color: #A0A0A5;


    /* border radius */
    --border-radius-5: 5px;
    --border-radius-8: 8px;
    --border-radius-10: 10px;

    /* box shadow */
    --box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);


    /* transition */
    --transition-200: all 200ms ease;
    --transition-300: all 300ms ease;
}


/* WELCOME SECTION */
.welcome_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    background-color: var(--backgroung-white);
}

.welocome_main {
    text-align: center;
    height: 100%;
    border-radius: var(--border-radius-5);
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    padding-bottom: 1rem;
}

.welocome_main .welcome_button_box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.welcome_button_box .login_btn {
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28.8px;
    letter-spacing: 0.20000000298023224px;
    background-color: var(--primary-color);
    text-decoration: none;
    color: var(--white-color);
    cursor: pointer;
    border: none;
    border-radius: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: var(--transition-200);
}

.welcome_button_box .login_btn:hover {
    opacity: .7;
}

.welcome_button_box .sign_up_btn {
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28.8px;
    letter-spacing: 0.20000000298023224px;
    margin-top: 1.5rem; 
    background-color: var(--backgroung-white);
    color: var(--gray-color);
    cursor: pointer;
    border: none;
    border: 1px solid var(--primary-color);
    border-radius: 1.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition: var(--transition-200);
}

.welcome_button_box .sign_up_btn:hover {
    opacity: .8;
}
/* WELCOME SECTION ENDS HERE */



/* TESTIMONIAL SECTION STARTS HERE */
.testimonial_area {
    margin-top: 1rem;
}

.testimonial_skip_box {
    text-align: right;
    padding-right: 2rem;
}
  
.testimonial_skip_box a {
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    cursor: pointer;
    color: var(--light-gray-color);
    text-decoration: none;
}

.testimonial_wrapper {
    max-width: 400px;
    margin-inline: auto;
    padding-inline: 1rem;
}

.testimonial {
    position: relative;
} 

.testimonial_card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    text-align: center;
    gap: 48px;
}

.roobo_image {
    width: 200px;
    height: auto;
    object-fit: cover;
}

.unlock_text_box h1 {
    font-family: "Urbanist",sans-serif;
    font-size: 33.9px;
    font-weight: 700;
    line-height: 50.85px;
    letter-spacing: -0.02em;
    color: var(--dark-color);
}
  
.unlock_text_box p {
    font-family: "Urbanist", sans-serif;
    font-size: 16.3px;
    font-weight: 300;
    line-height: 28.94px;
    color: var(--dark-gray-color);
}

.testimonial_card_group {
    position: relative;
}

.indicator {
    position: absolute;
    top: 51%;
    left: 45%;
    z-index: 1;
}

.indicator_main {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 5px;
}

.indicator .indicator_main div {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d7d7d7;
    cursor: pointer;
}

.indicator .indicator_main div.active {
    background-color: #f2c94c;
}
  
.testimonial_navigator {
   text-align: center;
   display: flex;
   align-items: center;
   justify-content: center;
   margin-top: 3rem;
}

.testimonial_navigator .testimonial_arrow_box {
    box-shadow: var(--box-shadow);
    background-color: var(--backgroung-white);
    padding: 0.8rem 1.5rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.3rem;
    border-radius: var(--border-radius-8);
    position: relative;
}

.testimonial_navigator .testimonial_arrow_box::before {
    content: "";
    position: absolute;
    top: 0.7rem;
    bottom: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1.3rem;
    background-color: var(--dark-gray-color);
}

.testimonial_navigator .testimonial_arrow_box button {
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-200);
}

.testimonial_navigator .testimonial_arrow_box button.inactive {
    opacity: 0.5;
    pointer-events: none;
}

.testimonial_navigator .testimonial_arrow_box button span:hover {
    color: var(--primary-color);
}
/* TESTIMONIAL SECTION ENDS HERE */



/* HISTORY SECTION STARTS HERE */
.history_overall_container {
    width: 100%;
    height: 100%;
}

.history_main {
    width: 100%;
    height: 100%;
    display: none;
    background-color: var(--backgroung-white);
}

.history_main .history_contents_box {
    padding: 0.5rem 1rem 0.7rem;
}

.history_main .history_contents_box .history_head {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.history_contents_box .history_head h4 {
    font-family: "Urbanist", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.2px;
    color: var(--black-color);
}

.history_contents_box .history_head .svg_box svg {
    cursor: pointer;
}

.history_contents_box .search_container {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1.3rem;
    padding-bottom: 1rem;
}

.history_contents_box .search_container .search_box {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
    background-color: var(--gray-background);
    padding: 0.3rem 0.4rem;
    border-radius: var(--border-radius-8);
    width: 90%;
}

.history_contents_box .search_container .search_box input {
    border: none;
    background: none;
    outline: none;
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    color: var(--dark-color);
    width: 100%;
}

.history_contents_box .search_container .search_box input::placeholder {
    font-family: "Urbanist", sans-serif;
}

.history_contents_box .search_container button {
    background-color: var(--secondary-color);
    border: none;
    padding: 0.6rem 0.8rem;
    border-radius: var(--border-radius-8);
    cursor: pointer;
    transition: var(--transition-200);
}

.history_contents_box .search_container button:hover {
    opacity: .8;
}

.history_contents_box .texts_main {
    margin-top: 1.7rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    height: 77vh;
    padding-bottom: 1rem;
}

.history_contents_box .texts_main::-webkit-scrollbar {
    display: none;
}

.history_contents_box .texts_main h4 {
    margin-bottom: 0.6rem;
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--dark-color);
}

.text-box {
    border-radius: var(--border-radius-5);
    padding: 0.6rem 0.4rem 0.6rem 0.6rem;
    text-align: left;
    margin-bottom: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor:pointer;
}

.text-box p {
    outline: none;
    border: none;
    font-family: "Urbanist", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: var(--text-color);
    letter-spacing: 0.2PX;
    cursor:pointer;
}

.history_bottom {
    border-top: 1px solid var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: var(--backgroung-white);
    padding-top: 0.8rem;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
}

.history_bottom .icon-container svg {
    position: relative;
    cursor: pointer;
}

.history_bottom .icon-container svg.active path {
    fill: black;
}

.history_bottom .icon-container {
    position: relative;
    padding-bottom: 0.7rem;
}

.history_bottom .icon-container .circle {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--black-color);
    display: none;
    transform: translateX(100%);
}

.history_bottom svg.active + .circle {
    display: block; 
}
/* HISTORY SECTION ENDS HERE */





/* ASK BOT SECTION STARTS */
.ask_bot_overall_container {
    width: 100%;
    height: 100%;
}

.ask_bot_main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    padding: 0rem 1rem 0.7rem;
    position: relative;
}

.ask_bot_top-bar {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    position: sticky;
    padding-top: 0.5rem;
    top: 0;
    z-index: 9999;
    background-color: var(--backgroung-white);
}

.delete_conte {
    cursor:pointer;
    position: absolute;
    right: 0.3rem;
    top: 5.6rem;
    display: none;
}

.delete_conte .delete_main {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.3rem;
    background-color: var(--backgroung-white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-5);
    padding: 0.6rem;
    cursor: pointer;
}

.delete_conte .delete_main img {
    width: 18px;
    height: 18px;
}

.delete_conte .delete_main span {
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.13999329507350922px;
    color: #000000;
}

.rename_conte {
    cursor:pointer;
    position: absolute;
    right: 0.3rem;
    top: 2.5rem;
    display: none;
}

.rename_conte .rename_main {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.3rem;
    background-color: var(--backgroung-white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-5);
    padding: 0.6rem;
    cursor: pointer;
}

.rename_conte .rename_main img {
    width: 18px;
    height: 18px;
}

.rename_conte .rename_main span {
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.13999329507350922px;
    color: #000000;
}

.logout_conte {
    position: absolute;
    right: 0.3rem;
    top: 8.8rem;
    display: none;
    cursor:pointer;
}

.logout_conte .logout_main {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.3rem;
    background-color: var(--backgroung-white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-5);
    padding: 0.6rem;
    cursor: pointer;
}

.logout_conte .logout_main img {
    width: 18px;
    height: 18px;
}

.logout_conte .logout_main span {
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.13999329507350922px;
    color: #000000;
}

.ask_bot_top-bar a {
    text-decoration: none;
}

.ask_bot_top-bar .ask_bot svg {
    cursor: pointer;
}

.ask_bot_content {
    text-align: center;
}

.ask_bot_content h1 {
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 28.8px;
    color: #000000;
    letter-spacing: 0.2px;
}

.send_message_box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    background-color: white;
}

.chatarea_container {
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 3rem;
    height: 100%;
    display: none;
    position: relative;
    overflow-y: auto;
}

.chatarea_container::-webkit-scrollbar {
    display: none;
}

.chatarea_main_box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.chatarea_main_box .chatarea_textbox1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.chatarea_main_box .chatarea_textbox1 p {
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    text-align: left;
    color: var(--text-color);
}

.chatarea_main_box .chatarea_textbox1 .image_2 {
    cursor: pointer;
}

.chatarea_main_box .chatarea_textbox1 .image_2:hover + .edit_popup_cont {
    display: block;
}

.chatarea_textbox1 .edit_popup_cont {
    position: absolute;
    right: 0;
    top: 3rem;
    display: none;
}

.chatarea_textbox1 .edit_popup_cont span {
    background-color: var(--yellow-color);
    border-radius: var(--border-radius-5);
    padding: 0.6rem 0.6rem;
    position: relative;
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.13999329507350922px;
    color: #000000;
}

.chatarea_textbox1 .edit_popup_cont span::after {
    content: '';
    width: 1.2rem;
    height: 1.2rem;
    background: var(--yellow-color);
    position: absolute;
    left: 50%;
    top: 1.2%; 
    transform: translate(-50%, -50%) rotate(45deg); 
    z-index: 1; 
}

.response_box {
    background-color: #f7f7f7;
    padding: 1rem 1rem 2rem;
    margin-top: 2rem;
}

.response_box .response_chat {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
}

.response_chat .share_copy_box img,
.response_chat .share_copy_box svg {
    cursor: pointer;
}

.regenerate-svg-box img {
    width: 27px;
    height: 27px;
}

.response_chat .share_copy_box .share_image_box {
    position: relative;
}

.response_chat .share_copy_box {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem;
    position: relative;
}

.regenerate-svg_p_box {
    position: absolute;
    right: 1.8rem;
    top: 3.3rem;
    display: none;
}

.regenerate-svg_p_box span,
.regenerate-copy_p_box span {
    background-color: var(--yellow-color);
    border-radius: var(--border-radius-5);
    padding: 0.6rem 0.6rem;
    position: relative;
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.13999329507350922px;
    color: #000000;
}

.regenerate-svg_p_box span::after {
    content: '';
    width: 1.2rem;
    height: 1.2rem;
    background: var(--yellow-color);
    position: absolute;
    left: 50%;
    top: 1.2%; 
    transform: translate(-50%, -50%) rotate(45deg); 
    z-index: 1; 
}

.regenerate-copy_p_box {
    position: absolute;
    top: 3.3rem;
    right: -0.7rem;
    display: none;
}

.regenerate-copy_p_box span::after {
    content: '';
    width: 1.2rem;
    height: 1.2rem;
    background: var(--yellow-color);
    position: absolute;
    left: 50%;
    top: 1.2%; 
    transform: translate(-50%, -50%) rotate(45deg); 
    z-index: 1; 
}

.share_image_box .share_dropdown_contain {
   position: absolute;
   right: 0.1rem;
   top: 2rem;
   display: none;
}

.share_image_box .share_dropdown_contain.show {
    display: block;
}

.share_dropdown_contain .share_dropdown_main {
    border: 1px solid  var(--dark-color);
    border-radius: var(--border-radius-5);
    width: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--backgroung-white);
}

.share_dropdown_contain .share_dropdown_main a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px;
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 17.55px;
    letter-spacing: 0.3px;
    color: #343437;
    transition: var(--transition-200);
}

.share_dropdown_contain .share_dropdown_main a:hover {
    background-color: var(--dark-gray-color);
    color: var(--white-color);
}

.share_dropdown_contain .share_dropdown_main a .twitter_svg {
    width: 14px;
    height: 14px;
}

.chatarea_main_box .response_text_box {
    margin-top: 1rem;
}

.chatarea_main_box .response_text_box p {
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
    letter-spacing: 0.13999329507350922px;
    text-align: left;
    color: #494949;
}

.response_text_box ol,
.response_text_box ul {
  padding-left: 1.5rem;
  list-style-position: inside;
  margin-left: 0;              
}

.response_text_box li {
  word-wrap: break-word;
  overflow-wrap: break-word;
}


.chatarea_container .regenerate_response_box button span {
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20.75px;
    letter-spacing: 0.3px;
    color: #000000;
}

.send_message_box form .inputs-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    border: 1px solid var(--text-color);
    border-radius: var(--border-radius-5);
    background-color: var(--backgroung-white);
    width: 100%;
    padding: 0.9rem 1rem;
    gap: 0.6rem;
}

.send_message_box form .inputs-box textarea {
    border: none;
    outline: none;
    resize: none;
    width: 100%;
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-size: 700;
    color: var(--black-color);
}

.send_message_box form .inputs-box textarea::placeholder {
    color: #A3A3A8;
}

.send_message_box form .inputs-box button {
    background: none;
    cursor: pointer;
    padding-top: 0.3rem;
    border: none;
}
/* ASK BOT SECTION ENDS HERE */




/* MEDIA STYLES GOES HERE */
@media (max-width: 425px) {
    .welocome_main {
        width: 100%;
    }

    .history_contents_box .texts_main {
        padding-bottom: 1.6rem;
        overflow-y: auto;
        height: 77vh;
    }
}

@media (max-width: 320px) {   
    .unlock_text_box h1 {
        font-size: 30px;
    }   
}

/* Full‑screen translucent overlay */
.rename-modal-overlay, .delete-modal-overlay, .logout-modal-overlay  {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    }
    .rename-modal-overlay.hidden, .delete-modal-overlay.hidden, .logout-modal-overlay.hidden {
    display: none;
}

/* Modal box */
.modal {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    width: 320px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-align: center;
}

.modal__title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: #333;
}

.modal__input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
}

.modal__actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn--primary {
    background-color: #317db9;
    color: #fff;
}
.btn--primary:hover {
    background-color:rgb(10, 65, 107);
}
.btn--secondary {
    background-color: #f7f7f7;
}
.btn--secondary:hover {
    background-color: #5a6268;
    color: #ffff;
}