/* Card-skin override for the quote wizard. Load after chat-form-style.css.
   Revert by setting QUOTER_SKIN to 'chat' or ?quoter=chat (this file is not loaded). */

.chat-container[data-quoter-skin="cards"] .ai-avatar,
.chat-container[data-quoter-skin="cards"] .typing-indicator,
.chat-container[data-quoter-skin="cards"] .typing-dots,
.chat-container[data-quoter-skin="cards"] .user-message {
    display: none !important;
}

.chat-container[data-quoter-skin="cards"] .ai-message {
    align-items: stretch;
    margin-bottom: 8px;
}

.chat-container[data-quoter-skin="cards"] .ai-message .message-bubble {
    max-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 2px 8px;
    border-radius: 0;
    color: #f3f4f6;
}

.chat-container[data-quoter-skin="cards"] .ai-message .message-bubble p {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.chat-container[data-quoter-skin="cards"] .ai-message .message-bubble .subtitle,
.chat-container[data-quoter-skin="cards"] .message-bubble .subtitle {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #9ca3af !important;
    margin-top: 6px;
}

.chat-container[data-quoter-skin="cards"] .user-options {
    width: 100%;
    margin: 4px 0 12px;
}

.chat-container[data-quoter-skin="cards"] .response-buttons,
.chat-container[data-quoter-skin="cards"] .response-buttons.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    max-width: none;
    margin: 0;
    align-items: stretch;
}

.chat-container[data-quoter-skin="cards"] .response-buttons.three-options {
    grid-template-columns: 1fr;
}

.chat-container[data-quoter-skin="cards"] .response-btn {
    width: 100%;
    min-height: 56px;
    padding: 16px 14px;
    font-size: 16px;
    border-radius: 14px;
    flex-direction: column;
    gap: 6px;
}

.chat-container[data-quoter-skin="cards"] .response-btn i {
    font-size: 20px;
}

.chat-container[data-quoter-skin="cards"] .form-container {
    max-width: none;
}

.chat-container[data-quoter-skin="cards"] .messages-scroll-wrapper {
    padding: 16px 18px 24px;
}

@media (max-width: 768px) {
    .chat-container[data-quoter-skin="cards"] .ai-message .message-bubble p {
        font-size: 18px;
    }

    .chat-container[data-quoter-skin="cards"] .response-btn {
        min-height: 52px;
        font-size: 15px;
    }
}
