@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900; 
    font-style: normal;
}

* {
    box-sizing: border-box;
    font-family: 'CustomFont', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Noto Sans CJK JP", メイリオ, sans-serif;
    /* font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Noto Sans CJK JP", メイリオ, sans-serif; */
}

@font-face {
    font-family:'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/NotoSansJP-Regular.woff2") format("woff2"),
         url("../fonts/NotoSansJP-Regular.woff") format("woff"),
         url("../fonts/NotoSansJP-Regular.otf") format("opentype");
}

@font-face {
    font-family:'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/NotoSansJP-Bold.woff2") format("woff2"),
         url("../fonts/NotoSansJP-Bold.woff") format("woff"),
         url("../fonts/NotoSansJP-Bold.otf") format("opentype");
}

.chat-gpt-main {
    width: 100%;
    padding-top: 82px; /* Header height for mobile */
    padding-bottom: 140px; /* Approximate footer height */
    overflow-x: hidden;
    height: 100vh;
    min-height: calc(100vh - 82px - 140px);
    box-sizing: border-box;
}

.chat-gpt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    max-width: 968px;
    width: 100%;
    position: relative;
}

@media screen and (max-width: 767px) {
    .chat-gpt-main {
        padding-top: 56px;
        padding-bottom: 120px;
        height: calc(100vh - 56px - 120px);
        min-height: calc(100vh - 56px - 120px);
    }
    
}

@media screen and (min-width: 768px) {
    .chat-gpt-container::-webkit-scrollbar {
        display: none; /* Hide scrollbar for container */
    }
}

.chat-gpt-input-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #fff;
    z-index: 9999;
    /* Ensure input container is always visible */
    min-height: 60px;
}

.optimism-signage .chat-gpt-input-container {
    display: none;
}

.chat-gpt-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.chat-gpt-wrap.chat-gpt-wrap--is-error {
    padding: 40px;
}

#default-server-message-1, #default-server-message-2 {
    display: none;
}

#default-server-message-1 {
    margin-bottom: 16px;
}

#default-server-message-1 span,
.disclaimer-text-message {
    font-size: 12px;
    color: #676767;
    line-height: 1.4;
}

.disclaimer-text-message b {
    font-size: 12px !important;
    color: #000;
}

.disclaimer-text-message a {
    font-size: 12px !important;
}

.disclaimer-text-message {
    margin-top: 15px;
}

#default-server-message-1 .beta-disclaimer {
    font-size: 12px !important;
}

@media screen and (max-width: 767px) {
    #default-server-message-1 {
        margin-bottom: 12px;
    }
}

/* css for botTyping */

.botTyping {
    margin-top: 5px;
    background: #F0F7FF;
    color: #019FD3;
    box-shadow: 2px 3px 9px 0px #9a82847a;
    margin-left: 20px;
    padding: 15px;
    border-radius: 0 20px 20px 20px;
    max-width: 60%;
    min-width: 20%;
    word-wrap: break-word;
    border-radius: 0 20px 20px 20px;
}

.botTyping > div {
    width: 10px;
    height: 10px;
    background-color: #019FD3;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    margin-right: 5px;
}

.botTyping .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.botTyping .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/* arrow css */
#go-bottom {
    position: absolute;
    right: 10px;
    bottom: 83px;
    display: none;
    margin-right: 20px;
    z-index: 10;
    border-radius: 16px;
    background: #f2f4fa;
}

#go-bottom > i {
    font-size: 5em;
}

@media screen and (min-width: 768px) {
    .chat-gpt-wrap.chat-gpt-wrap--is-error {
        min-height: calc(100vh - 202px);
        padding-top: 136px;
    }
}

.chat-gpt-inner {
    flex-grow: 1;
    width: 100%;
    max-width: 968px;
    padding: 0 16px 80px;
}

@media screen and (max-width: 767px) {
    .chat-gpt-inner {
        width: 100%;
        max-width: none;
        padding: 0 16px 44px;
    }
}

.messages-container {
    flex-grow: 1; /* Take all available space */
    width: 100%;
    max-width: 968px;
    padding: 8px;
}

/* Webkit scrollbar styling for messages container */
.messages-container::-webkit-scrollbar {
    width: 6px;
}

.messages-container::-webkit-scrollbar-track {
    background: transparent;
}

.messages-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

@media screen and (max-width: 767px) {
    .messages-container {
        padding: 8px;
    }
}

.message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    width: 100%;
}

.server-message {
    flex-direction: column;
}

.message .chat-gpt-message-inner {
    margin-left: 16px;
}

@media screen and (max-width: 767px) {
    .message {
        margin-bottom: 12px;
    }

    .message .chat-gpt-message-inner {
        margin-left: 8px;
    }
}

.chat-gpt-message-inner {
    width: 100%;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 0;
    font-size: 14px;
}

.user-message {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.user-message .chat-gpt-message-inner {
    color: #fff;
    background-color: #FFF2F9;
    width: auto;
    color: #333;
}

@media screen and (max-width: 767px) {
    .chat-gpt-message-inner {
        padding: 16px;
    }

    .server-message .chat-gpt-message-inner {
        padding:6px 16px 6px 0px
    }
}

.input-container {
    display: flex;
    width: 100%;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}

.input-text__block {
    /* width: 100%; */
    width: calc(100% - 92px);
    max-width: 934px;
    display: flex;
    position: relative;
}

@media screen and (max-width: 767px) {
    .input-text__block {
        width: calc(100% - 14px);
    }
}

.chat-gpt-input {
    flex-grow: 1;
    font-size: 16px;
    line-height: 1.5;
    padding: 16px 70px 16px 10px;
    border-radius: 360px;
    outline: none;
    resize: none;
    overflow: hidden;
    height: 56px;
    min-height: 56px;
    max-height: 224px;
    position: relative;
    border-image-source: linear-gradient(317.48deg, #FF008C -53.67%, #FFFFFF 76.57%);
    /* background: linear-gradient(149.26deg, #FFFFFF -20.56%, #FFE8E8 370.75%); */
    box-shadow: 0px 2px 6px 0px #FF70704D;
    font-family: 'CustomFont', "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "Noto Sans CJK JP", メイリオ, sans-serif;
}

.chat-gpt-input__submit {
    position: absolute;
    bottom: 5px;
    right: 0;
    padding: 0 10px 0 0;
    box-sizing: content-box;
    cursor: pointer;
}
.voice-input-button-image-small {
    display: none;
}

.input-container-plus {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    display: none;
}
.price_simulation .input-container-plus {
    display: flex;
}
.price_simulation .chat-gpt-input-container {
 padding-left: 0;
}
#js-gnavi {
    display: none;
}
.price_simulation #chat-gpt-header {
    display: none;
}
.price_simulation #js-gnavi {
    display: block;
}
.plus-button {
    cursor: pointer;
}
.plus-button-active {
    background-color: #FFF2F2;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.plus-button-active img {
    transform: rotate(45deg);
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}
.plus-menu {
    position: absolute;
    bottom: 70px;
    left: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 5px 0;
    z-index: 1000;
}

.plus-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 15px;
    cursor: pointer;
}
.plus-menu-item span {
    font-size: 14px;
    font-weight: 600;
}

.menu-item:hover {
    background: #f0f0f0;
}
@media screen and (max-width: 767px) {
    .chat-gpt-input {
        padding: 16px 50px 16px 10px;
    }

    .chat-gpt-input__submit {
       padding: 0 10px 0 0;;
    }
    .price_simulation .input-container-plus{
        padding: 1rem;
    }
}

.chat-user-icon {
    width: 56px;
    height: 56px;
    margin-left: 8px;
}

.chat-gpt-profile-icon,
.chat-gpt-user-icon {
    width: 64px;
    height: 64px;
}

@media screen and (max-width: 767px) {
    .chat-gpt-profile-icon,
    .chat-gpt-user-icon {
        width: 32px !important;
        height: 32px !important;
    }
}

.chat-gpt-message-text {
    word-break: break-word;
}

.chat-gpt-hdg-lv2 {
    font-size: 25px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.chat-gpt-hdg-lv3 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

@media screen and (max-width: 767px) {
    .chat-gpt-hdg-lv2 {
        font-size: 17px;
        text-align: left;
        margin: 0 0 12px 0;
    }

    .chat-gpt-hdg-lv3 {
        font-size: 14px;
    }
}

.chat-gpt-q-lst {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    border-radius: 4px;
}

.chat-gpt-q-lst li {
    font-size: 14px;
    line-height: 1.5;
    margin-top: 10px;
}

.chat-gpt-q-lst li:not(:last-child) {
    margin-right: 10px;
}

.chat-gpt-q-lst li a,
form .form-btn, .button-response  {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ff008c;
    padding: 8px 16px;
    text-decoration: none;
    background-color: #fff;
    border-radius: 9999px;
    border: 1px solid #ff008c;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0px 4px 0px 0px #0000001A;
    text-align: left;
}

.secondary-button-container {
    margin: 30px 0 0;
    display: flex;
    flex-wrap: wrap;
}

.button-response.secondary-button {
    margin-right: 10px;
}

.button-container li a:hover {
    background-color: #ff56b3;
}

.chat-gpt-q-lst li a .btn-text-container {
    display: flex;
    align-items: center;
}

.chat-gpt-q-lst li a .btn-text-container svg {
    margin-right: 5px;
}

@media screen and (max-width: 767px) {
    .chat-gpt-q-lst li {
        width: 100%;
        font-size: 14px;
    }

    .button-response.secondary-button {
        width: 100%;
        margin-right: 0;
    }

    .chat-gpt-q-lst li:not(:first-child) {
        margin-top: 8px;
    }

    .chat-gpt-q-lst li:not(:last-child) {
        margin-right: 0;
    }

    .chat-gpt-q-lst li a {
        padding: 7px 10px;
    }

    .secondary-button-container {
        flex-direction: column;
    }
}

.chat-gpt-feedback {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 16px;
    display: none;
}

.chat-gpt-feedback input[type=checkbox] {
    display: none;
}


.chat-gpt-feedback-like-btn span {
    background-image: url(../images/like-button.svg);
    width: 36px;
    height: 36px;
}

.chat-gpt-feedback-dislike-btn span {
    background-image: url(../images/dislike-button.svg);
    width: 36px;
    height: 36px;
}

.chat-gpt-feedback-dislike-btn input[type="checkbox"]:checked + span {
    background-image: url(../images/dislike-active-button.svg);
}

.chat-gpt-feedback-like-btn input[type="checkbox"]:checked + span{
    background-image: url(../images/like-active-button.svg);
}

.chat-gpt-feedback-like-btn,
.chat-gpt-feedback-dislike-btn,
.chat-gpt-feedback-like-btn span,
.chat-gpt-feedback-dislike-btn span {
    display: flex;
}


.chat-gpt-feedback-like-btn label,
.chat-gpt-feedback-dislike-btn label {
    cursor: pointer;
}

.chat-gpt-feedback-like-btn {
    margin-right: 8px;
}

@media screen and (min-width: 768px) {
    .chat-gpt-feedback {
        margin-top: 8px;
    }
}

/* error */
.chat-gpt-wrap.chat-gpt-wrap--is-error .chat-gpt-hdg-lv2 {
    color: #333;
}

.chat-gpt-wrap.chat-gpt-wrap--is-error .chat-gpt-ai-img-wrap {
    text-align: center;
    margin-bottom: 16px;
}

.chat-gpt-wrap.chat-gpt-wrap--is-error .chat-gpt-ai-img-wrap img {
    width: 100px;
}

@media screen and (min-width: 768px) {
    .chat-gpt-wrap.chat-gpt-wrap--is-error .chat-gpt-ai-img-wrap img {
        width: 150px;
    }
}

@media screen and (max-width: 767px) {
    .chat-gpt-wrap.chat-gpt-wrap--is-error .chat-gpt-hdg-lv2 {
        font-size: 17px;
        text-align: center;
        margin-bottom: 16px;
    }

    .chat-gpt-wrap.chat-gpt-wrap--is-error .chat-gpt-text {
        font-size: 14px;
        text-align: center;
    }
}

.chat-gpt-wrap.chat-gpt-wrap--is-error .chat-gpt-text {
    text-align: center;
    color: #373737;
}

.chat-gpt-chat-reset {
    padding: 0 8px 0 0;
    /* margin-top: 10px; */
}

.chat-gpt-chat-reset button {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    align-items: center;
}

.chat-gpt-chat-reset a {
    color: #000;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
}


.chat-gpt-chat-reset a:link,
.chat-gpt-chat-reset a:visited,
.chat-gpt-chat-reset a:hover,
.chat-gpt-chat-reset a:active {
    color: #000;
    text-decoration: none;
}

.chat-gpt-reset-text {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
    white-space: nowrap;
}

@media screen and (max-width: 968px) {
    .chat-gpt-chat-reset {
        left: 0;
    }
}

@media screen and (max-width: 767px) {
    .chat-gpt-chat-reset {
        top: -60px;
    }
}

.s1-lp-header {
    width: 100%;
    position: relative;
}

.s1-lp-header__inner {
    padding: 0 8px;
}

@media screen and (min-width: 768px) {
    .s1-lp-header__inner {
        padding: 8px 10px;
    }
}

.s1-lp-header-logo {
    margin-top: 8px;
    display: inline-block;
    margin-right: 11px;
}

@media screen and (min-width: 768px) {
    .s1-lp-header-logo {
        margin-top: 4px;
        max-width: 232px;
    }
}

.s1-lp-header-logo a {
    display: inline-block;
}

.s1-lp-header-logo a:hover {
    text-decoration: none;
}

.s1-lp-header-logo img {
    max-width: 100%;
}

@media screen and (min-width: 768px) {
    .s1-lp-header-logo img {
        min-width: 232px;
    }
}

.s1-lp-header-right {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 56px;
    float: right
}

.s1-lp-header-right li {
    margin-left: 10px
}

@media screen and (min-width: 768px) {
    .s1-lp-header-right li {
        margin-left: 14px
    }

    .s1-lp-header-right li.s1-lp-header-risk {
        margin-left: 24px;
    }
}

.s1-lp-header-support {
    font-size: 13px;
    line-height: 1.5;
}

.s1-lp-header-risk {
    color: #686868;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

/* ******************************
        lp-style.css
****************************** */
/*!
 * Reset Styles
 * Based on
 * http://meyerweb.com/eric/tools/css/reset/
 * v2.0 | 20110126
 * License: none (public domain)
 */
html, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-weight: inherit;
    vertical-align: baseline
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

ol, ul {
    padding-left: 16px;
}

blockquote, q {
    quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

button {
    padding: 0;
    border: 0;
    background: none
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

a img {
    border: 0
}

@font-face {
    font-family: 'NotoSansCJKJPDemiLight';
    src: url("../font/NotoSansCJKJP-DemiLight.eot");
    src: url("../font/NotoSansCJKJP-DemiLight.eot?#iefix") format("embedded-opentype"), url("../font/NotoSansCJKJP-DemiLight.woff") format("woff"), url("../font/NotoSansCJKJP-DemiLight.ttf") format("truetype")
}

@font-face {
    font-family: "glyphs";
    src: url("/web/shared/font/glyphs.eot");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: "glyphs";
    src: url("/web/shared/font/glyphs.eot");
    src: url("/web/shared/font/glyphs.eot?#iefix") format("embedded-opentype"), url("/web/shared/font/glyphs.woff") format("woff"), url("/web/shared/font/glyphs.ttf") format("truetype"), url("/web/shared/font/glyphs.svg?#glyphs") format("svg");
    font-weight: normal;
    font-style: normal
}

.s-glyph {
    font-family: "glyphs";
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    speak: none;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}


.contents, .container, .container__inner, .s1-hdg-lv2__element, .s1-tbl--default th, .s1-tbl--stripe th, .s1-tbl--default td, .s1-tbl--stripe td, .s1-box, .s1-label, .s1-tbl--detail tr, .s1-tbl--detail .caution-list.is-type--number, .s1-tbl--detail .caution-list.is-type--number li {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

/* .s1-lp-header__inner:after, */
.s1-lp-header-right:after, .s1-footer .contents-liner:after {
    content: "";
    display: block;
    font-size: 0;
    line-height: 0;
    clear: both
}

/*!
* Default Styles
*/
body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, MS-PGothic, sans-serif;
    font-size: 62.5%;
    line-height: 1.4
}

@media screen and (min-width: 768px) {
    body {
        line-height: 1.6
    }
}

button, input, textarea {
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, MS-PGothic, sans-serif;
    font-size: 62.5%;
    line-height: 1.4
}

@media screen and (min-width: 768px) {
    button, input, textarea {
        line-height: 1.6
    }
}

a {
    text-decoration: none
}

a:link, a:visited, a:hover, a:active {
    color: #0072BF;
}

a:hover {
    text-decoration: underline
}

b {
    font-weight: bold
}

sup {
    vertical-align: .5em
}

input.s-input-text, textarea.s-textarea {
    padding: 5px;
    background: #f0f0f0;
    border-top: 1px solid #9c9c9c;
    border-left: 1px solid #9c9c9c;
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0
}

::-webkit-input-placeholder {
    color: #999999
}

::-moz-placeholder {
    color: #999999
}

:-ms-input-placeholder {
    color: #999999
}

.placeholdersjs {
    color: #999999
}

.s-analysis-tools {
    overflow: hidden;
    height: 0
}

body, html {
    font-size: 62.5%
}

body {
    color: #333;
    background-color: #fff;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, MS-PGothic, sans-serif;
    min-width: auto
}

@media print {
    .hidden-pc {
        display: none
    }
}

.contents {
    width: 100%
}

.container {
    width: 100%;
    padding: 40px 0
}

@media screen and (min-width: 768px) {
    .container {
        padding: 60px 0
    }
}

.container__inner {
    width: 100%;
    padding: 0 20px
}

@media screen and (min-width: 768px) {
    .container__inner {
        max-width: 768px;
        margin: 0 auto
    }
}

@media screen and (min-width: 960px) {
    .container__inner {
        max-width: 960px
    }
}

.hdg_lv2 + .hdg_lv3, .hdg_lv3 + .hdg_lv4, .hdg_lv4 + .hdg_lv5 {
    margin-top: 0
}

p {
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.5
}

@media screen and (max-width: 767px) {
    p {
        font-size: 14px;
        font-size: 1.4rem
    }
}

p + p {
    margin-top: 10px
}

p + ul {
    margin-top: 20px
}

p + h3 {
    margin-top: 20px
}

p.white {
    color: #fff
}

p a {
    text-decoration: underline
}

p a:link, p a:visited, p a:hover, p a:active {
    color: #0069bf
}

p a.cr-black {
    text-decoration: none
}

p a.cr-black:link, p a.cr-black:visited, p a.cr-black:hover, p a.cr-black:active {
    color: #333
}

p a.cr-black:hover {
    opacity: 0.7
}

p a:hover {
    text-decoration: none
}

.images {
    text-align: center;
    margin: 20px 0
}

.images img {
    max-width: 100%
}

.images:first-child {
    margin-top: 0
}

.hover-img:hover {
    opacity: 0.6
}

@media screen and (min-width: 960px) {
    .img-hover:hover {
        background: #fff;
        opacity: .7
    }
}

@media screen and (max-width: 767px) {
    img.img-pc {
        display: none
    }
}

@media screen and (min-width: 768px) {
    img.img-sp {
        display: none
    }
}

.hr-img-width {
    max-width: 100%
}

@media screen and (max-width: 767px) {
    .hi-res-img {
        max-width: 100%
    }
}

table {
    font-size: 14px;
    font-size: 1.4rem;
    width: 100%;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    background-color: #fff
}

table + table {
    margin-top: 20px
}

th, td {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 5px
}

thead th {
    background-color: #FFE6F4;
    color: #000;
}

tbody th {
    background-color: #e9ebf7
}

.s1-header {
    box-shadow: 0px 3px 11px -5px rgba(0, 0, 0, 0.51);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 56px;
    background-color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
}

.s1-header.border {
    box-shadow: none;
    border-bottom: 2px solid #FF008C;
}

@media screen and (min-width: 768px) {
    .s1-header {
        height: 82px
    }
}

.s1-lp-header {
    width: 100%;
    position: relative
}

.s1-lp-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
}

@media screen and (min-width: 768px) {
    .s1-lp-header__inner {
        max-width: 956px;
        padding: 12px 10px;
        margin: 0 auto;
    }
}

.s1-lp-header-logo {
    margin-top: 8px;
    display: inline-block
}

@media screen and (min-width: 768px) {
    .s1-lp-header-logo {
        margin-top: 4px;
        max-width: 232px
    }
}

.s1-lp-header-logo a {
    display: inline-block
}

.s1-lp-header-logo a:hover {
    text-decoration: none
}

.s1-lp-header-logo img {
    max-width: 100%
}

.s1-lp-header-right {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 56px;
    float: right
}

.s1-lp-header-right li {
    margin-left: 10px
}

@media screen and (min-width: 768px) {
    .s1-lp-header-right li {
        margin-left: 14px
    }
}

.s1-lp-header-ichiba a {
    font-size: 14px;
    font-size: 1.4rem;
    font-weight: bold;
    display: inline-block;
    padding: 4px;
    box-sizing: border-box
}

.s1-lp-header-ichiba a:link, .s1-lp-header-ichiba a:visited, .s1-lp-header-ichiba a:hover, .s1-lp-header-ichiba a:active {
    color: #333
}

.s1-lp-header-ichiba a:hover {
    text-decoration: none
}

@media screen and (min-width: 768px) {
    .s1-lp-header-ichiba a {
        font-size: 16px;
        font-size: 1.6rem
    }

    .s1-lp-header-ichiba a:hover {
        background-color: #f0f0f0
    }
}

.s1-lp-header-nav {
    margin-top: -12px
}

@media screen and (min-width: 768px) {
    .s1-lp-header-nav {
        margin-top: -10px
    }
}

@media screen and (max-width: 767px) {
    .hdg-img-pc {
        display: none
    }

    .hdg-img-sp {
        display: block;
    }

    .optimism-signage .hdg-img-pc {
        height: 30px;
    }
}

.hdg-img-pc {
    height: 50px;
}

@media screen and (min-width: 768px) {
    .hdg-img-sp {
        display: none
    }

    .hdg-img-pc {
        display: block;
    }
}

/* Override for optimism-signage: always use PC logo regardless of screen size */
.optimism-signage .hdg-img-sp {
    display: none !important;
}

.optimism-signage .hdg-img-pc {
    display: block !important;
}

/* Employee Referral Styling */
.employee-referral-image-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 10px;
    padding: 0;
}

.employee-referral-image-container a {
    display: block;
    width: 100%;
    text-decoration: none;
    border: none;
    outline: none;
}

.employee-referral-body-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Alternative method for better browser support */
@supports not (width: 100vw) {
    .employee-referral-image-container {
        width: calc(100% + 16px);
        margin-left: -8px;
        margin-right: -8px;
    }
}

.s1-lp-header-noscript-bar {
    background-color: #f99
}

.s1-lp-header-noscript-bar__inner {
    text-align: center;
    padding: 10px
}

.s1-header-nav-list {
    border-bottom: 1px solid #aaa
}

.s1-header-nav-list .s1-header-nav-list {
    border-bottom: none
}

@media screen and (min-width: 768px) {
    .s1-header-nav-list {
        border: none
    }
}

.s1-header-nav-list > li {
    font-size: 14px;
    font-size: 1.4rem;
    border-top: 1px solid #aaa
}

@media screen and (min-width: 768px) {
    .s1-header-nav-list > li {
        font-size: 22px;
        font-size: 2.2rem;
        border: none
    }
}

.s1-header-nav-list > li > a {
    display: block;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 8px;
    line-height: 1.2
}

.s1-header-nav-list > li > a:link, .s1-header-nav-list > li > a:visited, .s1-header-nav-list > li > a:hover, .s1-header-nav-list > li > a:active {
    color: #000
}

.sp-nav .s1-lp-header-nav-list {
    float: left;
    margin-top: 5px
}

@media screen and (min-width: 768px) {
    .sp-nav .s1-header-nav-list {
        display: flex;
        align-items: center
    }
}

@media screen and (min-width: 768px) {
    .sp-nav .s1-header-nav-list > li {
        font-size: 16px;
        font-size: 1.6rem
    }
}

@media screen and (min-width: 768px) {
    .sp-nav .s1-header-nav-list > li > a {
        display: inline-block;
        padding: 5px 8px;
        text-align: center
    }
}

.sp-nav .s1-header-nav-list > li > a:hover {
    opacity: 0.6
}

.nav .s1-header-nav-list.active {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

@media screen and (min-width: 768px) {
    .contents.blur {
        filter: blur(2px)
    }
}

.s1-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 0;
}

.s1-footer .copyright {
    padding: 15px 10px;
    color: #686868;
    background-color: #EBEBEB;
    font-size: 12px !important;
    font-size: 1.2rem !important;
    box-sizing: border-box
}

.s1-footer .copyright p {
    font-size: 1.2rem !important;
    margin-top: 0;
}

.s1-footer .copyright .rakuten-ai-logo {
    display: flex;
    color: #000;
    align-items: center;
}

.s1-footer .contents-liner {
    width: 100%;
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .s1-footer .contents-liner {
        padding: 0 10px;
        flex-direction: column;
        align-items: center;
    }

    .s1-footer .copyright {
        padding: 10px 0;
    }

    .s1-footer .copyright p {
        text-align: center;
    }
}

@media screen and (min-width: 960px) {
    .s1-footer .contents-liner {
        max-width: 950px
    }
}

.section-hdg__element, .s1-hdg-lv1__element, .s1-hdg-lv2__element, .s1-hdg-lv3__element, .s1-hdg-lv4__element, .s1-sub-hdg {
    position: relative;
    width: 100%;
    font-weight: bold;
    line-height: 1.4
}

@media screen and (min-width: 768px) {
    .section-hdg__element, .s1-hdg-lv1__element, .s1-hdg-lv2__element, .s1-hdg-lv3__element, .s1-hdg-lv4__element, .s1-sub-hdg {
        line-height: 1.6
    }
}

ul {
    font-size: 14px;
    line-height: 1.4
}

@media screen and (min-width: 768px) {
    ul {
        font-size: 16px;
        line-height: 1.6
    }
}


ul {
    padding-left: 0
}

li, dt, dd {
    line-height: 1.4;
    color: #333
}

@media screen and (min-width: 768px) {
    li, dt, dd {
        line-height: 1.6
    }
}

.contents {
    width: 100%;
    background-color: #fff
}

.hdg_lv2 {
    font-size: 24px;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #000
}

.hdg_lv3 {
    font-size: 20px;
    font-size: 2rem;
    margin: 40px 0 10px
}

.chat-gpt-input-container .input-suggestion-container {
    display: none;
    width: 100%;
    background-color: #E5F3FF;
}

.chat-gpt-input-container .input-suggestion__block {
    max-width: 968px;
    margin: 0 auto;
    padding: 12px 16px;
}

.chat-gpt-input-container .input-suggestion {
    color: #0075DB;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    display: inline-block;
    border-radius: 9999px;
    background-color: #fff;
    cursor: pointer;
    padding: 8px 16px;
}

.chat-gpt-input-container .input-suggestion:hover {
    color: #ff56b3;
}

@media screen and (max-width: 767px) {
    .chat-gpt-input-container .input-suggestion__block {
        width: calc(100% - 32px);
        padding: 10px 0;
    }

    .chat-gpt-input-container .input-suggestion {
        font-size: 14px;
        padding: 7px 10px;
    }
}

.bot-msg-content img {
    margin: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto; 
}

.bot-msg-content ul {
   padding-left: 20px;
   margin-bottom: 20px;
}

.bot-msg-content li {
    font-size: 1.4rem;
 }

.bot-msg-content b {
    font-size: 1.4rem;
 }

 .bot-msg-content h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
    text-decoration: underline;
 }

 .bot-msg-content h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
    text-decoration: underline;
}

.bot-msg-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}

.bot-msg-content h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #444;
    margin-top: 6px;
    text-decoration: underline;
}

.bot-msg-content h5 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #555;
    margin-top: 5px;
}

.bot-msg-content h6 {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-top: 4px;
}

.video-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-container iframe {
    /* width: 100% !important; */
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.chat-gpt-message-inner-card {
    background: transparent !important;
    padding: 0;
    margin: 0;
}

.product-container {
    position: relative;
}

.cards_scroller {
    overflow-x: scroll;
    overflow-y: hidden;
    display: flex;
    transition: width 0.5s ease;
    /* margin-left: 5px; */
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cards_scroller::-webkit-scrollbar {
    display: none;  /* Hide scrollbar in WebKit browsers (Chrome, Safari) */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product {
    width: 260px;
    display: flex;
    flex-direction: column;
    background: #EBF7FE;
    min-width: 260px;
    max-width: 260px;
    margin-top: 10px;
    text-decoration: none !important;
    color: #000 !important;
    overflow: hidden;
    scroll-behavior: smooth;
    scroll-snap-align: center;
    word-wrap: break-word;
    padding-left: 0.75em;
    margin-right: 10px;
    border-radius: 8px;
    padding: 20px 16px;
}

.date-wrapper {
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 10px 16px;
}

.date-wrapper p {
    margin-bottom: 6px !important;
}

.date-wrapper .date-label,
.date-wrapper .day-label {
    font-size: 16px;
    color: #0072BF;
    font-weight: 700;

}

.date-wrapper .day-label {
    font-weight: 400
}

.date-wrapper .date-availibility {
    
}

.product > * {
    flex: 1;
}

.campaign .campaign-img-wrapper,
.campaign .campaign-button {
    flex-shrink: 0;
    flex: none;
}

.campaign .campaign-description {
    flex: 1;
    max-height: 120px;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}

/* Align campaign buttons at the bottom of cards */
.product.campaign {
    justify-content: flex-start;
}

.product.campaign .campaign-button {
    margin-top: auto;
}

.campaign .campaign-description::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.campaign .campaign-description span {
    font-size: 10px;
    color: #676767;
}

.product p {
    margin: 0;
    line-height: 18px;
    font-size: 12px;
    margin-bottom: 17px;
    color: #333;
}

.product-title {
    line-height: 22px;
    display: block;
    margin-bottom: 12px !important;
    font-weight: 700;
    font-size: 16px !important;
    display: flex;
    align-items: center;
}

.server-message .chat-gpt-message-inner .campaign img:not(.campaign-image) {
    width: 16px !important;
    height: 16px;
    margin: 0 0 0 5px !important;
}

.server-message .chat-gpt-message-inner .campaign .campaign-img-wrapper {
    margin: 0 0 10px 0 !important;
    background: #eee;
    height: 130px;
    background-color: #EBF7FE;
}

.server-message .chat-gpt-message-inner .campaign .campaign-image {
    max-width: 100%;
    margin: 0;
}

.campaign .campaign-description {
    font-size: 14px !important;
    margin-bottom: 17px;
}

.campaign .campaign-description:has(.campaign-additional-info) {
    margin-bottom: 9px;
}

.campaign-additional-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    margin-bottom: 10px;
}

p.campaign-disclaimer-note {
    width: 100%;
    font-size: 10px !important;
    line-height: 1.8em;
    color: #333333;
}

.campaign-entry-tag {
    background-color: #E0E0E0;
    padding: 4px 8px;
    font-size: 10px;
    line-height: 1.5em;
    color: #333333;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

.campaign-entry-tag:last-child {
    margin-right: 0;
}

.shop-external-link {
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    color: #0072BF;
    margin-bottom: 9px;
    text-decoration: underline;
}

.server-message .chat-gpt-message-inner .shop-external-link img {
    width: 16px !important;
    height: 16px;
    margin: 0 0 0 5px;
}

.arrow-button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Style for the circular buttons */
.arrow-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff; /* Button background color */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #C5E9FE;
}

.arrow-button img {
    height: 16px;
}

/* Style for the arrow icons */
.arrow-icon {
    color: #FF008C;
    font-size: 24px; /* Adjust the icon size as needed */
}

/* Style for the left arrow button */
.arrow-button.left {
    margin-right: 10px; /* Adjust spacing between buttons */
}

.arrow-button.right {
    margin-right: 12px;
}

.scroll-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.product-button {
    justify-content: center;
    height: 40px;
    min-height: 40px;
    margin-top: 0 !important;
    max-height: 40px;
    border-radius: 4px;
    border: 1px solid #0072BF80;
    color: #0072BF;
    box-shadow: none;
}

/* Override for campaign cards to align buttons at bottom */
.product.campaign .product-button {
    margin-top: auto !important;
}

.arrow-button:disabled {
    background-color: #ebebe4;
    cursor: not-allowed;
}

.button-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    margin-top: 10px;
}

.button-container .response-menu-button {
    display: block;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    background-color: #0075DB;
    border-radius: 9999px;
    margin-bottom: 10px;
    width: 500px;
 }

 .horizontal-layout {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
 }

 .vertical-layout {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding-bottom: 10px;
 }

 .form-group {
    display: flex;
    flex-direction: column;
    margin: 5px;
 }
 .form-group label { 
    margin-left: 7px;
    width: fit-content;
 }

 .form-group .form-label {
    font-size: 14px;
    font-weight: bold;
 }

 .form-group :is(input[type="text"], input[type="mail"], input[type="date"]) {
    padding: 10px;
    border: 1px solid #eee;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-right: 5px;
    width: 500px;
    border-radius: 16px;
 }

 form .form-btn, .button-response {
    margin-top: 10px;
    cursor: pointer;
    line-height: 1.5;
 }

 @media screen and (max-width: 767px) {
    form .form-btn, .button-response, a, p, .bot-msg-content {
        font-size: 14px !important;
    }

    svg {
        width: 16px !important;
    }
 }

 form .form-btn-disabled, .form-btn-disabled {
    background-color: #ebebe4;
    cursor: not-allowed;
    border-color: #e6e6f0;
    color: #cacadb;
 }

 .chat-gpt-q-lst li a.disabled-link {
    pointer-events: none;
    color: #cacadb;
    text-decoration: none;
    border-color: #e6e6f0;
    background-color: #ebebe4;
  }
/* // changing the layout might revert later */

 .chat-gpt-profile-icon, .chat-gpt-user-icon {
    width: 48px;
    height: 48px;
 }

 .chat-gpt-user-icon {
    visibility: hidden;
 }

 .bot-icon, .user-icon {
    width: 48px;
    height: 48px;
 }

 .message, #default-server-message-1, #default-server-message-2 {
    margin-left: 8px;
}

/* .user-message {
    align-items: flex-end;
    justify-content: flex-end;
} */

.message .chat-gpt-message-inner {
    margin-left: 8px;
    margin-right: 0;
}

.image-container.horizontal-layout {
    flex-wrap: wrap;
}

.image-container.horizontal-layout img {
  /* max-width: 300px; */
  width: 49%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
    .server-message .image-container.horizontal-layout img {
        width: 100% !important;
    }
}


.mixed-form {
    display: flex;
    flex-direction: column;
}

.mixed-form .form-btn {
    display: flex;
    width: 95%;
    align-self: center;
    text-align: center;
    justify-content: center;
}

.input-suggestion-container-show {
    display: block !important;
}

.btn-with-arrow {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.svg-container {
    width: 20px;
    height: 16px;
    margin-left: 10px;
}

@media screen and (max-width: 767px) {
    .server-message .chat-gpt-message-inner img {
        width: 100% !important;
    }
}

.feedback-modal,
.terms-and-condition-modal,
.information-provision-modal,
.campaign-modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background: #000000B2;
    justify-content: center;
    align-items: center;
}

.terms-and-condition-modal {
    display: block;
 }

.toggle-modal,
.toggle-terms-modal,
.toggle-information-modal {
    display: none;
}

.language-info-text {
    font-size: 12px !important;
    color: #717171;
    margin-top: 4px;
    margin-bottom: 3px;
    display: flex;
}

.feedback-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    border: 1px solid #888;
    width: 95%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.feedback-modal-body {
    padding: 16px 24px;
}

.feedback-modal-footer {
    padding: 0 24px 24px;
}

.feedback-modal-header {
    border-bottom: 1px solid #00000014;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 17.5px 24px;
}

.feedback-modal-body-content-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    height: 44px;
    min-height: 44px;
}

/* .feedback-modal-body-content-option label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-left: 4px;
} */

.feedback-modal-body-content-option span {
    color: #DF0101;
    font-size: 12px;
    margin-left: 5px;
}

.feedback-modal-body-content-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

#feedbackText {
    font-size: 14px;
    border-radius: 8px;
    padding: 12px;
}

#feedbackText:focus,
#feedbackText:focus-visible {
    border: 2px solid #0097e2;
    outline: 0;
}

.close-feedback-modal {
    position: absolute;
    top: -11px;
    right: -10px;
    background-color: white;
    color: black;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    line-height: 0;
    box-shadow: 0px 1.25px 6px 0px #00000040;
}

.close-feedback-modal img {
    width: 28px;
    height: 28px;
}

.feedback-modal-content h2 {
    padding: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 20.8px;
}

@media screen and (max-width: 767px) {
    .feedback-modal-content h2 {
        font-size: 14px;
    }

    .price-simulation-modal-primary-heading,
    .price-simulation-data-modal-primary-heading {
        font-size: 16px;
    }
}

.feedback-modal-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ff008c;
    color: #fff;
    width: 100%;
    padding: 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
}

.feedback-modal-submit-disabled {
    background: #E0E0E0;
    color: #8F8F8F;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
}

.terms-and-condition-modal-content,
.information-provision-modal-content {
    width: 95%;
}

.terms-and-condition-modal-header,
.information-provision-modal-header {
    border-bottom: 0;
    padding: 27px 13px 0;
}

@media screen and (max-width: 767px) {
    .terms-and-condition-modal-header,
    .information-provision-modal-header {
        padding: 5px 13px 0;
    }
}

.terms-and-condition-modal-body,
.information-provision-modal-body,
.email-modal-body,
.price-simulation-modal-body{
    padding: 14px 13px;
}

.terms-and-condition-modal-body,
.information-provision-modal-body {
    padding-top: 0;
}

.email-modal-content {
    max-width: 330px;
}

.email-modal-header {
    border: 0;
    height: 0;
    padding: 0;
}

.email-modal-body,
.price-simulation-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.email-modal-img-wrapper {
    width: 177px;
    height: 131px;
    margin-top: 40px;
    margin-bottom: 22px;
}

.email-modal-img {
    max-width: 100%;
}

.email-modal-heading {
    font-size: 16px;
    font-weight: 600;
    line-height: 20.8px;
    margin-bottom: 15px;
    text-align: center;
}

.email-modal-content {
    font-size: 14px;
    line-height: 18.2px;
    margin-bottom: 30px;
    text-align: center;
}

.confirmation-email-input {
    width: 280px;
    background-color: #F7F7F7;
    border: 1px solid #8F8F8F;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 20px;
    height: 50px;
    font-size: 14px;
}

.confirmation-email-button {
    background: #FF008C;
    color: #fff;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    width: 280px;
    font-size: 14px;
    font-weight: 600;
    line-height: 18.2px;
    height: 48px;
    cursor: pointer;
}

.confirmation-email-button:disabled {
    background: #E0E0E0;
    color: #8F8F8F;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
}

#successMessage {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 13px;
    text-align: left;
    background: #333333;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.success-message-container {
    display: flex;
    align-items: center;
}

.success-message-container img {
    margin-right: 10px;
}

.rakuten-mobile-price-simulation-graph-container {
    border-radius: 0 0 8px 8px;
    padding: 12px 0;
    background: #fff;
    margin-bottom: 10px;
}

.rakuten-mobile-price-simulation-graph-header {
    font-size: 20px;
    background-color: #ff008c;
    width: 100%;
    border-radius: 8px 8px 0 0;
    color: #fff;
    text-align: center;
}

.rakuten-mobile-price-simulation-graph {
    display: flex;
    border: 0;
    border-left: 2px solid #CCCCD2;
    padding: 10px 0;
    flex-direction: column;
}

.price-simulation-heading {
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    margin-bottom: 7px;
}

.price-simulation-heading span {
    color: #FF008C;
}

/* Tabbed Price Simulation Styles */
.price-simulation-tabs {
    margin-bottom: 17px;
}

.tab-buttons-container {
    display: flex;
    margin-bottom: 8px;
    gap: 12px;
    flex-wrap: wrap;
}

.price-simulation-tab-button {
    flex: none;
    border: none;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: #F7F7F7;
    color: #626262;
    margin: 0;
    outline: none;
    border-radius: 4px;
    white-space: nowrap;
    border: 1px solid #E0E0E0;
    position: relative;
    min-width: 153px;
}

.price-simulation-tab-button span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

.price-simulation-tab-button.active {
    background-color: #0072BF;
    color: white;
}

.price-simulation-tab-button:hover:not(.active) {
    background-color: #e8e8e8;
}

/* Mobile responsive styles for tabs */
@media screen and (max-width: 480px) {
    .tab-buttons-container {
        gap: 8px;
        padding: 0;
    }
    
    .price-simulation-tab-button {
        padding: 6px 12px;
        flex-shrink: 1;
        white-space: normal;
        text-align: center;
        max-width: calc(50% - 4px);
    }
}

@media screen and (max-width: 360px) {
    .price-simulation-tab-button {
        padding: 5px 8px;
        font-size: 12px;
        max-width: calc(50% - 3px);
    }
}

.price-simulation-disclaimer {
    margin-top: 19px;
    font-size: 10px;
    line-height: 150%;
    color: #333;
}

.other-carrier-container,
.rakuten-mobile-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.other-carrier-container {
    align-items: flex-start;
}

.other-carrier-price-graph, .rakuten-mobile-price-graph {
    height: 40px;
    margin-right: 5px;
}

.other-carrier-price-graph {
    background-color: #e0e0e0;
    margin-right: 10px;
    margin-bottom: 25px;
}

.rakuten-mobile-price-graph  {
    background-color: #ff008c;
    transition: width 0.5s;
}

.other-carrier-name-with-price,
.rakuten-mobile-name-with-price {
    flex-direction: column;
    display: flex;
}

.other-carrier-name,
.rakuten-mobile-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    color: #333;
}

.rakuten-mobile-name span{
    color: #FF008C;
}

.other-carrier-price,
.rakuten-mobile-price {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.rakuten-family-discount-label {
    color: #ff008c;
    font-weight: 700;
}

.family-plan-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    border-radius: 4px;
    margin-top: 8px;
    padding: 2px 4px;
    background-color: #ffe6f4;
    font-size: 12px;
    color: #333;
    font-weight: 700;
    width: fit-content;
    align-items: center;
}

.family-plan-container-price {
    color: #ff008c;
    font-size: 20px;
    margin-left: 3px;
}

.rakuten-mobile-important-information,
.rakuten-mobile-bandwidth-important-information,
.read-and-agree,
.information-provision-important {
    border: 0.5px solid #717171
}

@media screen and (max-width: 767px){
    .rakuten-mobile-important-information,
    .rakuten-mobile-bandwidth-important-information,
    .read-and-agree,
    .information-provision-important {
        border: 1px solid #717171;
    }
}

.rakuten-mobile-important-information {
    border-bottom: 0;
}

.read-and-agree {
    border-top : 0;
    padding: 10px;
}

.terms-and-condition-read-and-agree {
    display: flex;
    font-size: 14px;
}

.privacy-policy-container {
    margin-left: 5px;
}

.read-and-agree label {
    display: flex;
    margin-top: 8px;
}

.read-and-agree label input {
    opacity: 0;
    width: 0px;
    height: 0px;
    display: block;
    margin: 0;
}

.read-and-agree label input + span {
    line-height: 18px;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: -24px;
    border-radius: 4px;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
 }

 .read-and-agree label span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: #ffffff; /* Background color */
    border-radius: 4px;
    border: 1px solid rgb(102, 102, 102);
  }
  
  /* Create the check mark */
  .read-and-agree label span::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 11.5px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

 .read-and-agree label input:checked + span::before {
    background-color: rgb(255, 0, 140);
    border: 1px solid rgb(255, 0, 140);
 }

 .read-and-agree label input:checked + span::after {
    display: block;
  }

 .read-and-agree label div {
    display: inline-block;
    vertical-align: top;
    padding-left: 32px;
    cursor: pointer;
    font-size: 14px;
    line-height: 19.5px;
 }

 .read-and-agree label #data-privacy-agree-checkbox-text {
    padding-left: 36px;
 }

 #terms-cancel-button,
 #terms-agree-button,
 #information-provision-cancel-button,
 #information-provision-agree-button,
 #date-time-calendar-cancel-button,
 #date-time-calendar-agree-button,
 #price-simulation-back-button,
 #price-simulation-data-back-button,
 #campaign-modal-back-button {
    box-shadow: 0px 4px 0px 0px #0000001A;
    padding: 12px 24px;
    width: auto;
    font-size: 16px;
    border-radius: 50px
 }

 #terms-cancel-button,
 #information-provision-cancel-button,
 #date-time-calendar-cancel-button,
 #price-simulation-back-button,
 #price-simulation-data-back-button,
 #campaign-modal-back-button {
    border: 1px solid #666666;
    color: #4D4D4D;
    background-color: #fff;
 }

 #terms-agree-button,
 #information-provision-agree-button,
 #date-time-calendar-agree-button,
 #price-simulation-agree-button,
 #price-simulation-data-agree-button {
    color: #fff;
 }

 #terms-agree-button:disabled,
 #date-time-calendar-agree-button.disabled,
 #price-simulation-line-selection-agree-button.disabled {
    background: #E0E0E0;
    color: #8F8F8F;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
 }

 .terms-and-condition-modal .feedback-modal-footer,
 .information-provision-modal .feedback-modal-footer,
 .date-time-calendar-modal .feedback-modal-footer,
 .price-simulation-modal .feedback-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px 18px;
 }

 .price-simulation-modal .slider-buttons,
 .price-simulation-data-modal .slider-buttons{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
 }

 .price-simulation-modal .feedback-modal-footer  {
    padding: 13px 18px;
 }

 .date-time-calendar-modal-header,
 .date-time-calendar-modal-body {
    padding: 10px !important;
 }

 .date-time-calendar-modal-footer {
    padding: 0 10px 10px !important;
 }

 .date-time-calendar-modal-header,
 .date-time-calendar-modal-body {
    padding: 10px !important;
 }

 .date-time-calendar-modal-footer {
    padding: 0 10px 10px !important;
 }

 .special-offer-permission-text {
    font-size: 12px;
    line-height: 15.6px;
    margin-top: 7px;
 }

 .language-switcher {
    margin-right: 20px;
 }

 .language-switcher button {
    font-size: 14px;
    color: #333;
    cursor: pointer;
 }

 .language-switcher button.active {
    color: #FF008C;
 }

 .language-switcher .jp-btn {
    margin-right: 10px;
 }

 .open-email-form {
    cursor: pointer;
    width: 24px;
    height: 24px;
 }

 .settings {
    display: flex;
    align-items: center;
 }

 .open-email-form img {
    max-width: 100%;
 }

 .terms-and-condition-message {
    font-size: 12px;
    line-height: 15.6px;
    color: #717171;
    padding: 11px 19px 15px 13px;
 }

 .terms-and-condition-message a {
    font-size: 12px !important;
 }

 .hidden-checkbox {
    display: none;
}

.custom-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
    margin-right: 4px;
    min-width: 20px;
}

.hidden-checkbox:checked + .custom-checkbox::before {
    background: #0097E2;
    border: 1px solid #0097E2;
}

.custom-checkbox::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 1px solid #8F8F8F;
    background: #ffffff;
    border-radius: 4px;
}

.hidden-checkbox:checked + .custom-checkbox::after {
    display: block;
}

.custom-checkbox::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 6px;
    height: 11.5px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.feedback-modal-body-content-option label:not(.custom-checkbox) {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-left: 8px;
    line-height: 1.3;
}

.language-dropdown {
    position: relative;
    display: block;
    margin-top: 5px;
}

.language-dropdown img {
    margin-left: 15px;
    cursor: pointer;
}
  
.dropdown-options {
    display: none;
    position: absolute;
    top: 30px;
    right: 1px;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
}

.dropdown-options.show {
    display: block;
}

.dropdown::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent #f9f9f9 transparent;
}

.server-message .chat-gpt-message-inner .external-link-icon {
    width: 14px !important;
    height: 12px !important;
    margin: 0 !important;
}

.external-link-btn {
    text-decoration: none;
    color: #ff008c;
    justify-content: center;
}

.external-link-btn:link, .external-link-btn:visited, .external-link-btn:hover, .external-link-btn:active {
    color: #ff008c;
    text-decoration: none;
}

.external-link-btn span {
    margin-right: 5px;
}

.chat-gpt-error-container p {
    font-weight: normal;
}

.img-wrapper {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

#notification-area {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999;
}

.connection-issue-wrapper {
  padding: 10px;
  background-color: #BF0000;
  color: #fff;
  text-align: center;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-issue-wrapper img {
    margin-right: 10px;
}

.price-image-container img {
    margin: 0;
}

.date-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 17px;
}

.times-container {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    max-height: 400px;
    overflow-y: scroll;
    margin: 10px auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.times-container::-webkit-scrollbar {
    display: none;  /* Hide scrollbar in WebKit browsers (Chrome, Safari) */
}

.times-container button {
    width: 60px;
    height: 60px;
    background: #EBF7FE;
    border-radius: 8px;
    color: #0072BF;
    font-weight: 700;
    font-size: 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.time-button.active,
.line.active {
    border: 3px solid #0072BF;
}

.date-wrapper .circle,
.times-container .circle {
    width: 16px;
    height: 16px;
    background-image: url('../images/circle.svg'); /* Change the path to your circle image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* overwrite styles from voice-sdk.css for circle icon in date-wrapper */
    position: relative;
    top: 0;
    left: 0;
    transform: none;
}

.triangle {
    width: 16px;
    height: 16px;
    background-image: url('../images/trianlge.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.cross {
    width: 16px;
    height: 16px;
    background-image: url('../images/not-available.svg');
    background-repeat: no-repeat;
    background-position: center; /* Center the image within the element */
}

.time-button.disabled {
    background: #F5F5F5;
    color: #717171;
    cursor: not-allowed;
    pointer-events: none;
}

.time-button.disabled span {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.time-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.date-wrapper.disabled {
    background: #F5F5F5;
    color: #717171;
    cursor: not-allowed;
    pointer-events: none;
}

.date-wrapper.disabled .date-label,
.date-wrapper.disabled .day-label,
.date-wrapper.disabled .date-availibility {
    color: #717171;
}

.date-wrapper.disabled .date-label,
.date-wrapper.disabled .date-availibility {
    font-weight: 700;
}

.date-time-calendar-modal .feedback-modal-content {
    max-width: 400px;
}

.audio-visualizer {
    width: 100%;
    height: 40px;
}


/* Price Simulation Modal */
.price-simulation-modal .feedback-modal-content {
    max-width: 400px;
}
#sliderValue {
    text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
}

#sliderContainer,
#monthlyChargeSliderContainer {
    position: relative;
    width: 99%;
    height: 60px;
    margin: 10px auto;
    border-radius: 16px;
}

.slider-track {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 10px;
    background: #FFF2F9;
    border-radius: 2px;
}

.slider-tick {
    position: absolute;
    top: 40px;
    width: 2px;
    height: 10px;
    background: white;
    z-index: 2;
}

/* Pink tick style */
.slider-tick.pink {
    background: #FF008C;
    height: 10px;
    top: 40px;
}

.slider-thumb,
.monthly-charge-slider-thumb {
    position: absolute;
    top: 35px;
    width: 20px;
    height: 20px;
    background: #FF008C;
    border-radius: 50%;
    cursor: pointer;
    transform: translateX(-50%);
    z-index: 3;
    border: 2px solid #fff;
}

#inputBox,
#monthlyChargeInputBox {
  width: 80px; 
  height: 40px; /* Adjusted height */
  text-align: center;
  margin: 10px;
  font-size: 16px;
  border: 1px solid #666; /* Border color matching the slider thumb */
  border-radius: 5px; /* Rounded corners */
  background-color: #fff; /* Light background */
  color: #333; /* Text color */
  outline: none; /* Remove outline on focus */
}
#inputBox:focus,
#monthlyChargeInputBox:focus {
  border-color: #0056b3; /* Darker border on focus */
}

.tick-label {
  position: absolute;
  top: 50px; /* Position below the tick */
  font-size: 12px;
  color: #333;
  text-align: center;
  transform: translateX(-50%);
}

.start-label,
.end-label {
    font-size: 14px;
    color: #686868;
}

.end-label {
  position: absolute;
}

.start-label {
  left: 0; /* Position at the start */
}
.end-label {
  right: 0; /* Position at the end */
}

.price-simulation-modal,
.price-simulation-data-modal {
    width: auto;
    height: auto;
}

.price-simulation-modal .price-simulation-modal-header,
.price-simulation-data-modal .price-simulation-data-modal-header {
    padding: 0;
    border-bottom: none;
    margin: 10px;
}

.price-simulation-modal-primary-heading,
.price-simulation-data-modal-primary-heading {
    margin-bottom: 8px;
    text-align: center;
}

.price-simulation-modal-secondary-heading,
.price-simulation-data-modal-secondary-heading {
    font-size: 11px;
    text-align: center;
}

.price-simulation-data-modal-secondary-heading {
    color: #BF0000;
}

#price-simulation-cancel-button,
#price-simulation-data-cancel-button,
.btn-family-selection {
    border: 1px solid #FF008C;
    color: #FF008C;
    background-color: #fff;
    margin-right: 14px;
    cursor: pointer;
 }

 .price-simulation-input-container,
 .monthly-charge-input-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-simulation-input-container span,
.monthly-charge-input-container span {
    font-size: 14px;
}

.price-simulation-data-selection-container {
    width: 100%;
}

.price-simulation-mobile-carrier-selection-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 1rem;
}

.optimism-signage .price-simulation-mobile-carrier-selection-container {
    padding-top: 0;
}

.carrier-card {
    width: 170px;
    min-height: 50px;
    padding: 5px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid #CECED2;
    line-height: 20px;
    flex-direction: column;
}

.price-simulation-modal .slider-buttons,
.price-simulation-data-modal .slider-buttons {
    padding: 15px 5px;
}

.hide {
    display: none !important;
}

.price-simulation-family-plan-option-selection-container {
    display: flex;
    flex-direction: column;
    padding-top: 27px; 
}

.btn-family-selection {
    width: 285px;
    padding: 13px 0;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 16px;
}

/* Bottom indicator triangle for active price simulation tab buttons only */
.price-simulation-tab-button.active::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 15px solid #0072BF;
}

.price-simulation-modal-body {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box; 
  -webkit-overflow-scrolling: touch;
}

.optimism-signage .price-simulation-modal-body {
    max-height: 600px;
}

@media screen and (max-width: 320px) and (max-height: 568px) {
    .price-simulation-modal-body {
        max-height: 350px;
    }
}

.toast-notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 16px;
    width: calc(100% - 20px);
    opacity: 1;
    transition: opacity 1s ease-out;
}

.toast-notification.fade-out {
    opacity: 0;
}

.toast-notification.error {
    background-color: #FFF0F0;
    color: #DF0101;
}
  
.toast-notification.warning {
    background-color: #ffcc00;
    color: #333;
}

.toast-notification.success {
    background-color: #4caf50;
    color: #fff;
}

.toast-message {
    margin-left: 24px;
    flex-grow: 1;
}

.close-toast-button {
    cursor: pointer;
    color: inherit;
    line-height: normal;
}

.lines {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.line {
    background-color: #EBF7FE;
    font-weight: 700;
    font-size: 16px;
    color: #0072BF;
    width: 46px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.price-simulation-data-modal .feedback-modal-content {
    width: 350px;
}

.message-spacer {
    min-height: 100%;
    width: 100%;
    display: block;
    clear: both;
}

/* Optimism Rule Link Styling */
.optimism-rule {
    color: #0072bf;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.optimism-rule:hover {
    color: #ff008c;
    text-decoration: none;
}
#hamburger-icon {
    cursor: pointer;
}

/* Header Reset Button */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Header Reset Button - following chat-gpt-chat-reset pattern */
.header-reset-btn {
    display: none;
}

.optimism .header-reset-btn,
.optimism-signage .header-reset-btn {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    align-items: center;
    background: #F7F7F7;
    border: 0.5px solid #595959;
    padding: 4px 8px;
    color: #000;
    border-radius: 4px;
}

.header-reset-btn img {
    margin-bottom: 2px;
}

.header-reset-text {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    color: #4d4d4d;
    margin-left: 5px;
}

@media screen and (max-width: 767px) {
    .header-actions {
        gap: 12px;
    }
}

.drawer-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 22vw;
    max-width: 22vw;
    min-width: 180px;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.15);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  .drawer-menu.open {
    transform: translateX(0);
  }
  .drawer-content {
    padding: 4px 16px 16px 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .drawer-close {
    font-size: 2rem;
    cursor: pointer;
    margin: 10px 10px 0 0;
    align-self: flex-end;
    z-index: 2100;
    background: transparent;
    border: none;
    transition: left 0.3s, right 0.3s;
    position: absolute;
    right: calc(22vw + 10px);
    display: flex;
    flex-direction: column;
    display: none;
}

@media (max-width: 767px) {
    .drawer-menu {
        width: 84vw;
        min-width: 120px;
        max-width: 90vw;
    }
    .drawer-close {
        right: calc(84vw + 10px);
    }
}
  .drawer-close.active {
    display: flex;
    top: 0;
  }
  .drawer-close span {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    position: relative;
    left: 2px;
  }
  .drawer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .drawer-menu ul li {
    padding: 18px 0;
    border-bottom: 1px solid #E0E0E0;
    cursor: pointer;
  }
  .drawer-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
  }
  .drawer-menu ul li a:hover {
    color: var(--primary-color, #ff008c);
  }
  .drawer-menu .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .drawer-menu .menu-item-icon img {
    width: 20px;
    height: 20px;
    color: var(--primary-color, #ff008c);
  }
  .drawer-menu .menu-item-icon img.menu-right-icon {
    width: 16px;
    height: 16px;
  }
  .drawer-menu .menu-item-content.menu-item-parent,  #drawer-body-submenu-language .menu-item-content {
    display: flex;
    width: 100%;
    gap: 0.6rem;

  }
  .drawer-menu .menu-item-parent > .menu-item-content {
    display: flex;
    flex-direction: column;
  }
  .drawer-menu .menu-item-text {
    display: flex;
  }
  .drawer-menu .menu-item-content .menu-title {
    font-size: 1.6rem;
    font-weight: 600;
  }
  .drawer-menu .menu-item-content .menu-item-inner {
    display: flex;
    align-items: center;
  }
  .drawer-menu .menu-content {
    font-size: 1.2rem;
    color: #676767;
  }
  
  .drawer-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: #4D4D4DBF;
    z-index: 1999;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  .drawer-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
  }
  .drawer-menu {
    /* ...existing styles... */
    z-index: 2000;
  }
  @media (max-width: 767px) {
    .drawer-menu {
      width: 84vw;
      min-width: 120px;
      max-width: 90vw;
    }
    .drawer-close {
        left: 0px;
        right: auto;
        margin: 16px 0 0 10px;
        align-self: flex-start;
    }
  }
  
  .drawer-main-menu .has-submenu {
    position: relative;
  }
  .drawer-main-menu .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .drawer-main-menu .submenu-arrow {
    font-size: 1rem;
    margin-left: 8px;
    transition: transform 0.2s;
  }
  .drawer-header {
    height: 50px;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
  }
  .drawer-header.back-button-enabled {
    cursor: pointer;
  }
  .drawer-header-title-container {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    gap: 6px;
  }
  .drawer-header-title {
    position: relative;
    bottom: 2px;
  }
  .drawer-header-icon {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .drawer-header-back {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 10px;
  }
  .menu-item-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu-item-parent .menu-item-icon {
    width: 18px;
    height: 18px;
  }
  .drawer-content .menu-item-inner .menu-item-icon {
    margin-right: 4px;
  }
  .drawer-main-menu .selected {
    color: #ff008c;
    padding-right: 16px;
  }

  .selected .menu-item-content {
    justify-content: space-between;
    padding-right: 10px;
  }
  .selected::after {
    content: '';
    display: inline-block;
    width: 20px;           /* Adjust size as needed */
    height: 20px;
    background: url('../images/selected.svg') no-repeat center center / contain;
    margin-left: 8px;      /* Optional: space between text and image */
    vertical-align: middle;
  }
  .hidden {
    display: none !important;
  }
  .chat-status-buttons {
    display: flex;
    gap: 5px;
    margin-top: 1rem;
  }
  .btn-sm {
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid #ff008c;
    color: #ff008c;
    font-size: 10px;
    cursor: pointer;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    font-weight: 500;
    display: flex;
    align-items: center;
  }
  
  .carrier-sublabel {
    font-size: 13px;
  }

/* UQ Mobile Carrier Styling */
.uq-brand-text {
  color: #2794fc; /* UQ brand blue color */

}

.mobile-text {
  color: rgb(228, 0, 127); /* Black color for "mobile" text */
  font-size: 13px;
}

.messages-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    padding: 0 16px;
    overflow-y: auto;
}

/* Campaign Modal Styles */
.campaign-modal {
    align-items: flex-start;
}
.campaign-modal-header {
    border-bottom: 0;
    padding: 8px 13px 0;
}

.campaign-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.campaign-modal-content {
    background-color: #fff;
    border-radius: 6px;
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.campaign-modal-body {
    overflow-y: auto;
    flex: 1;
    line-height: 1.5;
    background-color: #fff;
    padding: 15px 13px;

}

.campaign-modal-body h2 {
    padding: 16px;
    background: #EDEDED;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
}

.campaign-rule-container {
    padding: 0 13px;
}

.campaign-section {
    
}

.campaign-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 150%;
    padding: 16px 0 6px;
}

.campaign-section p {
    font-size: 16px;
    color: #333;
    line-height: 150%;
    padding-bottom: 6px;
}

.campaign-section .condition-item, .campaign-section .sub-condition {
    margin: 10px 0;
    font-size: 16px !important;
    line-height: 150%;
}

.campaign-section .condition-item .condition-heading {
    font-weight: 700;
    font-size: inherit !important;
}

.campaign-section .condition-item .condition-detail {
    margin-bottom: 16px;
    margin-top: 0;
    font-size: inherit !important;
}

.condition-item-disclaimer p {
    margin: 0;
    font-size: 12px !important;
    line-height: 140%;
}

.condition-item-disclaimer .condition-item-disclaimer-pink {
    color: #FF008C !important;
    font-weight: 700;
}

.campaign-section .sub-condition p {
    font-size: inherit !important;
}

.point-info {
    margin: 10px 0;
}

.point-info p {
    font-size: 11px;
    color: #666;
    margin: 3px 0;
}

.highlight-date {
    color: #FF008C;
    font-weight: 600;
}

.highlight-text {
    color: #e60012;
    font-weight: 500;
}

.campaign-section .highlight-notice {
    color: #FF008C;
    font-weight: 700;
    font-size: 12px !important;
    line-height: 140%;
    padding-bottom: 0;
    margin: 0;
}

.campaign-section .highlight-bracket {
    color: #FF008C;
    font-weight: 700;
    font-size: 16px !important;
    line-height: 150%;
    padding-top: 16px;
}

.highlight-section {
    background-color: #fffacd;
    padding: 10px;
    border-left: 3px solid #FF008C;
    margin: 12px 0;
}

.highlight-section p {
    margin: 2px 0;
}

/* Campaign condition styling */
.condition-detail {
    font-size: 12px !important;
    color: #333;
    margin: 4px 0 4px 16px;
    line-height: 1.4;
}

.sub-condition {
    margin: 6px 0 6px 16px;
}

.sub-condition p {
    margin: 3px 0;
}

.condition-number {
    color: #333;
    font-weight: normal;
}

.condition-note {
    font-size: 11px !important;
    color: #666;
    margin: 2px 0 2px 16px;
}

.condition-subtitle {
    font-size: 16px !important;
    color: #333;
    margin: 6px 0 4px 0;
}

.employee-referral .chat-gpt-q-lst li:nth-child(3),
.employee-referral #example_3_msg {
    display: none;
}

.inline-block {
    display: inline-block;
}