/* Support Module Styles */
.support-wrapper {
    background: transparent;
    padding: 0;
    min-height: calc(100vh - 72px);
}

.support-main-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 40px;
}

/* Header Section */
.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-title {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.date-picker-support {
    border: 1px solid #000;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    font-weight: 500;
}

.date-picker-support i {
    color: var(--riden-red);
}

/* Tabs Styling */
.support-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

.support-tab {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 700;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 50%;
    text-align: center;
    border-bottom: 2px solid #ddd;
}

.support-tab.active {
    background: var(--riden-red);
    color: #fff;
    border-radius: 20px;
    border-bottom: none;
    box-shadow: 0 4px 10px rgba(255, 22, 31, 0.2);
}

.support-tab:not(.active):hover {
    color: var(--riden-red);
}

/* Table Card */
.support-table-container {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--riden-shadow);
}

.support-table {
    width: 100%;
    border-collapse: collapse;
}

.support-table thead tr {
    background: #FFEEEE;
}

.support-table th {
    padding: 20px 25px;
    text-align: left;
    font-weight: 800;
    font-size: 14px;
    color: #111;
}

.support-table td {
    padding: 18px 25px;
    font-size: 14px;
    border-bottom: 1px solid #f8f9fa;
    vertical-align: middle;
}

.support-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
}

.status-badge.resolved {
    background: #E8F5E9;
    color: #4CAF50;
}

.status-badge.pending {
    background: #FFEBEE;
    color: #FF5252;
}

/* Pagination */
.pagination-support {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
    list-style: none;
    padding: 0;
    gap: 8px;
}

.page-btn-support {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    background: #fff;
    transition: all 0.2s;
}

.page-btn-support.active {
    border-color: var(--riden-red);
    color: var(--riden-red);
}

.page-btn-support.arrow-next {
    background: var(--riden-red);
    color: #fff;
    border: none;
}

/* Detail View Styles */
.support-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.support-back-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 18px;
    transition: all 0.2s;
}

.support-back-arrow:hover {
    background: #e9ecef;
}

.status-label-top {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.btn-mark-resolved {
    background: var(--riden-red);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.btn-mark-resolved:hover {
    background: #e0141b;
    color: #fff;
}

/* Message Cards */
.message-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-top: 20px;
}

.message-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.message-author {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    color: #111;
}

.message-time {
    font-size: 12px;
    color: #888;
}

.message-body p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-top: 15px;
}

.attachment-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 15px;
    border: 1px solid #eee;
}

.btn-reply-custom {
    background: var(--riden-red);
    color: #fff;
    border: none;
    padding: 8px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
}

/* Admin Response Box */
.section-title-custom {
    font-size: 20px;
    font-weight: 800;
    background: var(--riden-red);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
}

.response-input-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 15px;
}

.response-textarea {
    border: none !important;
    padding: 10px;
    font-size: 15px;
    resize: none;
    box-shadow: none !important;
}

.response-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.5px solid #f1f1f1;
    padding-top: 15px;
    margin-top: 10px;
}

.toolbar-icons {
    display: flex;
    gap: 20px;
    color: #888;
    font-size: 18px;
}

.toolbar-icons i {
    cursor: pointer;
    transition: color 0.1s;
}

.toolbar-icons i:hover {
    color: var(--riden-red);
}

.btn-send-custom {
    background: var(--riden-red);
    color: #fff;
    border: none;
    padding: 8px 35px;
    border-radius: 10px;
    font-weight: 700;
    margin-right: 10px;
}

.btn-cancel-custom {
    background: #fff;
    color: #333;
    border: 1.5px solid #dee2e6;
    padding: 8px 25px;
    border-radius: 10px;
    font-weight: 700;
}