
.yphlow-phyllis {
    width: 100%;
    max-width: 800px;
    height: 500px;

    display: flex;
    flex-direction: column;

    border: 1px solid #2d3748;
    border-radius: 16px;

    background: #111827;
    color: #f9fafb;

    overflow: hidden;

    font-family: inherit;
}


.yphlow-phyllis-header {
    padding: 18px 20px;

    border-bottom: 1px solid #2d3748;

    background: #111827;

    display: flex;
    align-items: center;

    gap: 12px;
}

.yphlow-phyllis-avatar {
    width: 48px;
    height: 48px;
    border-radius: 0%;
    object-fit: cover;
    flex-shrink: 0;
}


.yphlow-phyllis-header-text {
    display: flex;
    flex-direction: column;

    justify-content: center;
}

.yphlow-phyllis-title {
    font-size: 20px;
    font-weight: 600;

    color: #ffffff;
}


.yphlow-phyllis-subtitle {
    margin-top: 3px;

    font-size: 13px;

    color: #9ca3af;
}


.yphlow-phyllis-messages {
    flex: 1;

    overflow-y: auto;

    padding: 20px;

    display: flex;
    flex-direction: column;

    gap: 14px;

    background: #111827;
}


.yphlow-phyllis-message {
    max-width: 78%;

    padding: 11px 14px;

    border-radius: 14px;

    line-height: 1.45;

    white-space: pre-wrap;

    word-break: break-word;
}


.yphlow-phyllis-message-user {
    align-self: flex-end;

    background: #2563eb;
    color: #ffffff;
}


.yphlow-phyllis-message-assistant {
    align-self: flex-start;

    background: #1f2937;
    color: #f3f4f6;
}


.yphlow-phyllis-input-area {
    display: flex;
    align-items: flex-end;

    gap: 10px;

    padding: 14px;

    border-top: 1px solid #2d3748;

    background: #111827;
}


.yphlow-phyllis-input {
    flex: 1;

    resize: none;

    min-height: 44px;
    max-height: 120px;

    box-sizing: border-box;

    padding: 11px 13px;

    border: 1px solid #4b5563;
    border-radius: 10px;

    background: #1f2937;
    color: #ffffff;

    font: inherit;

    outline: none;
}


.yphlow-phyllis-input::placeholder {
    color: #9ca3af;
}


.yphlow-phyllis-input:focus {
    border-color: #60a5fa;
    background: #14192d;
    color: #ffffff;
}

.yphlow-phyllis-send {
    width: 44px;
    height: 44px;

    padding: 0;

    border: none;
    border-radius: 10px;

    background: #2563eb;
    color: #ffffff;

    font-size: 20px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.yphlow-phyllis-send:disabled {
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 600px) {

    .yphlow-phyllis {
        height: 520px;
    }


    .yphlow-phyllis-message {
        max-width: 88%;
    }

}
