/* === Premium AI Chatbot - SZTE EHÖK Footer Design === */

:root {
    --ehok-bg: #1d1d1d;
    --ehok-accent: #cca864; /* A lábléc arany színe */
    --ehok-text: #e0e0e0;
    --ehok-header-bg: #2a2a2a;
    --ehok-user-bubble: var(--ehok-accent);
    --ehok-bot-bubble: #333333;
}

#paic-chat-icon {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--ehok-accent);
    color: #111;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9998;
    transition: transform 0.2s ease-in-out, background-color 0.2s;
}
#paic-chat-icon:hover {
    transform: scale(1.1);
    background-color: #e0c07e;
}

#paic-chat-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 360px;
    max-width: 90vw;
    height: 500px;
    max-height: 70vh;
    background-color: var(--ehok-bg);
    border: 1px solid #444;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    font-family: 'Poppins', sans-serif; /* <<< ÚJ BETŰTÍPUS! */
}

#paic-chat-window.paic-hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.paic-chat-header {
    background-color: var(--ehok-header-bg);
    color: var(--ehok-text);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
}
.paic-chat-header h3 {
    margin: 0;
    font-size: 15px; /* Kisebb betűméret */
    font-weight: 600;
}
#paic-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
#paic-close-btn:hover {
    color: white;
}

.paic-chat-messages {
    flex-grow: 1;
    padding: 20px 15px;
    overflow-y: auto;
}
.paic-message {
    margin-bottom: 12px;
    max-width: 85%;
    display: flex;
    flex-direction: column;
}
.paic-message p {
    margin: 0;
    padding: 10px 14px;
    border-radius: 10px;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 14px; /* Kisebb betűméret */
}

.paic-bot-message {
    align-self: flex-start;
    align-items: flex-start;
}
.paic-bot-message p {
    background-color: var(--ehok-bot-bubble);
    color: var(--ehok-text);
    border-bottom-left-radius: 0;
}
.paic-user-message {
    align-self: flex-end;
    align-items: flex-end;
    margin-left: auto;
}
.paic-user-message p {
    background-color: var(--ehok-user-bubble);
    color: #111;
    border-bottom-right-radius: 0;
}

.paic-chat-input-form {
    display: flex;
    border-top: 1px solid #444;
    background-color: #2a2a2a;
}
#paic-user-input {
    flex-grow: 1;
    border: none;
    background: none;
    padding: 15px 20px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: var(--ehok-text);
}
#paic-user-input::placeholder {
    color: #888;
}
#paic-user-input:focus {
    outline: none;
    background-color: #333;
}
.paic-chat-input-form button {
    background-color: transparent;
    color: var(--ehok-accent);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.paic-chat-input-form button:hover {
    background-color: #333;
}
.paic-chat-input-form button svg {
    width: 20px;
    height: 20px;
}

/* === Javaslat Gombok Stílusa === */
.paic-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 12px;
}

.paic-suggestion-btn {
    background-color: transparent;
    border: 1px solid var(--ehok-accent);
    color: var(--ehok-accent);
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.2s, color 0.2s;
}

.paic-suggestion-btn:hover {
    background-color: var(--ehok-accent);
    color: #111;
}

/* === "Gondolkodó" Indikátor Stílusa === */
.paic-message.thinking p {
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* === Visszajelzés Stílusok (Csillagos) === */
.paic-feedback-container {
    margin-top: 12px;
}

.paic-rating-stars {
    cursor: pointer;
    color: var(--ehok-accent);
    font-size: 22px;
    letter-spacing: 2px;
}

.paic-star:hover {
    transform: scale(1.2);
}

.paic-feedback-form {
    margin-top: 10px;
}

.paic-feedback-comment {
    width: 100%;
    background-color: #333;
    border: 1px solid #555;
    border-radius: 5px;
    color: var(--ehok-text);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    padding: 8px;
    height: 60px;
    resize: vertical;
    margin-bottom: 8px;
}
.paic-feedback-comment:focus {
    outline: none;
    border-color: var(--ehok-accent);
}

.paic-feedback-submit {
    background-color: var(--ehok-accent);
    color: #111;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.paic-feedback-thanks {
    font-size: 13px;
    color: #aaa;
    font-style: italic;
}

.paic-hidden {
    display: none !important;
}

/* css/style.css */

/* === Figyelmeztető Képernyő Stílusai === */
#paic-disclaimer-screen {
    padding: 20px 25px;
    text-align: center;
    color: var(--ehok-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}
#paic-disclaimer-screen h4 {
    color: var(--ehok-accent);
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
}
#paic-disclaimer-screen p {
    font-size: 14px;
    margin-bottom: 10px;
}
#paic-disclaimer-screen ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 13px;
    text-align: left;
    line-height: 1.6;
}
#paic-disclaimer-screen ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}
#paic-disclaimer-screen ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--ehok-accent);
}
#paic-accept-terms {
    background-color: var(--ehok-accent);
    color: #111;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
#paic-accept-terms:hover {
    background-color: #e0c07e;
}

/* A fő chat konténernek is kell egy flex tulajdonság */
#paic-chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}