/* ==========================================================
   UI Chat Tab — Lãn Ông | Clean Modern Professional
   ========================================================== */

.lan-chat-wrap {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* ---------- HEADER ---------- */
.lan-header {
    padding: 18px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.lan-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.lan-header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #666;
}

/* ---------- CHAT BODY ---------- */
.lan-chat-body {
    flex: 1;
    padding: 20px 16px;
    overflow-y: auto;
    background: #fff;
}

.lan-chat-body::-webkit-scrollbar {
    width: 8px;
}
.lan-chat-body::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.08);
    border-radius: 10px;
}

/* ---------- INPUT AREA ---------- */
.lan-input-area {
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    align-items: center;
    position: sticky;
    bottom: 0;
    z-index: 20;
}

.lan-input-wrapper {
    flex: 1;
    position: relative;
}

/* ---------- TEXTAREA ---------- */
.lan-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #dde6f3;
    background: #fff;
    color: #0b1220;

    font-size: 15px;
    line-height: 1.45;
    resize: vertical;
    min-height: 42px;
    max-height: 160px;

    outline: none;
    box-sizing: border-box;
}

.lan-input::placeholder {
    color: #9aa7bf;
}

.lan-input:focus {
    border-color: rgba(37,99,235,0.35);
    box-shadow: 0 6px 18px rgba(37,99,235,0.08);
}

/* ---------- SUGGEST BOX ---------- */
.lan-suggest-box {
    position: absolute;
    bottom: 54px;
    left: 0;
    right: 0;

    border: 1px solid #e6eefc;
    border-radius: 10px;
    background: #fff;

    padding: 6px;
    max-height: 200px;
    overflow-y: auto;

    display: none;
    box-shadow: 0 12px 26px rgba(14,30,80,0.07);

    z-index: 30;
}

.chat-suggest-item {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: #0b1220;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-suggest-item:hover {
    background: #eef6ff;
}

/* ---------- SEND BUTTON ---------- */
.lan-send-btn {
    width: 50px;
    height: 44px;

    background: #2563eb;
    color: #fff;

    border: none;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 20px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.15s ease;
}

.lan-send-btn:hover {
    background: #1f54d6;
}

.lan-send-btn:active {
    transform: scale(0.92);
}
