/* ai.css — AI pagina specifieke stijlen. Gedeelde stijlen staan in global.css */

/* ── Chat sectie ── */
.ai-chat-section {
    padding-top: 0;
}

.chat-intro {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ── Chat widget container ── */
.chat-widget {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.4);
}

/* ── Berichtenlijst ── */
.chat-messages {
    height: 360px;
    overflow-y: auto;
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Smooth scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(212,175,55,0.3) transparent;
}

.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.3); border-radius: 4px; }

/* ── Berichten ── */
.chat-msg {
    display: flex;
    max-width: 85%;
}

.chat-msg.ai  { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }

.chat-bubble {
    padding: 0.7rem 1.1rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.6;
    word-break: break-word;
}

.chat-msg.ai .chat-bubble {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
    background: linear-gradient(135deg, rgba(212,175,55,0.25), rgba(184,144,46,0.2));
    border: 1px solid rgba(212,175,55,0.3);
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chat-msg.typing .chat-bubble {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-style: italic;
    font-size: 0.85rem;
}

/* ── Input rij ── */
.chat-input-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}

.chat-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.92rem;
    padding: 0.65rem 1rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.04);
}

.chat-input::placeholder { color: rgba(255,255,255,0.25); }

.chat-send-btn {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #d4af37, #b8902e);
    border: none;
    border-radius: 10px;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.15s;
}

.chat-send-btn:hover  { opacity: 0.88; transform: scale(1.05); }
.chat-send-btn:active { transform: scale(0.96); }
.chat-send-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

/* ── Mobiel ── */
@media (max-width: 600px) {
    .chat-messages { height: 280px; padding: 1rem; }
    .chat-widget   { border-radius: 14px; }
    .chat-msg      { max-width: 92%; }
    .chat-bubble   { font-size: 0.88rem; }
}

/* ── Pakket kaarten ── */
.pakket-kaart {
    align-self: flex-start;
    width: 100%;
    max-width: 340px;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.28);
    border-radius: 14px;
    padding: 1.1rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.pakket-kaart-tag {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #b8902e);
    color: #111;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-bottom: 0.2rem;
    width: fit-content;
}

.pakket-kaart-naam {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.pakket-kaart-prijs {
    font-size: 0.82rem;
    color: rgba(212,175,55,0.85);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pakket-kaart-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pakket-kaart-features li {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
}

.pakket-kaart-btn {
    display: block;
    margin-top: 0.75rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, #d4af37, #b8902e);
    color: #111;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: opacity 0.2s, transform 0.15s;
}

.pakket-kaart-btn:hover  { opacity: 0.88; transform: scale(1.02); }
.pakket-kaart-btn:active { transform: scale(0.97); }

@media (max-width: 600px) {
    .pakket-kaart { max-width: 100%; }
}
