* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f7f7fb;
    color: #1a1a1a;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== PC: 3カラム メニュー｜ボディ｜プロフィール max-width 100% ===== */
.front-layout-pc {
    display: grid;
    grid-template-columns: minmax(160px, auto) 1fr minmax(120px, auto);
    max-width: 100%;
    min-height: 100vh;
}

.front-column-menu {
    background: #fff;
    border-right: 1px solid #e5e5ef;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.front-column-menu .front-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
}

.global-nav-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.global-nav-vertical .global-link {
    padding: 10px 12px;
    border-radius: 5px;
    border-bottom: none;
}

.global-nav-vertical .global-link.active {
    background: #eef2ff;
    color: #111827;
}

.front-column-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.front-column-body.container,
.container {
    max-width: 100%;
    margin: 0;
    padding: 10px 10px;
    padding-bottom: 80px;
    /* スマホ固定フッター用 */
}

.front-column-profile {
    background: #fff;
    border-left: 1px solid #e5e5ef;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.front-column-profile .profile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
}

.front-column-profile .profile-link:hover {
    background: #f3f4f6;
    color: #111827;
}

.front-column-profile .mypage-icon::before {
    content: "👤";
}

/* ===== 共通: ロゴ・グローバルメニュー ===== */

.front-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #111827;
}

.global-nav {
    display: flex;
    gap: 8px 20px;
    flex-wrap: wrap;
}

.global-link {
    font-size: 14px;
    padding: 10px 2px;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #666;
    border-bottom: 2px solid transparent;
}

.global-link.active {
    color: #111827;
    border-bottom-color: #111827;
    font-weight: bold;
}

.front-header-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    background: transparent;
    height: 50px;
    padding: 3px 0;
    box-sizing: border-box;
    margin-bottom: 10px;
}

.front-back {
    color: #191919;
    text-decoration: none;
    padding: 0;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e5ef;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.front-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.front-back-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
}

.front-mobile-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    flex: 1;
}

.header {
    margin-bottom: 5px;
    padding: 5px 0;
}

.front-nav-row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.front-nav-row .global-nav {
    margin-bottom: 0;
    flex-wrap: wrap;
}

.event-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.event-card {
    background: #fff;
    border: 1px solid #e5e5ef;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.event-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
}

.event-date {
    font-size: 20px;
    color: #1a1a1a;
}

.event-details {
    margin-top: 8px;
    white-space: pre-wrap;
}

.event-details.event-details-html {
    white-space: pre-line;
}

.event-details-html :first-child {
    margin-top: 0;
}

.event-details-html iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 180px;
    border: 0;
    display: block;
    margin-top: 10px;
    border-radius: 8px;
}

.event-details-html img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.event-location {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.event-map {
    margin-top: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e5ef;
}

.event-map iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    display: block;
}

.news-list {
    display: grid;
    gap: 16px;
}

.news-card {
    background: #fff;
    border: 1px solid #e5e5ef;
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.news-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.news-date {
    font-size: 14px;
    color: #7c7c8a;
}

.news-body {
    margin-top: 8px;
    white-space: pre-wrap;
}

.news-body.news-body-html {
    white-space: pre-line;
}

.news-body-html :first-child {
    margin-top: 0;
}

.news-body-html iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 180px;
    border: 0;
    display: block;
    margin-top: 10px;
    border-radius: 8px;
}

.news-body-html img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.news-room {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #3949ff;
    background: #eef0ff;
    padding: 4px 8px;
    border-radius: 999px;
}

.filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.filter-link {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #e5e5ef;
    background: #fff;
}

.filter-link.active {
    background: #3949ff;
    border-color: #3949ff;
    color: #fff;
}

.event-room {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #3949ff;
    background: #eef0ff;
    padding: 4px 8px;
    border-radius: 999px;
}

.header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lang-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-label {
    font-size: 12px;
    color: #666;
}

.lang-form select {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d9d9e3;
    background: #fff;
    font-size: 14px;
}

select {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d9d9e3;
    background: #fff;
    font-size: 14px;
}

.mypage-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #111827;
}

.mypage-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #111827;
    display: inline-block;
}

.profile-item {
    display: grid;
    gap: 6px;
}

.profile-label {
    font-weight: bold;
    font-size: 13px;
    color: #111827;
}

.profile-link {
    margin-left: 8px;
    font-size: 12px;
    color: #3949ff;
}

.muted {
    color: #666;
    margin-top: 6px;
}

.card {
    background: #fff;
    border: 1px solid #e5e5ef;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

/* マイページ: 状態カード（メインカードの上） */
.card-status {
    margin-bottom: 12px;
}

.card-status .card-status-label {
    margin: 0 0 4px;
    font-size: 12px;
    color: #374151;
    opacity: 0.9;
}

.card-status .card-status-value {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.card-status-active {
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.card-status-active .card-status-value {
    color: #0369a1;
}

.card-status-inactive {
    background: #fee2e2;
    border-color: #fca5a5;
}

.card-status-inactive .card-status-value {
    color: #b91c1c;
}
.card-status-pending {
    background: #fffbeb;
    border-color: #fde68a;
}
.card-status-pending .card-status-value {
    color: #92400e;
}

/* ECページ：ヘッダ直下ナビ（ECトップ｜注文履歴｜カート🛒バッジ） */
.ec-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 4px;
    padding: 10px 0 14px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e5e5ef;
    font-size: 15px;
}

.ec-nav-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.ec-nav-link:hover {
    text-decoration: underline;
}

.ec-nav-link.active {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.ec-nav-sep {
    color: #9ca3af;
    user-select: none;
}

.ec-nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ec-cart-icon {
    font-size: 1.1em;
    line-height: 1;
}

.ec-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 11px;
    line-height: 1;
}

.ec-nav-link.active .ec-cart-badge {
    background: #1e3a8a;
}

.room-group-title {
    margin: 14px 0 8px;
    font-size: 14px;
    color: #374151;
}

.section-header {
    margin-bottom: 10px;
}

.section-title {
    margin: 0;
    font-size: 16px;
}

.section-desc {
    margin: 4px 0 0;
}

.plan-hero {
    padding: 8px 4px 0;
}

.plan-title {
    margin: 0;
    font-size: 22px;
}

.plan-subtitle {
    margin: 6px 0 0;
    color: #6b7280;
}

.plan-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.plan-card {
    border: 1px solid #e5e5ef;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.plan-card.highlight {
    border-color: #3949ff;
    box-shadow: 0 10px 22px rgba(57, 73, 255, 0.2);
}

.plan-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.plan-badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef0ff;
    color: #3949ff;
    font-weight: bold;
}

.plan-desc {
    margin: 8px 0 0;
    color: #374151;
}

.plan-price {
    margin: 10px 0 8px;
    font-weight: bold;
    color: #111827;
}

.plan-current {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
}

.plan-features {
    margin: 10px 0 14px;
    padding-left: 18px;
    color: #4b5563;
}

.plan-features li {
    margin-bottom: 6px;
}

.plan-note {
    margin-top: 12px;
}

.plan-benefits {
    margin-bottom: 24px;
}

.plan-benefits .section-title {
    margin: 0 0 12px;
    font-size: 18px;
}

.plan-benefits-list {
    margin: 0;
    padding-left: 20px;
    color: #374151;
    line-height: 1.8;
}

.plan-benefits-list li {
    margin-bottom: 6px;
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.list.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .list.grid-2 {
        grid-template-columns: 1fr;
    }
}

.list-item {
    /* padding: 10px 12px; */
    border-radius: 8px;
    background: #f2f3ff;
}

.room-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f3ff;
}

.room-thumb-sm {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    background: #e9e9f5;
}

.room-thumb-placeholder {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: #e9e9f5;
}

.room-name {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.25);
}

.room-capacity {
    position: absolute;
    right: 8px;
    bottom: 8px;
    font-size: 11px;
    color: #fff;
    background: rgba(17, 24, 39, 0.7);
    padding: 4px 8px;
    border-radius: 999px;
}

.actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.button {
    display: inline-block;
    padding: 10px 16px;
    min-width: 5.5em;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
    background: #3949ff;
    color: #fff;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.button.outline {
    background: transparent;
    color: #3949ff;
    border: 1px solid #3949ff;
}

/* カート：保存｜注文するボタン */
.ec-cart-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.ec-cart-actions .button {
    text-decoration: none;
    font-size: 1rem;
}

.ec-cart-actions .button:not(.outline) {
    padding: 12px 24px;
    font-weight: 600;
}

.label {
    display: block;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 6px;
}

.button-icon {
    display: none;
    /* Hide icon on PC by default */
}

input,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9e3;
    border-radius: 6px;
    font-size: 14px;
}

.password-field {
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-field input {
    flex: 1;
}

.password-toggle {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #d9d9e3;
    background: #ffffff;
    font-size: 12px;
    color: #111827;
    cursor: pointer;
    white-space: nowrap;
}

.stack {
    display: grid;
    gap: 10px;
}

.chat-window {
    min-height: 180px;
    max-height: min(72vh, 640px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Increased gap */
    padding: 16px 12px 60px;
    /* Added padding to ensure space at bottom */
    background: #84a1c5;
    /* LINE-like blue background */
}

.chat-scroll-target {
    flex-shrink: 0;
    height: 1px;
    width: 100%;
    margin-top: 10px;
    pointer-events: none;
}

.chat-line {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    width: 100%;
}

.chat-line.mine {
    align-items: flex-end;
}

.chat-line.theirs {
    align-items: flex-start;
}

.chat-bubble-container {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    max-width: 88%;
}

.mine .chat-bubble-container {
    flex-direction: row-reverse;
}

.chat-message-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    background: #ffffff;
    font-size: 15.5px;
    line-height: 1.5;
    color: #111;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Standard */
    word-break: normal;
    display: block;
    width: auto;
    position: relative;
}

.mine .chat-message-bubble {
    background: #95eb7a;
    border-top-right-radius: 4px;
    /* Small triangle-like tip */
}

.theirs .chat-message-bubble {
    background: #ffffff;
    border-top-left-radius: 4px;
}

/* 自分: 右詰・左に20pxの余白・薄いグリーン */
.chat-line.mine:not(.admin) {
    align-self: flex-end;
}

/* 他人: 左詰・右に20pxの余白 */
.chat-line.theirs:not(.admin) {
    align-self: flex-start;
}

.chat-line.admin {
    background: #1f2937;
    color: #f9fafb;
}

.chat-line.admin.theirs {
    align-self: flex-start;
    margin-right: 20px;
    margin-left: 0;
    max-width: min(92%, calc(100% - 20px));
}

.chat-line.admin .chat-meta {
    color: #cbd5f5;
}

.chat-admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fbbf24;
    color: #111827;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 6px;
}

.chat-line.error {
    background: #ffecec;
    color: #b91c1c;
}

.chat-message {
    white-space: pre-wrap;
}

.chat-author {
    font-size: 11.5px;
    color: #ffffff;
    margin-bottom: 4px;
    padding-left: 4px;
    font-weight: 500;
}

.chat-meta {
    font-size: 10.5px;
    color: #ffffff;
    opacity: 0.85;
    padding-bottom: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

.chat-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    opacity: 0.8;
}

.mine .chat-actions {
    justify-content: flex-end;
    margin-right: 4px;
}

.theirs .chat-actions {
    justify-content: flex-start;
    margin-left: 4px;
}

.chat-link,
.chat-link-button {
    font-size: 11px;
    color: #f0f0ff;
    /* Link color on blue background */
    text-decoration: underline;
}

.chat-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.chat-form .label {
    display: none;
}

.chat-form input[type="text"],
.chat-form textarea {
    flex: 1;
    min-width: 0;
    width: 100%;
    resize: none;
    border-radius: 20px;
    padding: 10px 16px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    margin: 0;
    box-sizing: border-box;
}

.chat-form .actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex-shrink: 0;
}

.chat-form .button {
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 600;
}

.chat-form .button.submit-button {
    width: 44px;
    height: 44px;
    min-width: 0;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3949ff;
    color: #fff;
    flex-shrink: 0;
}

.chat-form .button.submit-button .button-icon {
    display: flex;
    margin-left: -2px;
}

.chat-form .button.submit-button .button-text {
    display: none;
}

.chat-link,
.chat-link-button {
    font-size: 13px;
    color: #3949ff;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.inline-form {
    display: inline;
    margin: 0;
}

.ec-product-image {
    margin-bottom: 12px;
}

.ec-product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.ec-product-image--card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f0f5;
}

.ec-product-image--card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ec-product-image-placeholder {
    width: 100%;
    min-height: 180px;
    background: #e5e5ef;
    border-radius: 8px;
}

.ec-product-image--card .ec-product-image-placeholder {
    position: absolute;
    inset: 0;
    min-height: 0;
}

.ec-price {
    font-size: 1.1em;
    font-weight: bold;
    margin: 8px 0;
}

.ec-description {
    margin: 12px 0;
    white-space: pre-wrap;
}

.ec-cart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.ec-cart-table th,
.ec-cart-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e5ef;
}

.ec-cart-table th {
    font-weight: 600;
}

.ec-footer {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #e5e5ef;
    font-size: 13px;
    color: #666;
}

.ec-footer a {
    color: #666;
}

.ec-footer a:hover {
    color: #111827;
}

.ec-footer-sep {
    margin: 0 8px;
    color: #999;
}

.ec-footer-copyright {
    margin: 12px 0 0;
    font-size: 12px;
    color: #999;
}

/* ===== スマホ固定フッターメニュー（アイコン+メニュー名） ===== */
.front-footer-mobile {
    display: none;
}

/* スマホレイアウト: 1カラム、メニュー・プロフィール非表示 */
@media (max-width: 768px) {
    .front-layout-pc {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        min-height: 100vh;
    }

    .front-column-menu,
    .front-column-profile {
        display: none;
    }

    .front-column-body.container,
    .container {
        max-width: 100%;
        padding-top: 60px;
        padding-bottom: 120px;
        /* Space for fixed chat input */
        padding-left: 0;
        padding-right: 0;
    }

    /* スマホ: フッター（特商法・プライバシー・利用規約）を常に一番下に */
    .front-column-body .ec-footer {
        margin-top: auto;
    }

    .front-header-mobile {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 101;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 3px 10px;
        margin-bottom: 0;
    }

    /* 固定フッターメニュー */
    .front-footer-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #e5e5ef;
        padding: 8px 0;
        z-index: 100;
        justify-content: space-around;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    }

    .front-footer-mobile a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        font-size: 10px;
        color: #666;
        padding: 4px 8px;
    }

    .front-footer-mobile a.active {
        color: #3949ff;
        font-weight: bold;
    }

    .front-footer-mobile .footer-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .front-footer-mobile .footer-icon svg {
        width: 22px;
        height: 22px;
        color: inherit;
    }

    .front-footer-mobile a.active .footer-icon svg {
        stroke: currentColor;
    }

    /* Fixed Input for Room View (LINE-style) */
    .chat-form-container {
        position: fixed;
        bottom: 0px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 0;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
        z-index: 110;
        border: none;
        /* No side borders */
        box-sizing: border-box;
    }

    .chat-form-container .label {
        display: none;
        /* Hide label to save space in app-like view */
    }

    .chat-form {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .chat-form input[type="text"],
    .chat-form textarea {
        flex: 1;
        min-width: 0;
        width: 100%;
        margin: 0;
        padding: 10px 14px;
        line-height: 1.4;
        box-sizing: border-box;
        font-size: 16px;
    }

    .chat-form .actions {
        margin: 0;
        gap: 6px;
        flex-shrink: 0;
    }

    .chat-form .button.submit-button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #3949ff;
        color: #fff;
        flex-shrink: 0;
    }

    .chat-form .button.submit-button .button-text {
        display: none;
        /* Icon only on mobile */
    }

    .chat-form .button.submit-button .button-icon {
        display: flex;
        margin-left: -2px;
        /* Visual center for the send arrow */
    }

    .chat-form .button.outline {
        display: none;
    }

    .chat-window {
        max-height: unset;
        flex: 1;
        margin-bottom: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 16px 14px 40px;
    }

    .chat-bubble-container {
        max-width: 85%;
        /* standard LINE width */
    }

    .chat-message-bubble {
        padding: 10px 14px;
        font-size: 15.5px;
        line-height: 1.5;
    }

    .chat-actions {
        padding: 0 4px;
    }
}