.verflab-ai-chat-app-wrapper {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 30px auto 48px auto !important;
    padding: 0 24px !important;
    font-family: 'GT America', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111111;
    box-sizing: border-box !important;
    overflow: hidden !important;
}


.verflab-ai-chat-layout {
    display: flex;
    height: calc(100vh - 140px);
    min-height: 680px;
    background-color: #ffffff;
    border: 1px solid #e7e3dc;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

/* LEFT SIDEBAR */
.verflab-ai-sidebar {
    width: 300px;
    flex-shrink: 0;
    background-color: #f7f4f0;
    border-right: 1px solid #e7e3dc;
    display: flex;
    flex-direction: column;
    padding: 24px;
    box-sizing: border-box;
}

.sidebar-header {
    margin-bottom: 24px;
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.brand-title .sparkle-icon {
    font-size: 20px;
}

.brand-title h2 {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    margin: 0;
    line-height: 1.2;
}

.brand-title .subtext {
    font-size: 12px;
    color: #6b6862;
    display: block;
}

.btn-new-chat {
    width: 100%;
    background-color: #313a29;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-new-chat:hover {
    background-color: #111111;
}

.sidebar-history-section {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
}

.history-title {
    font-size: 13px;
    font-weight: 700;
    color: #6b6862;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.history-item:hover {
    background-color: #eae6df;
}

.history-item.active {
    background-color: #eae6df;
}

.history-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.history-item .item-title {
    font-size: 13.5px;
    color: #111111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.history-item.active .item-title {
    font-weight: 700;
}

.history-item .item-time {
    font-size: 11px;
    color: #88847d;
    white-space: nowrap;
}


.history-item .item-time {
    font-size: 11px;
    color: #88847d;
}

.sidebar-store-help-card {
    background-color: #ffffff;
    border: 1px solid #e7e3dc;
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.sidebar-store-help-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 6px 0;
}

.sidebar-store-help-card p {
    font-size: 12px;
    color: #6b6862;
    margin: 0 0 12px 0;
    line-height: 1.35;
}

.btn-store-finder {
    display: inline-block;
    background-color: #313a29;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: background-color 0.2s ease;
}

.btn-store-finder:hover {
    background-color: #111111;
}

.sidebar-store-help-card .card-image-wrap {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-store-help-card .card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT WORKSPACE */
.verflab-ai-main-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    position: relative;
}

.mobile-toggle-sidebar-btn {
    display: none;
    padding: 10px 16px;
    background-color: #f7f4f0;
    border: none;
    border-bottom: 1px solid #e7e3dc;
    font-size: 14px;
    font-weight: 700;
    color: #313a29;
    cursor: pointer;
    text-align: left;
}

.chat-feed-container {
    flex: 1;
    overflow-y: auto;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
}

.welcome-greeting-box {
    margin-bottom: 32px;
}

.greeting-heading {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 8px 0;
}

.greeting-subtext {
    font-size: 16px;
    color: #6b6862;
    margin: 0 0 28px 0;
}

.quick-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-pill-btn {
    background-color: #f7f4f0;
    border: 1px solid #e7e3dc;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-pill-btn:hover {
    background-color: #313a29;
    color: #ffffff;
    border-color: #313a29;
}

.messages-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chat-row.user-row {
    display: flex;
    justify-content: flex-end;
}

.chat-bubble-user {
    background-color: #f4efec;
    border-radius: 18px 18px 4px 18px;
    padding: 14px 20px;
    max-width: 70%;
    color: #111111;
    font-size: 15px;
    line-height: 1.45;
    position: relative;
}

.chat-bubble-user .msg-time {
    display: block;
    text-align: right;
    font-size: 11px;
    color: #88847d;
    margin-top: 4px;
}

.chat-row.ai-row {
    display: flex;
    justify-content: flex-start;
}

.chat-card-ai {
    background-color: #ffffff;
    border: 1px solid #e7e3dc;
    border-radius: 18px 18px 18px 4px;
    padding: 24px;
    max-width: 85%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    position: relative;
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.ai-card-header .sparkle {
    font-size: 18px;
}

.ai-card-header .ai-name {
    font-size: 13px;
    font-weight: 700;
    color: #313a29;
}

.chat-card-ai .ai-content {
    font-size: 15px;
    line-height: 1.55;
    color: #111111;
}

.chat-card-ai .ai-content p {
    margin: 0 0 12px 0;
}

.chat-card-ai .ai-content p:last-child {
    margin-bottom: 0;
}

.chat-card-ai .ai-content ul,
.chat-card-ai .ai-content ol {
    margin: 8px 0 16px 20px;
    padding: 0;
}

.chat-card-ai .ai-content li {
    margin-bottom: 6px;
}

.chat-card-ai .ai-time {
    display: block;
    font-size: 11px;
    color: #88847d;
    margin-top: 12px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background-color: #f7f4f0;
    border-radius: 16px;
    width: fit-content;
}

.typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #313a29;
    animation: typingBlink 1.4s infinite both;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBlink {

    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    40% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.chat-input-sticky-footer {
    padding: 20px 48px 16px 48px;
    background-color: #ffffff;
    border-top: 1px solid #f0ece6;
}

.chat-input-form {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f7f4f0 !important;
    border: 1px solid #e7e3dc !important;
    border-radius: 30px !important;
    padding: 6px 8px 6px 20px !important;
    transition: border-color 0.2s ease;
    box-sizing: border-box !important;
}

.chat-input-form:focus-within {
    border-color: #313a29 !important;
    background-color: #f7f4f0 !important;
}

.chat-text-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    font-size: 15px;
    color: #111111;
    outline: none !important;
    box-shadow: none !important;
    padding: 10px 0;
}

.btn-send-circle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background-color: #313a29 !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: background-color 0.2s ease;
}

.btn-send-circle .send-text-arrow {
    display: block !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.btn-send-circle:hover {
    background-color: #111111 !important;
}

.disclaimer-footer-text {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: #88847d;
}

@media (max-width: 992px) {
    .verflab-ai-chat-app-wrapper {
        margin: 16px auto 28px auto !important;
        padding: 0 16px !important;
    }

    .verflab-ai-chat-layout {
        flex-direction: column;
        height: auto;
        min-height: 580px;
        border-radius: 18px;
    }

    .verflab-ai-sidebar {
        width: 100%;
        display: none;
        border-right: none;
        border-bottom: 1px solid #e7e3dc;
        padding: 18px 16px;
    }

    .verflab-ai-sidebar.mobile-open {
        display: flex;
    }

    .mobile-toggle-sidebar-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 12px 18px;
    }

    .chat-feed-container {
        padding: 24px 20px;
        max-height: 60vh;
    }

    .greeting-heading {
        font-size: 26px;
    }

    .greeting-subtext {
        font-size: 14.5px;
        margin-bottom: 20px;
    }

    .chat-bubble-user {
        max-width: 85%;
        padding: 12px 16px;
        font-size: 14.5px;
    }

    .chat-card-ai {
        max-width: 92%;
        padding: 18px;
    }

    .chat-input-sticky-footer {
        padding: 14px 18px;
    }
}

@media (max-width: 576px) {
    .verflab-ai-chat-app-wrapper {
        margin: 10px auto 20px auto !important;
        padding: 0 10px !important;
    }

    .verflab-ai-chat-layout {
        border-radius: 14px;
        min-height: 520px;
    }

    .chat-feed-container {
        padding: 16px 12px;
        max-height: 65vh;
    }

    .greeting-heading {
        font-size: 22px;
    }

    .greeting-subtext {
        font-size: 13.5px;
        margin-bottom: 16px;
    }

    .quick-pills-row {
        gap: 8px;
    }

    .quick-pill-btn {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 16px;
    }

    .chat-bubble-user {
        max-width: 90%;
        padding: 10px 14px;
        font-size: 14px;
    }

    .chat-card-ai {
        max-width: 96%;
        padding: 14px;
        border-radius: 14px 14px 14px 4px;
    }

    .chat-card-ai .ai-content {
        font-size: 14px;
    }

    .chat-input-sticky-footer {
        padding: 10px 10px 12px 10px;
    }

    .chat-input-form {
        padding: 4px 6px 4px 12px !important;
        gap: 6px;
    }

    .chat-text-input {
        font-size: 13.5px;
        padding: 8px 0;
    }

    .btn-upload-img-circle {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
        margin-right: 4px !important;
    }

    .btn-send-circle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }

    .btn-send-circle .send-text-arrow {
        font-size: 16px !important;
    }

    .disclaimer-footer-text {
        font-size: 11px;
        margin-top: 6px;
    }
}