/* Solutions Bot Styles */
.solutions-bot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.solutions-bot-toggle {
    padding: 12px 24px;
    border-radius: 50px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(72, 187, 120, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solutions-bot-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(72, 187, 120, 0.6);
}

.bot-label {
    white-space: nowrap;
}

.solutions-bot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 450px;
    height: 650px;
    max-height: calc(100vh - 100px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solutions-bot-header {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bot-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.solutions-bot-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.bot-status {
    margin: 4px 0 0 0;
    font-size: 12px;
    opacity: 0.9;
}

.bot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.bot-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.solutions-bot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f7fafc;
}

.message {
    display: flex;
    margin-bottom: 16px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.message-content {
    max-width: 80%;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

.message-time {
    display: block;
    font-size: 11px;
    color: #a0aec0;
    margin-top: 6px;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.solution-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.solution-chip {
    padding: 8px 14px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.solution-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.solutions-bot-input-container {
    display: flex;
    padding: 16px;
    background: white;
    border-top: 1px solid #e2e8f0;
    gap: 8px;
}

.bot-input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    resize: none;
    max-height: 100px;
    transition: border-color 0.2s;
}

.bot-input:focus {
    outline: none;
    border-color: #48bb78;
}

.bot-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.bot-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.bot-typing {
    display: flex;
    gap: 4px;
    padding: 12px 20px;
    justify-content: center;
    background: #f7fafc;
}

.bot-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #48bb78;
    animation: typing 1.4s infinite;
}

.bot-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.bot-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .solutions-bot-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 140px);
    }

    .bot-label {
        display: none;
    }

    .solutions-bot-toggle {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
}

/* Scrollbar */
.solutions-bot-messages::-webkit-scrollbar {
    width: 6px;
}

.solutions-bot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.solutions-bot-messages::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.solutions-bot-messages::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

