.chatbot-widget {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    padding: 24px;
}

.chatbot-widget__header {
    margin-bottom: 16px;
    position: absolute;
    z-index: 3;
}

.chatbot-widget__eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff7a00;
    font-weight: 600;
    margin-bottom: 8px;
}

.chatbot-widget__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.chatbot-widget__subtitle {
    margin-bottom: 0;
    color: #6c757d;
}

.chatbot-widget__body {
    display: flex;
    flex-direction: column;
    height: 420px;
    position: relative;
}

.chatbot-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-window {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.message {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    max-width: 80%;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.message.user {
    margin-left: auto;
    background: #e6f4ff;
    border-bottom-right-radius: 4px;
}

.message.bot {
    margin-right: auto;
    background: #ffffff;
    border-bottom-left-radius: 4px;
}

.meta {
    font-size: 11px;
    margin-bottom: 6px;
    color: #6c757d;
}

.message__content a {
    color: #007bff;
    text-decoration: underline;
    word-break: break-word;
}

.message__content {
    font-size: 14px;
    line-height: 1.6;
    color: #212529;
}

.input-bar {
    display: flex;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(99, 102, 241, 0.12);
}

.input-bar__textarea {
    flex: 1;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    padding: 10px 12px;
    resize: none;
    font-size: 14px;
    line-height: 1.4;
    min-height: 48px;
    max-height: 120px;
}

.input-bar__textarea:disabled {
    background: #f1f3f5;
    cursor: not-allowed;
}

.input-bar__button {
    background: linear-gradient(135deg, #ff7a00, #ffb347);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button.hero-primary-cta {
    border: none;
    cursor: pointer;
}

.chatbot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 2;
    text-align: center;
    padding: 24px;
}

.chatbot-overlay__cta {
    box-shadow: 0 20px 35px rgba(255, 122, 0, 0.35);
}

.input-bar__button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 122, 0, 0.3);
}

.input-bar__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.chatbot-secondary-actions {
    margin-top: 24px;
    text-align: center;
}

.chatbot-secondary-actions p {
    margin-bottom: 12px;
    color: #6c757d;
}

.chatbot-secondary-actions .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 6px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chatbot-secondary-actions .btn-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #ff7a00, #ffb347);
    box-shadow: 0 12px 26px rgba(255, 122, 0, 0.35);
    margin: 0 6px 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-secondary-actions .btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(255, 122, 0, 0.4);
    color: #ffffff !important;
}

.chatbot-secondary-actions .btn-outline:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.hero-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a00, #ffb347);
    color: #ffffff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 15px 30px rgba(255, 122, 0, 0.35);
}

.hero-primary-cta i {
    font-size: 20px;
}

.hero-secondary-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-secondary-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-weight: 600;
}

.hero-secondary-links a i {
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .chatbot-widget {
        padding: 20px;
    }

    .chatbot-widget__body {
        height: 380px;
    }
}

@media (max-width: 767.98px) {
    .chatbot-widget__body {
        height: 340px;
    }

    .chatbot-secondary-actions {
        text-align: left;
    }

    .chatbot-secondary-actions .btn-outline {
        margin-bottom: 10px;
    }

    .chatbot-secondary-actions .btn-call {
        width: 100%;
        margin-bottom: 10px;
    }
}
