/* ==========================================================
   Admin
========================================================== */

.wrap{
    max-width:1400px;
}

.oss-card{
    background:#fff;
    border:1px solid #dcdcde;
    border-radius:8px;
    padding:20px;
    margin-bottom:20px;
}

.oss-message{
    background:#fff;
    border:1px solid #dcdcde;
    border-left:4px solid #2271b1;
    padding:15px;
    margin-bottom:15px;
}

.oss-message.customer{
    border-left-color:#72aee6;
}

.oss-message.admin{
    border-left-color:#00a32a;
}

.oss-note{
    background:#fff8e5;
    border:1px solid #dcdcde;
    padding:15px;
    margin-bottom:10px;
}

.oss-meta{
    font-size:13px;
    color:#646970;
    margin-bottom:10px;
}

.oss-table td,
.oss-table th{
    vertical-align:middle;
}

.oss-note-box textarea,
.oss-reply-box textarea{
    width:100%;
    min-height:120px;
}



/* ==========================================================
   Shared Status Badges
========================================================== */

.oss-status{
    display:inline-block;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:600;
}

.oss-status.open{
    background:#dbeafe;
    color:#0c4a6e;
}

.oss-status.waiting_customer{
    background:#fef3c7;
    color:#92400e;
}

.oss-status.closed{
    background:#dcfce7;
    color:#166534;
}

.oss-status.locked{
    background:#fee2e2;
    color:#991b1b;
}



/* ==========================================================
   Customer
========================================================== */

.oss-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:24px;
    margin-bottom:24px;
}

.oss-title{
    font-size:32px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:8px;
}

.oss-order-meta{
    font-size:15px;
    color:#666;
    margin-bottom:20px;
}

.oss-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:20px;
}



/* ==========================================================
   Conversation
========================================================== */

.oss-scroll{
    max-height:520px;
    overflow-y:auto;
    margin:20px 0;
    padding-right:8px;
}

.oss-chat{
    padding:18px;
    border-radius:12px;
    margin-bottom:14px;
}

.oss-customer{
    background:#f5f5f5;
}

.oss-support{
    background:#eef5ff;
}

.oss-name{
    display:block;
    font-weight:700;
    font-size:15px;
    margin-bottom:10px;
}

.oss-message-text{
    line-height:1.7;
    white-space:pre-wrap;
}

.oss-hide{
    display:none;
}



/* ==========================================================
   Reply Box
========================================================== */

.oss-reply-box{
    border-top:1px solid #ececec;
    margin-top:20px;
    padding-top:20px;
}

.oss-reply-box textarea{
    border-radius:10px;
}

.oss-upload-note{
    margin:10px 0;
    font-size:12px;
    color:#666;
}

.oss-lock-message{
    margin-top:20px;
    padding:15px;
    border-radius:10px;
    background:#fff8db;
    border:1px solid #f3d98c;
}



/* ==========================================================
   Dashboard
========================================================== */

.oss-ticket-card{
    border-bottom:1px solid #ececec;
    padding:18px 0;
}

.oss-ticket-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}

.oss-ticket-product{
    color:#666;
}

.oss-attachment{
    margin-top:8px;
}

.oss-attachment a{
    text-decoration:none;
}



/* ==========================================================
   Scrollbar
========================================================== */

.oss-scroll::-webkit-scrollbar{
    width:6px;
}

.oss-scroll::-webkit-scrollbar-thumb{
    background:#cfd4d8;
    border-radius:10px;
}