/* ============================================
   CHATBOT PLUGIN - WordPress-kompatibles CSS
   Alle Styles sind unter #chatbot-container isoliert
   ============================================ */

/* ===== NUR Chatbot-spezifische Resets ===== */
#chatbot-container,
#chatbot-container *,
#chatbot-container *::before,
#chatbot-container *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Chatbot Container (Haupt-Wrapper) ===== */
#chatbot-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    line-height: 1.5;
    font-size: 16px;
    color: #f0f0f0;
}

#chatbot-container > * {
    pointer-events: auto;
}

/* ===== Chat Toggle Button ===== */
#chatbot-container .chat-toggle-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ff0393;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 3, 147, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#chatbot-container .chat-toggle-btn .toggle-icon {
    display: block;
    transition: transform 0.3s ease;
}

#chatbot-container .chat-toggle-btn .toggle-text {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

#chatbot-container .chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow:
        0 0 30px rgba(255, 3, 147, 0.6),
        0 0 20px rgba(0, 209, 255, 0.4);
    width: 140px;
    border-radius: 15px;
}

#chatbot-container .chat-toggle-btn:hover .toggle-icon {
    transform: translateY(-100%);
    opacity: 0;
}

#chatbot-container .chat-toggle-btn:hover .toggle-text {
    opacity: 1;
    transform: translateY(0);
}

#chatbot-container .chat-toggle-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

/* ===== Chat Controls ===== */
#chatbot-container .chat-controls-left {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

#chatbot-container .menu-dropdown {
    position: relative;
}

#chatbot-container .menu-dropdown-content {
    position: absolute;
    top: 42px;
    left: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

#chatbot-container .menu-dropdown.active .menu-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#chatbot-container .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

#chatbot-container .menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

#chatbot-container .menu-item-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#chatbot-container .menu-item-icon svg {
    width: 18px;
    height: 18px;
}

#chatbot-container .hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

#chatbot-container .hamburger-icon span {
    width: 16px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

#chatbot-container .chat-controls-right {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

#chatbot-container .control-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

#chatbot-container .control-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

#chatbot-container .close-btn:hover {
    background: rgba(255, 59, 48, 0.9);
    border-color: rgba(255, 59, 48, 0.3);
}

#chatbot-container .info-btn {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

#chatbot-container .info-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

#chatbot-container .support-btn {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}

#chatbot-container .support-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

#chatbot-container .info-icon,
#chatbot-container .support-icon,
#chatbot-container .expand-icon,
#chatbot-container .close-icon {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

#chatbot-container .support-icon {
    font-size: 20px;
    font-weight: bold;
}

/* ===== Chat Container States ===== */
#chatbot-container .chat-container {
    position: fixed;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chatbot-container .chat-container.minimized {
    width: 450px !important;
    height: 650px !important;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    bottom: 20px !important;
    left: 20px !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
}

#chatbot-container .chat-container.expanded {
    width: 95vw;
    height: 90vh;
    max-width: 1200px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    top: auto;
    right: auto;
    transform: none;
}

#chatbot-container .chat-wrapper:has(.chat-container.expanded) {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: auto;
    height: auto;
}

#chatbot-container .chat-container.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

#chatbot-container .chat-container.hidden.minimized {
    transform: scale(0.8) !important;
}

#chatbot-container .chat-container.hidden.expanded {
    transform: translate(-50%, -50%) scale(0.8) !important;
}

@keyframes chatbot-gradientShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

/* ProzessX Framework Styles */
#chatbot-container .px-style-box-dark {
    position: relative;
    overflow: visible;
    background: rgba(26, 26, 26, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chatbot-container .px-style-box-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #0099cc;
    border-radius: 0px;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#chatbot-container .chat-container.active::before {
    width: 60%;
}

#chatbot-container .chat-header {
    background: #ff0393;
    color: white;
    padding: 60px 20px 20px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#chatbot-container .chat-header h1 {
    font-size: 24px;
    margin-bottom: 6px;
    font-weight: 700;
    line-height: 1.2;
}

#chatbot-container .chat-header p {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
}

#chatbot-container .chat-messages {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
}

#chatbot-container .message {
    display: flex;
    margin-bottom: 14px;
    animation: chatbot-fadeIn 0.3s ease-out;
}

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

#chatbot-container .message.bot {
    justify-content: flex-start;
}

#chatbot-container .message.user {
    justify-content: flex-end;
}

#chatbot-container .message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    word-wrap: break-word;
    position: relative;
    line-height: 1.6;
    font-size: 14px;
}

#chatbot-container .message.bot .message-content {
    background: #2a2a2a;
    color: #f5f5f5;
    border: 1px solid #3a3a3a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

#chatbot-container .message.user .message-content {
    background: #0099cc;
    color: white;
    box-shadow: 0 1px 2px rgba(0, 153, 204, 0.3);
}

/* ===== ROI Link Message - Special CTA Styling ===== */

#chatbot-container .message.roi-link-message {
    margin: 20px 0;
}

#chatbot-container .message.roi-link-message .message-content {
    background: rgba(26, 26, 26, 0.95);
    border: 2px solid #0099cc;
    border-radius: 14px;
    padding: 18px 22px;
    max-width: 85%;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 153, 204, 0.2);
    position: relative;
}

/* Link Icon als Emoji vorangestellt */
#chatbot-container .message.roi-link-message .message-content::before {
    content: '🔗';
    display: inline-block;
    margin-right: 8px;
    font-size: 18px;
}

/* Link Styling */
#chatbot-container .message.roi-link-message .message-content a.roi-calc-link {
    color: #00d1ff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    display: inline-block;
}

#chatbot-container .message.roi-link-message .message-content a.roi-calc-link:hover {
    color: #ffffff;
    border-bottom-color: #0099cc;
    transform: translateX(3px);
}

#chatbot-container .message.roi-link-message .message-content a.roi-calc-link:active {
    transform: scale(0.98);
}

/* Fade-in Animation */
@keyframes roiLinkFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#chatbot-container .message.roi-link-message {
    animation: roiLinkFadeIn 0.5s ease-out;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    #chatbot-container .message.roi-link-message .message-content {
        max-width: 95%;
        padding: 16px 18px;
        font-size: 14px;
    }
}

#chatbot-container .typing-indicator {
    display: none;
    align-items: center;
    padding: 12px 16px;
    background: #2a2a2a;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    max-width: 70px;
    margin-bottom: 14px;
}

#chatbot-container .typing-indicator.active {
    display: flex;
}

#chatbot-container .typing-indicator span {
    height: 7px;
    width: 7px;
    background: #00d1ff;
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    animation: chatbot-typing 1.2s infinite;
}

#chatbot-container .typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}

#chatbot-container .typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes chatbot-typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

#chatbot-container .chat-input-container {
    padding: 20px;
    background: rgba(26, 26, 26, 0.95);
    border-top: 1px solid #3a3a3a;
    border-radius: 0 0 12px 12px;
    backdrop-filter: blur(10px);
    position: relative;
}

#chatbot-container .chat-input-container.disabled .chat-input-wrapper {
    opacity: 0.5;
    pointer-events: none;
}

#chatbot-container .chat-input-wrapper {
    display: flex;
    gap: 10px;
}

#chatbot-container .abort-check-btn {
    padding: 10px 20px;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    display: none;
    width: auto;
    align-self: flex-start;
}

#chatbot-container .abort-check-btn.visible {
    display: inline-block;
}

#chatbot-container .abort-check-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

#chatbot-container .abort-check-btn:active {
    transform: translateY(0);
}

#chatbot-container #chatInput {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #3a3a3a;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    background: #2a2a2a;
    color: #f0f0f0;
    transition: all 0.2s ease;
}

#chatbot-container #chatInput:focus {
    border-color: #00d1ff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #2a2a2a;
}

#chatbot-container #chatInput::placeholder {
    color: #6b7280;
}

#chatbot-container #sendButton {
    padding: 12px 28px;
    background: #00d1ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#chatbot-container #sendButton:hover {
    background: #5568d3;
    transform: translateY(-1px);
}

#chatbot-container #sendButton:active {
    transform: translateY(0);
}

#chatbot-container #sendButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#chatbot-container .welcome-message {
    text-align: center;
    padding: 32px 20px;
    color: #9ca3af;
}

#chatbot-container .welcome-message h2 {
    color: white;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

#chatbot-container .welcome-message p {
    line-height: 1.6;
    margin-bottom: 24px;
    color: #d1d5db;
    font-size: 14px;
}

#chatbot-container .faq-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

#chatbot-container .faq-button {
    padding: 10px 20px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
}

#chatbot-container .faq-button:hover {
    background: #00d1ff;
    border-color: #00d1ff;
    color: white;
    transform: translateY(-1px);
}

/* ===== Assessment Mode Indicator ===== */
#chatbot-container .chat-container.assessment-mode::after {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #0099cc;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 209, 255, 0.4);
    z-index: 11;
    animation: chatbot-pulse 2s ease-in-out infinite;
}

@keyframes chatbot-pulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.05); }
}

#chatbot-container .chat-container.assessment-mode {
    border: 2px solid #00d1ff !important;
    box-shadow:
        0 0 40px rgba(0, 209, 255, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* ===== Quick Check Modal ===== */
#chatbot-container .readiness-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 20px;
    background: transparent;
}

#chatbot-container .readiness-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#chatbot-container .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: none;
}

#chatbot-container .modal-content-large {
    position: relative;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px 60px;
    animation: chatbot-modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes chatbot-modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#chatbot-container .modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.15);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chatbot-container .modal-close:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.6);
    transform: scale(1.1) rotate(90deg);
}

/* Results Display Styles */
#chatbot-container .results-display {
    color: #f0f0f0;
}

#chatbot-container .results-header {
    text-align: center;
    margin-bottom: 50px;
}

#chatbot-container .results-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1.2;
}

#chatbot-container .results-header p {
    font-size: 17px;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto;
}

#chatbot-container .gradient-text {
    background: #0099cc;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#chatbot-container .results-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: center;
}

#chatbot-container .chart-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

#chatbot-container .chart-section canvas {
    max-width: 450px;
    max-height: 450px;
}

#chatbot-container .persona-section {
    text-align: left;
    padding: 20px;
}

#chatbot-container .persona-section h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.3;
}

#chatbot-container .persona-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

#chatbot-container .potential-box {
    background: rgba(0, 153, 204, 0.08);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid rgba(0, 153, 204, 0.3);
    margin-top: 20px;
    box-shadow:
        0 4px 20px rgba(0, 153, 204, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

#chatbot-container .potential-box h4 {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

#chatbot-container .potential-box .prozessx-blue {
    font-size: 24px;
    margin-bottom: 12px;
    display: block;
    font-weight: 600;
    line-height: 1.3;
}

#chatbot-container .potential-box p:last-child {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

#chatbot-container .prozessx-blue {
    color: #00d1ff;
}

#chatbot-container .cta-section {
    margin-top: 60px;
    background: rgba(0, 153, 204, 0.08);
    border: 2px solid #ff0393;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

#chatbot-container .cta-section.cta-section-top {
    margin-top: 0;
    margin-bottom: 30px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#chatbot-container .cta-section.cta-section-top h3 {
    margin-bottom: 0;
    font-size: 20px;
}

#chatbot-container .cta-section.cta-section-top .cta-button {
    padding: 12px 28px;
    font-size: 15px;
    white-space: nowrap;
}

#chatbot-container .cta-section h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #fff;
}

#chatbot-container .cta-section p {
    font-size: 17px;
    line-height: 1.7;
    color: #b0b0b0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#chatbot-container .cta-button {
    display: inline-block;
    background: white;
    color: black;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 12px;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
}

#chatbot-container .cta-button:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ===== Results Button im Chat ===== */
#chatbot-container .results-button-container {
    display: flex;
    justify-content: center;
    margin: 8px 0 20px 0;
}

#chatbot-container .show-results-btn {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

#chatbot-container .show-results-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
}

#chatbot-container .show-results-btn:active {
    transform: scale(0.98);
}

/* ===== Support Form Modal ===== */
#chatbot-container .support-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 20px;
}

#chatbot-container .support-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#chatbot-container .support-modal-content {
    position: relative;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: chatbot-modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Form Styles */
#chatbot-container .form-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid #333;
}

#chatbot-container .form-header h1 {
    color: #f0f0f0;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 6px;
}

#chatbot-container .form-header p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

#chatbot-container .form-body {
    padding: 24px 32px 32px;
}

#chatbot-container .form-group {
    margin-bottom: 18px;
}

#chatbot-container .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

#chatbot-container .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

#chatbot-container .required {
    color: #ff0393;
}

#chatbot-container .form-group input,
#chatbot-container .form-group select,
#chatbot-container .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #252525;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #f0f0f0;
    font-family: inherit;
    transition: all 0.3s ease;
}

#chatbot-container .form-group input::placeholder,
#chatbot-container .form-group textarea::placeholder {
    color: #666;
}

#chatbot-container .form-group input:focus,
#chatbot-container .form-group select:focus,
#chatbot-container .form-group textarea:focus {
    outline: none;
    border-color: #ff0393;
    background: #2a2a2a;
    box-shadow: 0 0 0 3px rgba(255, 3, 147, 0.15);
}

#chatbot-container .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

#chatbot-container .hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Progress Bar */
#chatbot-container .progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 8px;
}

#chatbot-container .progress-step {
    font-size: 0.85rem;
    color: #666;
}

#chatbot-container .progress-step.active {
    color: #ff0393;
    font-weight: 600;
}

#chatbot-container .progress-line {
    height: 3px;
    width: 60px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

#chatbot-container .progress-line-fill {
    height: 100%;
    background: #0099cc;
    transition: width 0.3s ease;
}

/* Form Steps */
#chatbot-container .form-step {
    display: none;
}

#chatbot-container .form-step.active {
    display: block;
}

/* Buttons */
#chatbot-container .btn-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

#chatbot-container .btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

#chatbot-container .btn-secondary {
    background: #333;
    color: #f0f0f0;
}

#chatbot-container .btn-secondary:hover {
    background: #444;
}

#chatbot-container .btn-primary {
    background: #0099cc;
    color: white;
}

#chatbot-container .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px -5px rgba(255, 3, 147, 0.5);
}

#chatbot-container .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Captcha */
#chatbot-container .captcha-group {
    background: #252525;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

#chatbot-container .captcha-label {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

#chatbot-container .captcha-question {
    display: flex;
    align-items: center;
    gap: 12px;
}

#chatbot-container .captcha-text {
    color: #f0f0f0;
    font-size: 1.1rem;
    font-weight: 500;
    background: #1a1a1a;
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #333;
}

#chatbot-container .captcha-input {
    max-width: 80px;
    text-align: center;
    font-size: 1.1rem;
}

/* DSGVO Consent */
#chatbot-container .consent-block {
    margin-bottom: 20px;
}

#chatbot-container .consent-block-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 8px;
    line-height: 1.4;
}

#chatbot-container .consent-block-text {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
    margin-bottom: 12px;
}

#chatbot-container .consent-block-text a {
    color: #ff0393;
    text-decoration: none;
}

#chatbot-container .consent-block-text a:hover {
    color: #00d1ff;
    text-decoration: underline;
}

#chatbot-container .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#chatbot-container .checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #ff0393;
    cursor: pointer;
}

#chatbot-container .checkbox-group label {
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    cursor: pointer;
    color: #b0b0b0;
}

/* Success */
#chatbot-container .success-message {
    display: none;
    text-align: center;
    padding: 48px 32px;
}

#chatbot-container .success-message.show {
    display: block;
}

#chatbot-container .success-icon {
    width: 72px;
    height: 72px;
    background: #0099cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

#chatbot-container .success-message h2 {
    color: #f0f0f0;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

#chatbot-container .success-message p {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

#chatbot-container .form-content.hidden {
    display: none;
}

#chatbot-container .error-msg {
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: 8px;
    display: none;
}

#chatbot-container .error-msg.show {
    display: block;
}

/* ===== Quick Check Dropdown ===== */
#chatbot-container .readiness-dropdown-container {
    margin: 20px 0;
    background: rgba(0, 153, 204, 0.08);
    border: 2px solid rgba(0, 209, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    animation: chatbot-fadeIn 0.4s ease;
    box-shadow:
        0 0 20px rgba(0, 209, 255, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#chatbot-container .readiness-dropdown-container:hover {
    border-color: rgba(0, 209, 255, 0.5);
    box-shadow:
        0 0 30px rgba(0, 209, 255, 0.25),
        0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

#chatbot-container .readiness-dropdown-header {
    padding: 16px 20px;
    background: rgba(0, 153, 204, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    user-select: none;
    border-bottom: 1px solid rgba(0, 209, 255, 0.2);
}

#chatbot-container .readiness-dropdown-header:hover {
    background: rgba(0, 153, 204, 0.2);
}

#chatbot-container .dropdown-icon {
    font-size: 14px;
    color: #00d1ff;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 14px;
    font-weight: bold;
}

#chatbot-container .dropdown-title {
    font-weight: 700;
    color: #00d1ff;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(0, 209, 255, 0.3);
}

#chatbot-container .dropdown-count {
    font-size: 13px;
    color: #00d1ff;
    opacity: 0.7;
    margin-left: auto;
    background: rgba(0, 209, 255, 0.1);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
}

#chatbot-container .readiness-dropdown-content {
    max-height: 450px;
    overflow-y: auto;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#chatbot-container .readiness-dropdown-content.collapsed {
    max-height: 0;
    padding: 0 16px;
    overflow: hidden;
}

/* Quiz Summary Items */
#chatbot-container .quiz-summary-item {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 209, 255, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    animation: chatbot-slideIn 0.3s ease;
}

#chatbot-container .quiz-summary-item:hover {
    background: rgba(0, 209, 255, 0.08);
    border-color: rgba(0, 209, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.2);
}

#chatbot-container .quiz-summary-item:last-child {
    margin-bottom: 0;
}

@keyframes chatbot-slideIn {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#chatbot-container .quiz-summary-question {
    color: #f0f0f0;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 500;
}

#chatbot-container .quiz-summary-question strong {
    color: #00d1ff;
    font-weight: 700;
}

#chatbot-container .quiz-summary-answer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0b0b0;
    font-size: 14px;
    padding-left: 8px;
    line-height: 1.4;
}

#chatbot-container .answer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: #0099cc;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(255, 3, 147, 0.3);
    flex-shrink: 0;
}

#chatbot-container .lead-form-card {
    position: relative;
    margin: 20px 0;
    padding: 24px;
    width: 100%;
    max-width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 209, 255, 0.3);
    border-radius: 16px;
}

#chatbot-container .lead-form-card.hidden {
    display: none;
}

#chatbot-container .lead-form-header-card {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 209, 255, 0.2);
}

#chatbot-container .lead-form-header-card h3 {
    font-size: 22px;
    color: #00d1ff;
    margin-bottom: 8px;
}

#chatbot-container .lead-form-header-card p {
    font-size: 14px;
    color: white;
    line-height: 1.5;
}

#chatbot-container .lead-form-card .submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #00d1ff;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#chatbot-container .lead-form-card .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 3, 147, 0.5);
}

#chatbot-container .lead-form-card .submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ===== Bemerkungen-Karte (nach Quick Check) ===== */
#chatbot-container .remarks-card {
    position: relative;
    margin: 20px 0;
    padding: 24px;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 153, 204, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

#chatbot-container .remarks-card.hidden {
    display: none;
}

#chatbot-container .remarks-card-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 153, 204, 0.2);
}

#chatbot-container .remarks-card-header h3 {
    font-size: 20px;
    color: #0099cc;
    margin-bottom: 6px;
    font-weight: 600;
}

#chatbot-container .remarks-card-header p {
    font-size: 14px;
    color: #b0b0b0;
}

#chatbot-container .remarks-card textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    transition: all 0.2s ease;
}

#chatbot-container .remarks-card textarea:focus {
    outline: none;
    border-color: #0099cc;
    box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.1);
}

#chatbot-container .remarks-card textarea::placeholder {
    color: #666;
}

#chatbot-container .char-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

#chatbot-container .char-counter span {
    color: #0099cc;
    font-weight: 600;
}

#chatbot-container .remarks-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

#chatbot-container .remarks-actions .skip-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

#chatbot-container .remarks-actions .skip-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

#chatbot-container .remarks-actions .submit-btn {
    flex: 2;
    padding: 12px 20px;
    background: #0099cc;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#chatbot-container .remarks-actions .submit-btn:hover {
    background: #007aa3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 204, 0.3);
}

#chatbot-container .remarks-actions .submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    #chatbot-container .remarks-card {
        padding: 18px;
    }

    #chatbot-container .remarks-actions {
        flex-direction: column;
    }
}

#chatbot-container .recaptcha-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chatbot-container .lead-form-success {
    text-align: center;
    padding: 40px 20px;
}

#chatbot-container .lead-form-success .success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

#chatbot-container .lead-form-success h3 {
    color: #00d1ff;
    font-size: 22px;
    margin-bottom: 10px;
}

#chatbot-container .lead-form-success p {
    color: #b0b0b0;
    font-size: 15px;
}

/* Scrollbar for Dropdown */
#chatbot-container .readiness-dropdown-content::-webkit-scrollbar {
    width: 8px;
}

#chatbot-container .readiness-dropdown-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

#chatbot-container .readiness-dropdown-content::-webkit-scrollbar-thumb {
    background: #0099cc;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 209, 255, 0.5);
}

#chatbot-container .readiness-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #00b8e6;
    box-shadow: 0 0 15px rgba(0, 209, 255, 0.7);
}

/* ===== HubSpot Meetings Modal ===== */
#chatbot-container .meetings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 20px;
}

#chatbot-container .meetings-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#chatbot-container .meetings-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: none;
}

#chatbot-container .meetings-modal-content {
    position: relative;
    width: 95%;
    max-width: 900px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    animation: chatbot-modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    background: #000000;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
}

#chatbot-container .meetings-header {
    text-align: center;
    padding: 30px 32px 20px;
    border-bottom: 1px solid #1a1a1a;
    background: #000000;
}

#chatbot-container .meetings-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #fff;
}

#chatbot-container .meetings-header p {
    font-size: 16px;
    color: #b0b0b0;
}

#chatbot-container .meetings-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    background: #000000;
}

#chatbot-container .meetings-iframe-container {
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: #000000;
}

#chatbot-container .meetings-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 12px 12px;
}

#chatbot-container .meetings-modal .modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.15);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

#chatbot-container .meetings-modal .modal-close:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: rgba(255, 0, 0, 0.6);
    transform: scale(1.1) rotate(90deg);
}

/* ===== Info Modal ===== */
#chatbot-container .info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 20px;
    background: transparent;
}

#chatbot-container .info-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#chatbot-container .info-modal-content {
    position: relative;
    width: 95%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    animation: chatbot-modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chatbot-container .info-header {
    text-align: center;
    padding: 32px 32px 24px;
    border-bottom: 1px solid #333;
}

#chatbot-container .info-header h2 {
    color: #f0f0f0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

#chatbot-container .info-header p {
    color: #b0b0b0;
    font-size: 0.95rem;
}

#chatbot-container .info-body {
    padding: 24px 32px 32px;
}

#chatbot-container .info-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #222;
}

#chatbot-container .info-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

#chatbot-container .info-section h3 {
    color: #00d1ff;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}

#chatbot-container .info-section p {
    color: #d0d0d0;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

#chatbot-container .info-section ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

#chatbot-container .info-section ul li {
    color: #d0d0d0;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

#chatbot-container .info-section ul li::before {
    content: '\25B8';
    position: absolute;
    left: 8px;
    color: #ff0393;
    font-weight: bold;
}

#chatbot-container .info-section ul li strong {
    color: #fff;
}

#chatbot-container .info-cta {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #333;
}

#chatbot-container .info-modal-content::-webkit-scrollbar {
    width: 8px;
}

#chatbot-container .info-modal-content::-webkit-scrollbar-track {
    background: rgba(15, 15, 15, 0.5);
}

#chatbot-container .info-modal-content::-webkit-scrollbar-thumb {
    background: #0099cc;
    border-radius: 4px;
}

/* ===== Quiz Card Styles ===== */
#chatbot-container .quiz-card {
    position: relative;
    margin: 20px 0;
    padding: 24px;
    width: 100%;
    max-width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 209, 255, 0.3);
    border-radius: 16px;
    box-shadow:
        0 0 30px rgba(0, 209, 255, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: chatbot-slideInUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chatbot-container .quiz-card.hidden {
    display: none;
}

@keyframes chatbot-slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#chatbot-container .quiz-header {
    margin-bottom: 20px;
}

#chatbot-container .quiz-progress-text {
    font-size: 13px;
    color: #00d1ff;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

#chatbot-container .quiz-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

#chatbot-container .quiz-progress-fill {
    height: 100%;
    background: #00d1ff;
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#chatbot-container .quiz-question {
    font-size: 18px;
    font-weight: 600;
    color: #f0f0f0;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(0, 209, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #00d1ff;
}

#chatbot-container .quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#chatbot-container .quiz-option-btn {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f0f0f0;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: inherit;
    line-height: 1.4;
}

#chatbot-container .quiz-option-btn:hover {
    background: rgba(0, 209, 255, 0.1);
    border-color: #00d1ff;
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.3);
}

#chatbot-container .quiz-option-btn:active {
    transform: translateX(3px) scale(0.98);
}

#chatbot-container .quiz-option-btn.selected {
    background: rgba(0, 153, 204, 0.2);
    border-color: #ff0393;
    box-shadow: 0 0 25px rgba(255, 3, 147, 0.4);
}

#chatbot-container .quiz-option-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#chatbot-container .option-number {
    display: inline-block;
    width: 26px;
    height: 26px;
    background: rgba(0, 209, 255, 0.2);
    border: 1px solid #00d1ff;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 12px;
    font-weight: 700;
    font-size: 14px;
    color: #00d1ff;
    transition: all 0.3s ease;
}

#chatbot-container .quiz-option-btn:hover .option-number {
    background: #00d1ff;
    color: #000;
    transform: scale(1.1);
}

#chatbot-container .quiz-option-btn.selected .option-number {
    background: #ff0393;
    border-color: #ff0393;
    color: #fff;
}

/* ===== Lead Form Modal ===== */
#chatbot-container .lead-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10003;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

#chatbot-container .lead-form-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#chatbot-container .lead-form-modal .modal-content-large {
    width: 90%;
    max-width: 850px;
    max-height: 95vh;
    overflow-y: auto;
}

#chatbot-container .lead-form-header {
    text-align: center;
    padding: 32px 32px 24px;
    border-bottom: 1px solid #333;
}

#chatbot-container .lead-form-header h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #fff;
}

#chatbot-container .lead-form-header p {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.6;
}

#chatbot-container #hubspotFormContainer {
    opacity: 0;
    transition: opacity 0.3s ease;
}

#chatbot-container #hubspotFormContainer.loaded {
    opacity: 1;
}

#chatbot-container .form-loading {
    text-align: center;
    padding: 60px 20px;
}

#chatbot-container .form-loading p {
    margin-top: 20px;
    color: #b0b0b0;
}

#chatbot-container .form-loading.hidden {
    display: none;
}

/* Scrollbar Styling */
#chatbot-container .chat-messages::-webkit-scrollbar,
#chatbot-container .modal-content-large::-webkit-scrollbar {
    width: 10px;
}

#chatbot-container .chat-messages::-webkit-scrollbar-track,
#chatbot-container .modal-content-large::-webkit-scrollbar-track {
    background: rgba(15, 15, 15, 0.5);
}

#chatbot-container .chat-messages::-webkit-scrollbar-thumb,
#chatbot-container .modal-content-large::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 5px;
}

#chatbot-container .chat-messages::-webkit-scrollbar-thumb:hover,
#chatbot-container .modal-content-large::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

/* ===== KNOWLEDGE PANEL INTEGRATION ===== */

/* Chat Wrapper */
#chatbot-container .chat-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: row;
    gap: 0;
    z-index: 9998;
    align-items: flex-end;
}

/* Knowledge Toggle Button */
#chatbot-container .knowledge-toggle-btn {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    background: #00d1ff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
}

#chatbot-container .knowledge-toggle-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

#chatbot-container .knowledge-toggle-btn:hover {
    right: -36px;
    background: #5a4d8a;
}

#chatbot-container .knowledge-toggle-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: transform 0.2s ease;
    transform: rotate(180deg);
}

#chatbot-container .knowledge-toggle-btn.active svg {
    transform: rotate(0deg);
}

/* Knowledge Panel */
#chatbot-container .knowledge-panel {
    width: 0;
    height: 650px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    flex-shrink: 0;
    margin-left: 0;
}

#chatbot-container .knowledge-panel.active {
    width: 500px;
    margin-left: 15px;
}

#chatbot-container .knowledge-panel-inner {
    width: 500px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
    display: flex;
    flex-direction: column;
}

#chatbot-container .knowledge-panel.active .knowledge-panel-inner {
    opacity: 1;
}

#chatbot-container .knowledge-header {
    padding: 25px;
    background: #1a1a1a;
    color: #f0f0f0;
    border-bottom: 1px solid #333;
}

#chatbot-container .knowledge-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

#chatbot-container .knowledge-header p {
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.5;
}

#chatbot-container .knowledge-content {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    background: #f5f5f5;
}

#chatbot-container .article-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 28px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#chatbot-container .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #0099cc;
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

#chatbot-container .article-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #ff0393;
    box-shadow:
        0 0 35px -5px rgba(0, 209, 255, 0.6),
        0 0 25px -10px rgba(255, 3, 147, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.2);
}

#chatbot-container .article-card:hover::before {
    width: 75%;
}

#chatbot-container .article-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 3, 147, 0.1);
    color: #ff0393;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}

#chatbot-container .article-title {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease-out;
}

#chatbot-container .article-card:hover .article-title {
    color: #ff0393;
}

#chatbot-container .article-excerpt {
    font-size: 14px;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 18px;
}

#chatbot-container .article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

#chatbot-container .article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: #ff0393;
    border: 2px solid #ff0393;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#chatbot-container .article-link:hover {
    background: #ff0393;
    color: white;
    transform: translateX(4px);
}

#chatbot-container .knowledge-content::-webkit-scrollbar {
    width: 8px;
}

#chatbot-container .knowledge-content::-webkit-scrollbar-track {
    background: #e0e0e0;
}

#chatbot-container .knowledge-content::-webkit-scrollbar-thumb {
    background: #0099cc;
    border-radius: 10px;
}

#chatbot-container .loading-state {
    text-align: center;
    padding: 60px 30px;
    color: #888;
}

#chatbot-container .loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff0393;
    border-radius: 50%;
    animation: chatbot-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes chatbot-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Chat Container relative positioning within wrapper */
#chatbot-container .chat-container {
    position: relative;
    flex-shrink: 0;
}

/* Expanded Mode */
#chatbot-container .chat-wrapper:has(.chat-container.expanded) .knowledge-panel {
    display: none;
}

#chatbot-container .chat-wrapper:has(.chat-container.expanded) .knowledge-toggle-btn {
    display: none;
}

/* ===== ROI Calculator Card ===== */
#chatbot-container .roi-card {
    background: rgba(30, 30, 35, 0.95);
    border-radius: 16px;
    padding: 32px;
    margin: 20px 0;
    color: #ffffff;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(255, 3, 147, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#chatbot-container .roi-card > * {
    width: 100%;
    max-width: 600px;
}

#chatbot-container .roi-results-preview {
    background: rgba(20, 20, 25, 0.6);
    border-radius: 12px;
    padding: 28px;
    margin-top: 24px;
    color: #ffffff;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(255, 3, 147, 0.3);
}

#chatbot-container .roi-card.collapsed {
    padding: 20px;
}

#chatbot-container .roi-card-header {
    text-align: center;
    margin-bottom: 32px;
    cursor: pointer;
    width: 100%;
}

#chatbot-container .roi-card-header h3 {
    font-size: 1.75em;
    margin-bottom: 8px;
    font-weight: 700;
    color: #ff0393;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#chatbot-container .roi-card.collapsed .roi-card-header {
    margin-bottom: 0;
}

#chatbot-container .roi-card-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    line-height: 1.5;
}

#chatbot-container .roi-card.collapsed .roi-card-header p {
    display: none;
}

#chatbot-container .roi-collapse-icon {
    font-size: 0.7em;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

#chatbot-container .roi-card.collapsed .roi-collapse-icon {
    transform: rotate(180deg);
}

#chatbot-container .roi-form-content {
    max-height: 3000px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    opacity: 1;
}

#chatbot-container .roi-card.collapsed .roi-form-content {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

#chatbot-container .roi-form-group {
    margin-bottom: 24px;
}

#chatbot-container .roi-label {
    display: flex;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #ffffff;
    align-items: center;
    gap: 6px;
}

#chatbot-container .roi-select,
#chatbot-container .roi-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(255, 3, 147, 0.3);
    border-radius: 8px;
    background: rgba(20, 20, 25, 0.6);
    color: #ffffff;
    font-size: 1em;
    transition: all 0.2s ease;
    font-weight: 400;
}

#chatbot-container .roi-select option {
    background: rgba(20, 20, 25, 0.95);
    color: #ffffff;
    padding: 10px;
}

#chatbot-container .roi-select:focus,
#chatbot-container .roi-input:focus {
    outline: none;
    border-color: #ff0393;
    box-shadow: 0 0 0 3px rgba(255, 3, 147, 0.2);
}

#chatbot-container .roi-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================== */
/* ROI Calculator - Force Display (Override Theme CSS) */
/* ============================================== */
.roi-card .roi-select,
#roiCalculatorCard .roi-select,
#chatbot-container .roi-card .roi-select {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: rgba(20, 20, 25, 0.6) !important;
    border: 1px solid rgba(255, 3, 147, 0.3) !important;
    border-radius: 8px !important;
    color: white !important;
    font-size: 0.95em !important;
    transition: all 0.3s ease !important;
}

.roi-card .roi-select:focus,
#roiCalculatorCard .roi-select:focus {
    outline: none !important;
    border-color: #ff0393 !important;
    box-shadow: 0 0 0 3px rgba(255, 3, 147, 0.2) !important;
}

.roi-card .roi-select option,
#roiCalculatorCard .roi-select option {
    background: #1a1a1f !important;
    color: white !important;
    padding: 10px !important;
}

#chatbot-container .roi-usecase-section {
    margin-top: 32px;
}

#chatbot-container .roi-usecase-item {
    background: rgba(20, 20, 25, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
    border: 1.5px solid rgba(255, 3, 147, 0.3);
    transition: all 0.2s ease;
}

#chatbot-container .roi-usecase-item:hover {
    border-color: rgba(255, 3, 147, 0.5);
    background: rgba(30, 30, 35, 0.8);
}

#chatbot-container .roi-usecase-item.active {
    border-color: #ff0393;
    background: rgba(255, 3, 147, 0.1);
}

#chatbot-container .roi-usecase-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

#chatbot-container .roi-usecase-item.active .roi-usecase-header {
    margin-bottom: 16px;
}

#chatbot-container .roi-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 14px;
    cursor: pointer;
    accent-color: #ff0393;
    flex-shrink: 0;
}

#chatbot-container .roi-usecase-info {
    flex: 1;
}

#chatbot-container .roi-usecase-info h4 {
    font-size: 1em;
    margin-bottom: 4px;
    font-weight: 600;
    color: #ffffff;
}

#chatbot-container .roi-usecase-info p {
    font-size: 0.875em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

#chatbot-container .roi-slider-container {
    display: none;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 3, 147, 0.3);
}

#chatbot-container .roi-usecase-item.active .roi-slider-container {
    display: block;
}

#chatbot-container .roi-slider-group {
    margin-bottom: 16px;
}

#chatbot-container .roi-slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85em;
    color: #ffffff;
    font-weight: 500;
}

#chatbot-container .roi-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

#chatbot-container .roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff0393;
    cursor: pointer;
    transition: transform 0.15s ease;
}

#chatbot-container .roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

#chatbot-container .roi-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff0393;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease;
}

#chatbot-container .roi-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
}

#chatbot-container .roi-btn {
    width: 100%;
    padding: 14px 24px;
    background: #ff0393;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
}

#chatbot-container .roi-btn:hover {
    background: #e0027e;
    transform: translateY(-1px);
}

#chatbot-container .roi-btn:active {
    transform: translateY(0);
}

#chatbot-container .roi-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ROI Results Preview */
#chatbot-container .roi-results-preview h4 {
    color: #ff0393;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 24px;
}

#chatbot-container .roi-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

#chatbot-container .roi-result-item {
    text-align: center;
    background: rgba(30, 30, 35, 0.6);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 3, 147, 0.3);
}

#chatbot-container .roi-result-item h5 {
    font-size: 0.8em;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

#chatbot-container .roi-result-value {
    font-size: 2em;
    font-weight: 700;
    color: #ff0393;
    line-height: 1.2;
}

#chatbot-container .roi-result-unit {
    font-size: 0.85em;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.7);
}

#chatbot-container .roi-disclaimer {
    background: rgba(254, 243, 199, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

#chatbot-container .roi-disclaimer strong {
    color: #fbbf24;
    font-weight: 600;
}

#chatbot-container .roi-show-details-btn {
    width: 100%;
    padding: 14px 24px;
    background: #ff0393;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
}

#chatbot-container .roi-show-details-btn:hover {
    background: #e0027e;
    transform: translateY(-1px);
}

#chatbot-container .roi-show-details-btn:active {
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    #chatbot-container .results-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #chatbot-container .chart-section {
        padding: 20px;
    }

    #chatbot-container .chart-section canvas {
        max-width: 380px;
        max-height: 380px;
    }

    #chatbot-container .modal-content-large {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    #chatbot-container .chat-toggle-btn {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }

    #chatbot-container .chat-container.minimized {
        width: calc(100vw - 20px) !important;
        height: calc(100vh - 80px) !important;
        bottom: 10px !important;
        left: 10px !important;
    }

    #chatbot-container .chat-container.expanded {
        width: 100vw;
        height: 100vh;
        bottom: 0;
        left: 0;
        transform: none;
        border-radius: 0;
    }

    #chatbot-container .chat-header {
        border-radius: 0;
        padding: 56px 16px 16px 16px;
    }

    #chatbot-container .chat-input-container {
        border-radius: 0;
    }

    #chatbot-container .message-content {
        max-width: 85%;
    }

    #chatbot-container .chat-header h1 {
        font-size: 20px;
    }

    #chatbot-container .chat-header p {
        font-size: 12px;
    }

    #chatbot-container .control-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    #chatbot-container .faq-button {
        font-size: 13px;
        padding: 10px 18px;
    }

    #chatbot-container .modal-content-large,
    #chatbot-container .support-modal-content,
    #chatbot-container .info-modal-content,
    #chatbot-container .meetings-modal-content,
    #chatbot-container .lead-form-modal .modal-content-large {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        padding: 30px 20px;
        border-radius: 0;
    }

    #chatbot-container .results-header h2 {
        font-size: 26px;
    }

    #chatbot-container .results-header p {
        font-size: 15px;
    }

    #chatbot-container .persona-section h3 {
        font-size: 22px;
    }

    #chatbot-container .persona-section p {
        font-size: 15px;
    }

    #chatbot-container .cta-section {
        padding: 30px 20px;
    }

    #chatbot-container .cta-section.cta-section-top {
        flex-direction: column;
        padding: 16px 20px;
        gap: 12px;
    }

    #chatbot-container .cta-section.cta-section-top h3 {
        font-size: 17px;
        text-align: center;
    }

    #chatbot-container .cta-section h3 {
        font-size: 22px;
    }

    #chatbot-container .cta-section p {
        font-size: 15px;
    }

    #chatbot-container .chart-section canvas {
        max-width: 300px;
        max-height: 300px;
    }

    #chatbot-container .form-row {
        grid-template-columns: 1fr;
    }

    #chatbot-container .lead-form-card {
        padding: 18px;
    }

    #chatbot-container .quiz-card {
        padding: 18px;
        margin: 15px 0;
    }

    #chatbot-container .quiz-question {
        font-size: 16px;
        padding: 12px;
    }

    #chatbot-container .quiz-option-btn {
        padding: 12px 14px;
        font-size: 14px;
    }

    #chatbot-container .readiness-dropdown-container {
        margin: 15px 0;
        border-radius: 12px;
    }

    #chatbot-container .readiness-dropdown-header {
        padding: 14px 16px;
    }

    #chatbot-container .dropdown-title {
        font-size: 15px;
    }

    #chatbot-container .dropdown-count {
        font-size: 12px;
        padding: 3px 10px;
    }

    #chatbot-container .readiness-dropdown-content {
        padding: 12px;
        max-height: 350px;
    }

    #chatbot-container .quiz-summary-item {
        padding: 12px 14px;
    }

    #chatbot-container .quiz-summary-question,
    #chatbot-container .quiz-summary-answer {
        font-size: 13px;
    }

    #chatbot-container .info-header {
        padding: 24px 20px 20px;
    }

    #chatbot-container .info-header h2 {
        font-size: 1.5rem;
    }

    #chatbot-container .info-body {
        padding: 20px;
    }

    #chatbot-container .info-section h3 {
        font-size: 1.1rem;
    }

    #chatbot-container .meetings-header {
        padding: 20px;
    }

    #chatbot-container .meetings-header h2 {
        font-size: 22px;
    }

    #chatbot-container .meetings-body {
        padding: 0;
    }

    #chatbot-container .meetings-iframe-container {
        min-height: 500px;
    }

    #chatbot-container .meetings-iframe-container iframe {
        border-radius: 0;
    }

    #chatbot-container .lead-form-header {
        padding: 24px 20px 20px;
    }

    #chatbot-container .lead-form-header h2 {
        font-size: 22px;
    }

    #chatbot-container .lead-form-body {
        padding: 20px;
    }

    #chatbot-container .roi-results-grid {
        grid-template-columns: 1fr;
    }

    /* Knowledge Panel auf Mobil verstecken */
    #chatbot-container .knowledge-panel,
    #chatbot-container .knowledge-toggle-btn {
        display: none;
    }
}

@media (max-width: 500px) {
    #chatbot-container .form-row {
        grid-template-columns: 1fr;
    }

    #chatbot-container .roi-results-grid {
        grid-template-columns: 1fr;
    }
}
