
    .support-content {
        padding: 30px;
        max-width: 1100px;
        margin: 0 auto;
    }

    /* =========================
       BACK
    ========================= */

    .back-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 15px;
        color: #1769e0;
        font-size: 11px;
        font-weight: 800;
        text-decoration: none;
    }

    .back-link:hover {
        color: #0b5ed7;
    }


    /* =========================
       TICKET HEADER
    ========================= */

    .ticket-header {
        background: #fff;
        border: 1px solid #e3eaf4;
        border-radius: 10px;
        padding: 18px;
        margin-bottom: 14px;
        box-shadow: 0 5px 18px rgba(16,42,67,.035);
    }

    .ticket-title-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .ticket-main-info {
        min-width: 0;
    }

    .ticket-title {
        font-size: 16px;
        font-weight: 900;
        color: #102a43;
        word-break: break-word;
    }

    .ticket-client {
        margin-top: 6px;
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
    }


    /* =========================
       STATUS
    ========================= */

    .status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 10px;
        border-radius: 8px;
        font-size: 10px;
        font-weight: 900;
        white-space: nowrap;
    }

    .status-dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: currentColor;
    }

    .status-pending {
        background: #fff7e8;
        color: #b7791f;
    }

    .status-progress {
        background: #eaf2ff;
        color: #1769e0;
    }

    .status-closed {
        background: #f1f5f9;
        color: #64748b;
    }


    /* =========================
       STATUS BOX
    ========================= */

    .status-box {
        margin-top: 15px;
        padding-top: 14px;
        border-top: 1px solid #edf1f6;

        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .status-box form {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .status-box label {
        color: #64748b;
        font-size: 11px;
        font-weight: 800;
    }

    .status-select {
        border: 1px solid #dbe3ee;
        border-radius: 7px;
        padding: 7px 9px;
        font-size: 11px;
        background: #fff;
        color: #344966;
        outline: none;
        cursor: pointer;
    }

    .status-select:focus {
        border-color: #1769e0;
    }

    .status-btn {
        border: 0;
        border-radius: 7px;
        padding: 8px 13px;
        background: linear-gradient(135deg,#0b2d5c,#0b5ed7);
        color: #fff;
        font-size: 11px;
        font-weight: 900;
        cursor: pointer;
    }

    .status-btn:hover {
        opacity: .92;
    }


    /* =========================
       CHAT CARD
    ========================= */

    .chat-card {
        background: #fff;
        border: 1px solid #e3eaf4;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 7px 22px rgba(16,42,67,.055);
    }


    /* =========================
       CHAT HEADER
    ========================= */

    .chat-header {
        min-height: 52px;
        padding: 13px 18px;
        border-bottom: 1px solid #e8edf4;

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

        gap: 10px;

        background: #fff;
    }

    .chat-header-left {
        display: flex;
        align-items: center;
        gap: 9px;
    }

    .chat-header-icon {
        width: 31px;
        height: 31px;
        border-radius: 8px;

        background: #e8f1ff;
        color: #0b5ed7;

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

        flex: none;
    }

    .chat-header-title {
        color: #102a43;
        font-size: 12px;
        font-weight: 900;
    }

    .chat-header-sub {
        margin-top: 2px;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 700;
    }

    .online-dot {
        width: 7px;
        height: 7px;

        border-radius: 50%;

        background: #22c55e;

        box-shadow:
            0 0 0 3px #dcfce7;
    }


    /* =========================
       CHAT BODY
    ========================= */

    .chat-body {
        padding: 20px;

        background:
            linear-gradient(
                180deg,
                #f7f9fc 0%,
                #f9fbfd 100%
            );

        min-height: 390px;
        max-height: 560px;

        overflow-y: auto;

        scroll-behavior: smooth;
    }

    .chat-body::-webkit-scrollbar {
        width: 5px;
    }

    .chat-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .chat-body::-webkit-scrollbar-thumb {
        background: #d6dfeb;
        border-radius: 10px;
    }


    /* =========================
       MESSAGE ROW
    ========================= */

    .message-row {
        display: flex;
        width: 100%;
        margin-bottom: 14px;
    }

    .message-row.client {
        justify-content: flex-start;
    }

    .message-row.admin {
        justify-content: flex-end;
    }


    /* =========================
       MESSAGE WRAPPER
    ========================= */

    .message-wrap {
        display: flex;
        align-items: flex-end;
        gap: 7px;

        max-width: 78%;
    }

    .message-row.admin .message-wrap {
        flex-direction: row-reverse;
    }


    /* =========================
       AVATAR
    ========================= */

    .message-avatar {
        width: 28px;
        height: 28px;

        flex: none;

        border-radius: 8px;

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

        font-size: 9px;
        font-weight: 900;
    }

    .message-avatar.client {
        background: #e8f1ff;
        color: #0b5ed7;
    }

    .message-avatar.admin {
        background: #0b2d5c;
        color: #fff;
    }


    /* =========================
       MESSAGE BUBBLE
    ========================= */

    .message {
        padding: 10px 12px;

        border-radius: 10px;

        font-size: 11px;
        line-height: 1.55;

        word-break: break-word;

        position: relative;
    }

    .message.client {
        background: #fff;

        border: 1px solid #e0e7f0;

        color: #344966;

        border-bottom-left-radius: 3px;

        box-shadow:
            0 2px 8px
            rgba(16,42,67,.025);
    }

    .message.admin {
        background:
            linear-gradient(
                135deg,
                #0b2d5c 0%,
                #0b5ed7 100%
            );

        color: #fff;

        border-bottom-right-radius: 3px;

        box-shadow:
            0 5px 15px
            rgba(11,45,92,.15);
    }


    /* =========================
       MESSAGE USER
    ========================= */

    .message-user {
        font-size: 9px;
        font-weight: 900;

        margin-bottom: 5px;

        opacity: .65;

        text-transform: uppercase;
        letter-spacing: .3px;
    }

    .message.admin .message-user {
        color: rgba(255,255,255,.8);
    }


    /* =========================
       MESSAGE TIME
    ========================= */

    .message-time {
        margin-top: 6px;

        font-size: 9px;

        opacity: .55;

        text-align: right;
    }

    .message.client .message-time {
        color: #64748b;
    }


    /* =========================
       EMPTY CHAT
    ========================= */

    .empty-chat {
        min-height: 300px;

        display: flex;
        flex-direction: column;

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

        text-align: center;

        color: #94a3b8;
    }

    .empty-chat-icon {
        width: 48px;
        height: 48px;

        margin-bottom: 10px;

        border-radius: 10px;

        background: #e8f1ff;
        color: #0b5ed7;

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

    .empty-chat strong {
        color: #102a43;

        font-size: 12px;
        font-weight: 900;
    }

    .empty-chat span {
        margin-top: 4px;

        font-size: 10px;

        color: #94a3b8;
    }


    /* =========================
       REPLY AREA
    ========================= */

    .reply-box {
        padding: 13px 15px;

        border-top: 1px solid #e8edf4;

        background: #fff;
    }

    .reply-form {
        display: flex;
        align-items: flex-end;

        gap: 8px;
    }

    .reply-input-wrap {
        flex: 1;
        position: relative;
    }

    .reply-textarea {
        width: 100%;

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

        resize: vertical;

        border: 1px solid #dbe3ee;

        border-radius: 8px;

        padding: 10px 11px;

        font-family: inherit;

        font-size: 11px;
        line-height: 1.45;

        color: #344966;

        background: #f9fbfd;

        outline: none;

        transition: .15s ease;

        box-sizing: border-box;
    }

    .reply-textarea::placeholder {
        color: #a0aec0;
    }

    .reply-textarea:focus {
        border-color: #1769e0;

        background: #fff;

        box-shadow:
            0 0 0 3px
            rgba(23,105,224,.07);
    }

    .send-btn {
        min-width: 72px;
        height: 43px;

        border: 0;
        border-radius: 8px;

        padding: 0 13px;

        background:
            linear-gradient(
                135deg,
                #0b2d5c,
                #0b5ed7
            );

        color: #fff;

        font-size: 10px;
        font-weight: 900;

        cursor: pointer;

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

        gap: 5px;

        box-shadow:
            0 5px 14px
            rgba(11,45,92,.15);

        transition: .15s ease;
    }

    .send-btn:hover {
        transform: translateY(-1px);

        box-shadow:
            0 7px 18px
            rgba(11,45,92,.20);
    }

    .send-btn:active {
        transform: translateY(0);
    }

    .send-icon {
        width: 14px;
        height: 14px;
    }


    /* =========================
       CLOSED
    ========================= */

    .closed-notice {
        min-height: 42px;

        display: flex;

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

        padding: 10px 12px;

        border-radius: 8px;

        background: #f1f5f9;

        border: 1px solid #e2e8f0;

        color: #64748b;

        font-size: 11px;

        font-weight: 700;

        text-align: center;
    }


    /* =========================
       REMOVE OLD ALERT UI
    ========================= */

    .alert {
        display: none !important;
    }


    /* =========================
       MOBILE
    ========================= */

    @media (max-width: 700px) {

        .support-content {
            padding: 15px 12px 20px;
        }

        .ticket-header {
            padding: 14px;
        }

        .ticket-title-row {
            align-items: flex-start;
            flex-direction: column;
        }

        .status-box {
            margin-top: 12px;
        }

        .chat-body {
            min-height: 350px;

            max-height:
                calc(100vh - 300px);

            padding: 14px 12px;
        }

        .message-wrap {
            max-width: 88%;
        }

        .reply-box {
            padding: 10px;
        }

    }


    @media (max-width: 480px) {

        .back-link {
            margin-bottom: 12px;
        }

        .ticket-title {
            font-size: 15px;
        }

        .ticket-client {
            font-size: 10px;
        }

        .chat-header {
            padding: 11px 13px;
        }

        .chat-header-icon {
            width: 29px;
            height: 29px;
        }

        .chat-body {
            min-height: 330px;
        }

        .message-wrap {
            max-width: 91%;
        }

        .message {
            font-size: 11px;
            padding: 9px 10px;
        }

        .message-avatar {
            width: 25px;
            height: 25px;

            border-radius: 7px;
        }

        .reply-form {
            gap: 6px;
        }

        .reply-textarea {
            min-height: 42px;
        }

        .send-btn {
            min-width: 55px;
            padding: 0 10px;
        }

        .send-text {
            display: none;
        }

    }


    @media (max-width: 360px) {

        .support-content {
            padding: 12px 9px;
        }

        .chat-body {
            padding: 12px 9px;
        }

        .message-wrap {
            max-width: 93%;
        }

    }

