﻿@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

.chat-container {
    font-family: "Public Sans", sans-serif;
    --body-font: "Public Sans", sans-serif;
    --accent-fill-rest: #1737D0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 8px 16px 4px 16px;
}

.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    font-size: 14px;
}

    .chat-area fluent-card {
    }

    .chat-area::-webkit-scrollbar {
        width: 6px;
    }

.chat-message-card {
    margin: 8px 16px;
    padding: 16px;
    border: 0px solid var(--neutral-stroke-layer-rest);
    border-radius: 8px;
    box-shadow: var(--elevation-shadow-card-rest);
    color: #6A6B70;
    line-height: 16px;
    letter-spacing: 0px;
}
    .chat-message-card:first-of-type {
        margin-top: 2px;
    }

    .chat-message-card.you-message {
        margin-left: 50px;
    }

    .chat-message-card.ask-message {
        margin-left: 50px;
    }

.chat-message-card p:last-of-type {
    margin-bottom: 2px;
}

.debug-chip {
    display: none;
}

.choices-container {
    margin-top: 8px;
    padding-left: 32px;
}

    .choices-container .clickable-choice {
        color: black;
        background-color: #F4F4F4;
        cursor: pointer;
        padding: 8px 16px;
        border-radius: 8px;
        text-align: left;
        line-height: normal;
        display: flex;
        align-items: center;
        font-size: 13px;
    }

    .choices-container .clickable-choice:hover {
        color: var(--accent-foreground-hover);
        background-color: var(--neutral-fill-secondary-hover);
    }

.chat-footer footer {
    padding: 0;
    display: flex;
}

.chat-footer {
    border-top: 1px solid #E4E4E4;
}

.chat-footer fluent-text-area {
    border-radius: 0;
}

.chat-footer fluent-button {
    width: 80px;
    border-radius: 0;
}

.fluent-persona.persona-you .initials {
    background: #6A6B70;
    font-weight: bold;
}

.fluent-persona.persona-bot .initials {
    background: var(--accent-fill-rest);
    font-weight: normal;
}

.fluent-persona.persona-bot .name {
    display: none;
}

.scroll-notification {
    position: fixed;
    bottom: 80px; /* Above the ask text box */
    right: 25px;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 10px 10px 6px 10px;
    border-radius: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    z-index: 1000;
}

.chat-overlay-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 10px;
    background: var(--neutral-fill-rest);
    display: flex;
    flex-direction: column;
}

/* Text in overlay */
.chat-overlay-content p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Circular reload button */
.reload-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: var(--accent-fill-rest);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

    /* Hover effect */
    .reload-button:hover {
        background: #0056b3;
    }

    /* FontAwesome reload icon */
    .reload-spin {
        animation: spin 1s linear infinite; /* Rotate animation */
    }

/* Spinning animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}