.chat-form-container {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 500px;
    margin: 20px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    /* Added for responsive height */
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

/* Progress Bar */
.chat-progress-wrapper {
    padding: 15px 15px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-question-counter {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 500;
}

.chat-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.chat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.4s ease;
    width: 0%;
}

.chat-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-messages {
    flex: 0 1 auto;
    height: auto;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    animation: fadeIn 0.3s ease;
    word-wrap: break-word;
}

.chat-message.bot {
    background: rgba(255, 255, 255, 0.8);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-message.user {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-message.success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.chat-message.error {
    background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
    color: white;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 15px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

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

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

.chat-input-area {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
    max-height: 60vh;
    overflow-y: auto;
}

/* Text Input */
.chat-input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    min-width: 200px;
    transition: all 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chat-input.shake {
    animation: shake 0.5s;
}

.chat-submit-btn {
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 600;
}

.chat-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chat-submit-btn:active {
    transform: translateY(0);
}

.restart-btn {
    width: 100%;
}

/* Back Button */
.chat-back-btn {
    width: 100%;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.5);
    color: #667eea;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    margin-top: 8px;
}

.chat-back-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 126, 234, 0.6);
    transform: translateX(-3px);
}

.chat-back-btn:active {
    transform: translateX(0);
}

/* Option Buttons */
.chat-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.chat-option-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 15px;
    color: #333;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.4s ease forwards;
    opacity: 0;
}

.chat-option-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(255, 255, 255, 1);
}

.chat-option-btn:active,
.chat-option-btn.selected {
    transform: translateY(-1px) scale(0.98);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.chat-option-btn .option-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.chat-option-btn .option-label {
    flex: 1;
    font-weight: 500;
}

/* File Upload */
.chat-file-upload {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
}

.chat-file-input {
    display: none;
}

.chat-file-label {
    flex: 1;
    padding: 10px 15px;
    border-radius: 20px;
    border: 2px dashed rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.chat-file-label:hover {
    border-color: rgba(102, 126, 234, 0.8);
    background: rgba(255, 255, 255, 1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Scrollbar */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 10px;
}


/* Chat Form Popup Modal */
#chat-form-popup-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.chat-popup-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.chat-popup-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 400px;
    max-width: 90%;
    height: 600px;
    max-height: 80vh;
    background: transparent;
    /* Container handles its own background */
    display: flex;
    flex-direction: column;
    animation: slideUpFade 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.chat-popup-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.chat-popup-close-btn:hover {
    background: #f0f0f0;
    color: red;
}

@keyframes slideUpFade {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ── Account Registration Widget ── */
.chat-account-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Logged-in state */
.account-logged-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-align: center;
}

.account-avatar {
    font-size: 2em;
    line-height: 1;
}

.account-logged-in p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

/* Tab row */
.account-tabs {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.35);
}

.account-tab {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    transition: background 0.2s ease, color 0.2s ease;
}

.account-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.account-tab:not(.active):hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Tab content panels */
.account-tab-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-tab-content .chat-input {
    flex: none;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 14px;
    padding: 10px 14px;
    min-width: 0;
}

/* Feedback messages */
.account-msg {
    display: none;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
}

.account-msg.error {
    background: rgba(214, 54, 56, 0.12);
    color: #c0392b;
    border: 1px solid rgba(214, 54, 56, 0.25);
}

.account-msg.success {
    background: rgba(0, 160, 70, 0.1);
    color: #007a38;
    border: 1px solid rgba(0, 160, 70, 0.25);
}

.account-tab-content .chat-submit-btn {
    width: 100%;
    border-radius: 8px;
    margin-top: 2px;
}

/* ============================================================
   LEO theme override — applied last so inline (shortcode) chat
   renders match the LEO widget aesthetic. Per-form overrides
   come from --cw-border-color and --cw-border-radius set on
   ancestor elements; default to LEO's indigo-neon.
   ============================================================ */

@keyframes leoFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes leoTypingDot {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1);   opacity: 1;   }
}

.chat-form-container {
    background: linear-gradient(180deg, #0f172a, #0b1020) !important;
    color: #f3f4f6 !important;
    font-family: Montserrat, "Segoe UI", Roboto, Arial, sans-serif !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: var(--cw-border-radius, 24px) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: hidden;
    max-width: 520px;
    margin: 24px auto;
    display: flex;
    flex-direction: column;
}

.chat-form-container .chat-header {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.15)) !important;
    color: #f3f4f6 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 18px 25px !important;
    font-weight: 800;
}

.chat-form-container .chat-header h3 {
    color: #f3f4f6 !important;
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.chat-form-container .chat-progress-wrapper {
    background: rgba(0, 0, 0, 0.25) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 12px 20px 8px !important;
}

.chat-form-container .chat-question-counter {
    color: #818cf8 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-align: left !important;
    margin-bottom: 6px !important;
}

.chat-form-container .chat-progress-bar {
    background: rgba(255, 255, 255, 0.08) !important;
    height: 4px !important;
    border-radius: 999px !important;
}

.chat-form-container .chat-progress-fill {
    background: linear-gradient(90deg, var(--cw-border-color, #4f46e5), #818cf8) !important;
    border-radius: 999px !important;
}

.chat-form-container .chat-messages {
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 25px !important;
    gap: 16px !important;
}

.chat-form-container .chat-messages::-webkit-scrollbar { width: 8px; }
.chat-form-container .chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-form-container .chat-messages::-webkit-scrollbar-thumb { background: #252532; border-radius: 4px; }
.chat-form-container .chat-messages::-webkit-scrollbar-thumb:hover { background: #3f3f4e; }

/* Avatar+bubble layout — applied via .chat-message--bot/--user classes added by chat-frontend.js */
.chat-form-container .chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    background: transparent !important;
    padding: 0 !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    animation: leoFadeUp 0.4s ease;
    margin: 0;
}

.chat-form-container .chat-message--bot { flex-direction: row; }
.chat-form-container .chat-message--user { flex-direction: row-reverse; }

.chat-form-container .chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #1a1a24, #0a0a0f);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3f4f6;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
}

.chat-form-container .chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-form-container .chat-bubble {
    max-width: 78%;
    padding: 14px 20px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.9);
    color: #f3f4f6;
}

.chat-form-container .chat-bubble--bot { border-bottom-left-radius: 6px; }
.chat-form-container .chat-bubble--user {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.32), rgba(139, 92, 246, 0.32)) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    border-bottom-right-radius: 6px;
}

.chat-form-container .chat-bubble--info {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.18)) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
}

.chat-form-container .chat-bubble--ai {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(124, 58, 237, 0.25)) !important;
    border-color: rgba(129, 140, 248, 0.4) !important;
}

.chat-form-container .chat-bubble--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(5, 150, 105, 0.12)) !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
    color: #d1fae5 !important;
}

.chat-form-container .chat-bubble--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(220, 38, 38, 0.12)) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #fecaca !important;
}

.chat-form-container .chat-input-area {
    display: flex !important;
    gap: 15px !important;
    padding: 20px 25px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(10, 15, 30, 0.95) !important;
    flex-wrap: wrap;
}

.chat-form-container input.chat-input,
.chat-form-container textarea.chat-input {
    flex: 1 !important;
    min-height: 48px !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(0, 0, 0, 0.3) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-family: inherit !important;
    outline: none !important;
    transition: 0.3s ease !important;
    box-shadow: none !important;
}

.chat-form-container input.chat-input:focus,
.chat-form-container textarea.chat-input:focus {
    border-color: var(--cw-border-color, #4f46e5) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.18) !important;
}

.chat-form-container .chat-submit-btn {
    padding: 0 28px !important;
    height: 48px !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer;
    background: linear-gradient(90deg, var(--cw-border-color, #4f46e5), #7c3aed) !important;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em;
    transition: 0.3s ease !important;
}

.chat-form-container .chat-submit-btn:hover {
    transform: scale(1.04);
    filter: brightness(1.15);
}

.chat-form-container .chat-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.chat-form-container .chat-option-btn {
    text-align: left !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: #f3f4f6 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    cursor: pointer;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    transition: 0.25s ease !important;
}

.chat-form-container .chat-option-btn:hover {
    background: rgba(79, 70, 229, 0.18) !important;
    border-color: var(--cw-border-color, #4f46e5) !important;
    transform: translateX(4px);
}

.chat-form-container .chat-option-btn.selected {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(139, 92, 246, 0.4)) !important;
    border-color: #818cf8 !important;
}

.chat-form-container .typing-indicator {
    align-self: flex-start;
    display: inline-flex !important;
    gap: 5px;
    padding: 14px 18px !important;
    background: rgba(17, 24, 39, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    border-bottom-left-radius: 6px !important;
    max-width: none !important;
}

.chat-form-container .typing-indicator span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #818cf8 !important;
    animation: leoTypingDot 1.2s ease-in-out infinite;
    display: inline-block;
}

.chat-form-container .typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-form-container .typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.chat-form-container .chat-back-btn,
.chat-form-container .restart-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #f3f4f6 !important;
    border-radius: 12px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    cursor: pointer;
    transition: 0.25s ease !important;
}

.chat-form-container .chat-back-btn:hover,
.chat-form-container .restart-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Info Block — full-width raw content (no avatar, no bubble) */
.chat-form-container .chat-message--raw {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #f3f4f6 !important;
    line-height: 1.6;
    font-size: 15px;
    animation: leoFadeUp 0.4s ease;
}

.chat-form-container .chat-message--raw img,
.chat-form-container .chat-message--raw iframe,
.chat-form-container .chat-message--raw video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.chat-form-container .chat-message--raw a {
    color: #818cf8 !important;
    text-decoration: underline;
}

.chat-form-container .chat-message--raw h1,
.chat-form-container .chat-message--raw h2,
.chat-form-container .chat-message--raw h3,
.chat-form-container .chat-message--raw h4 {
    color: #f3f4f6 !important;
    margin: 0.6em 0 0.3em;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.chat-form-container .chat-message--raw pre,
.chat-form-container .chat-message--raw code {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    color: #e0e7ff !important;
    overflow-x: auto;
    display: block;
}

.chat-form-container .chat-message--raw blockquote {
    border-left: 3px solid #4f46e5;
    padding-left: 14px;
    margin: 12px 0;
    color: #cbd5f5 !important;
}

/* LEO balance bar (top of chat) */
.chat-form-container .em-leo-bar {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 16px !important;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.18), rgba(124, 58, 237, 0.12)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f3f4f6 !important;
    flex-wrap: wrap;
}

.chat-form-container .em-leo-bar__icon { font-size: 20px; line-height: 1; }
.chat-form-container .em-leo-bar__body { flex: 1; min-width: 0; }

.chat-form-container .em-leo-bar__label {
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #818cf8 !important;
    font-weight: 700 !important;
}

.chat-form-container .em-leo-bar__value {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #f3f4f6 !important;
}

.chat-form-container .em-leo-bar__value small {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-left: 4px;
}

.chat-form-container .em-leo-bar__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-form-container .em-leo-bar__btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #f3f4f6 !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    border-radius: 10px !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: 0.2s ease !important;
    font-family: inherit !important;
}

.chat-form-container .em-leo-bar__btn:hover {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #f3f4f6 !important;
}

.chat-form-container .em-leo-bar__btn--primary {
    background: linear-gradient(90deg, #4f46e5, #7c3aed) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4) !important;
}

.chat-form-container .em-leo-bar__btn--ghost {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    opacity: 0.8;
}