.chatboat-section {
    position: relative;
}



.catboat-btn {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    background: #194430;
    color: #ffffff;
    border: none;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(25, 68, 48, 0.30);
    transition: 0.25s ease;
}

.catboat-btn:hover {
    transform: translateY(-2px);
    box-shadow:0 8px 25px rgba(25, 68, 48, 0.40),0 0 0 4px rgba(25, 68, 48, 0.08);
}

.catboat-icon {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catboat-text {
    white-space: nowrap;
}


.car-ai-chat-card {
    position: fixed;
    right: 25px;
    bottom: 78px;
    width: 360px;
    max-width: calc(100vw - 30px);
    z-index: 9998;
    background: #ffffff;
    border: 1px solid #e1e5e2;
    border-radius: 13px;
    overflow: hidden;
    box-shadow:0 12px 35px rgba(0, 0, 0, 0.16),0 3px 10px rgba(25, 68, 48, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:opacity 0.25s ease,visibility 0.25s ease,transform 0.25s ease;
}


.car-ai-chat-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.car-ai-header {
    height: 64px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #194430;
    color: #ffffff;
}

.car-ai-header-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.car-ai-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 17px;
}

.car-ai-header h4 {
    margin: 0;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}

.car-ai-header span {
    display: block;
    margin-top: 1px;
    font-size: 10px;
    line-height: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.car-ai-close {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}


.car-ai-messages {
    max-height: 245px;
    padding: 10px 0 0;
    overflow-y: auto;
}


.car-ai-user-message {
    display: flex;
    justify-content: flex-end;
    padding: 0 10px;
    margin-bottom: 8px;
}

.car-ai-user-message p {
    max-width: 82%;
    margin: 0;
    padding: 7px 10px;
    background: #ffffff;
    color: #202020;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
}

.car-ai-message {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 0 10px;
    margin-bottom: 8px;
}

.car-ai-small-icon {
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf3ee;
    color: #194430;
    font-size: 11px;
}

.car-ai-message p {
    max-width: 82%;
    margin: 0;
    padding: 8px 11px;
    background: #f3f5f4;
    color: #374151;
    border-radius: 4px 10px 10px 10px;
    font-size: 12px;
    line-height: 1.45;
}


.car-ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 10px 10px;
}

.car-ai-suggestions button {
    padding: 7px 11px;
    background: #ffffff;
    border: 1px solid #d8e2dc;
    border-radius: 18px;
    color: #194430;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.car-ai-suggestions button:hover {
    background: #194430;
    border-color: #194430;
    color: #ffffff;
}


.car-ai-input {
    height: 43px;
    margin: 0 8px 8px;
    padding: 3px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #d9e1dc;
    border-radius: 8px;
    background: #ffffff;
}

.car-ai-input:focus-within {
    border-color: #194430;
}

.car-ai-input input {
    width: 100%;
    height: 34px;
    padding: 7px 10px;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-size: 11px;
}

.car-ai-input button {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: #194430;
    color: #ffffff;
    cursor: pointer;
}



@media (max-width: 480px) {

    .car-ai-chat-card {
        right: 15px;
        bottom: 75px;
        width: calc(100vw - 30px);
    }

    .catboat-btn {
        right: 15px;
        bottom: 20px;
    }
}
.car-ai-loading {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 2px;
}

.car-ai-loading span {
    width: 6px;
    height: 6px;
    background: #194430;
    border-radius: 50%;
    animation: carAiDot 1.4s infinite ease-in-out;
}

.car-ai-loading span:nth-child(1) {
    animation-delay: 0s;
}

.car-ai-loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.car-ai-loading span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes carAiDot {
    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.35;
    }

    30% {
        transform: translateY(-5px);
        opacity: 1;
    }
}