/*
Theme Name: YanHH3D
Theme URI: https://yanhh3d.sh
Description: Theme phim hoạt hình Trung Quốc - YanHH3D
Author: YanHH3D
Version: 1.0
Text Domain: yanhh3d
*/

/* Mobile: 3 cột */
@media screen and (max-width: 767px) {
    .film_list .film_list-wrap .flw-item {
        width: calc(33.33% - 14px) !important;
    }
}

/* Tablet: 4 cột */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .film_list .film_list-wrap .flw-item {
        width: calc(25% - 14px) !important;
    }
}

/* Film description collapse */
.film-description .text.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.film-description .read-more-btn {
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    margin-top: 5px;
    display: inline-block;
}
.film-description .read-more-btn:hover {
    text-decoration: underline;
}

/* ============ COMMENTS ============ */

/* Comment container */
.comments {
    color: white;
}

/* Avatar - match original: 24px, border white, margin-right 5.6px */
.comments .comments-avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 24px !important;
    margin-right: 5.6px !important;
    border: 0.67px solid white !important;
    flex-shrink: 0;
}

/* Comment item - match original: display flex, padding 10px 10px 0px, bg transparent */
.comments .comments-comment {
    display: flex !important;
    background: transparent !important;
    padding: 10px 10px 0px !important;
    border-radius: 0 !important;
    border: none !important;
}

/* Comment inner - flex-grow 1 */
.comments .comments-comment-inner {
    flex-grow: 1;
    max-width: 100%;
}

/* Comment header - match original: color #1fc3f9, font-weight 500, margin-bottom 8px */
.comments .comments-comment-header {
    position: relative;
    font-weight: 500;
    color: #1fc3f9 !important;
    margin-bottom: 8px;
}
.comments .comments-comment-header-actions {
    display: flex;
    flex-wrap: wrap;
    color: rgb(164, 164, 164);
    font-size: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 768px) {
    .comments .comments-comment-header-actions {
        margin-left: 0.5rem;
    }
}
.comments .comments-comment-header-actions li {
    display: flex;
    position: relative;
}
.comments .comments-comment-header-actions li:not(:last-child):after {
    content: "•";
    margin: 0 0.25rem;
}
.comments .comments-comment-header-actions li > a:hover {
    text-decoration: underline;
}
.comments .comments-comment-header-actions a {
    color: rgb(164, 164, 164);
    text-decoration: none;
}

/* Comment group - default bg #2a2c31, pinned gets rgba(31,195,249,0.1) */
.comments .comments-group {
    position: relative;
    padding-bottom: 0 !important;
    margin-bottom: 10px !important;
    list-style: none !important;
    background: #2a2c31 !important;
    border-radius: 15px !important;
    padding-right: 10px !important;
}
.comments .comments-group.comments-pinned {
    background: rgba(31, 195, 249, 0.1) !important;
}
.comments .comments-group:after {
    border: none !important;
}
.comments .comments-group .comments-group {
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.comments .comments-group .comments-group:after {
    content: none;
}

/* Comment text - match original: margin-bottom 8px */
.comments .comment-text {
    color: white;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 8px;
}
.comments .comment-text p {
    margin: 0 0 5px;
}
.comment-awaiting {
    color: #f39c12;
}

/* Date */
.comments .comments-date {
    color: rgb(164, 164, 164);
    font-size: 0.8rem;
}

/* Actions row - match original: display flex, gap 15px, margin 8px 0, align-items center */
.comments .comments-actions-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    margin: 8px 0 !important;
    position: static !important;
    float: none !important;
    clear: both !important;
}

/* Reactions */
.comments .comments-reactions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.comments .comments-reaction {
    height: 25px;
    font-size: 0.8rem;
    padding: 0 0.5rem;
    border-radius: 0.3rem;
    background: rgb(59, 59, 59);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 150ms;
    margin-right: 5px;
    margin-bottom: 3px;
}
.comments .comments-reaction:hover {
    background: rgb(65, 63, 63);
}
.comments .comments-reaction.is-reacted {
    border: 1px solid rgba(67, 56, 202, 0.5);
    background: rgba(67, 56, 202, 0.25);
}
.comments .comments-reaction.is-reacted:hover {
    background: rgba(67, 56, 202, 0.5);
}
.comments .comments-reaction-picker {
    position: relative;
    display: inline-flex;
}
.comments .comments-reaction-picker-trigger {
    height: 25px;
    padding: 0 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #adadad;
    display: inline-flex;
    align-items: center;
}
.comments .comments-reaction-picker-trigger:hover {
    color: white;
}
.comments .comments-icon {
    height: 1.25rem;
    width: 1.25rem;
    stroke: currentColor;
}
.comments .comments-modal {
    position: absolute;
    z-index: 2;
    bottom: 100%;
    left: 0;
    background: rgb(55, 51, 51);
    border-radius: 0.3rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 0.5rem;
}
.comments .comments-reaction-picker-reactions {
    display: flex;
    gap: 0.25rem;
}
.comments .comments-reaction-picker-reaction {
    height: 1.75rem;
    padding: 0 0.25rem;
    border: none;
    background: none;
    border-radius: 0.3rem;
    cursor: pointer;
    font-size: 1.1rem;
}
.comments .comments-reaction-picker-reaction:hover {
    background: rgb(65, 63, 63);
}

/* Reply button */
.comments .comments-reply-inline-button,
.comments .comment-reply-link {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    cursor: pointer;
    transition: all 0.2s;
    color: #adadad !important;
    text-decoration: none !important;
    position: static !important;
    float: none !important;
}
.comments .comments-reply-inline-button:hover,
.comments .comment-reply-link:hover {
    background-color: rgba(255,255,255,0.05) !important;
    color: white !important;
}
.comments .comments-reply-inline-button i,
.comments .comment-reply-link i {
    margin-right: 5px;
}

/* Form */
.comments .comments-form {
    display: flex !important;
    position: relative;
}
.comments .comments-form-inner {
    flex-grow: 1 !important;
    display: block !important;
}
.comments .comments-form-inner button {
    margin-top: 0.5rem;
}

/* Button - match original: float right, bg #1fc3f9, padding 8px 10px, border-radius 4.8px */
.comments .comments-button.comments-button {
    display: block;
    float: right !important;
    background-color: #1fc3f9 !important;
    color: white !important;
    padding: 8px 10px !important;
    border-radius: 4.8px !important;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.35;
    transition: background 150ms;
    border: none;
    cursor: pointer;
}
.comments .comments-button.comments-button:hover {
    opacity: 0.85;
}

/* Textarea */
.comments .comments-textarea {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 4px !important;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #49505794 !important;
    min-height: 100px;
    color: white;
}

/* WP comment list */
.comment-list,
.comments-group,
.comments-group .children {
    list-style: none !important;
    padding-left: 0 !important;
}

/* Reply form inline */
.comments .comments-reply-form {
    margin-top: 8px;
}
.comments .comments-reply-form .comments-textarea {
    min-height: 60px;
}
.comments .comments-reply-actions {
    display: flex;
    gap: 5px;
    margin-top: 8px;
    justify-content: flex-end;
}
.comments .comments-reply-actions .comments-button.is-link {
    background: #833c3c !important;
    color: white !important;
    text-decoration: none !important;
    margin-right: 5px;
}

/* WP main form */
#respond {
    margin-top: 10px;
}
/* Cancel reply link */
#cancel-comment-reply-link {
    color: #adadad;
    font-size: 13px;
    margin-top: 5px;
    display: inline-block;
}

/* Comment sort */
.comment-sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.comment-sort-label {
    color: #aaa;
    font-size: 14px;
}
.comment-sort-select {
    background: rgba(255, 255, 255, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E") no-repeat calc(100% - 10px) 50%;
    color: white;
    border: 0.67px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    padding: 5px 30px 5px 10px;
    font-size: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Toggle replies button */
.comments .comments-toggle-replies {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #adadad;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
    transition: color 0.2s;
}
.comments .comments-toggle-replies:hover {
    color: white;
}
.comments .comments-toggle-replies i {
    transform: scaleX(-1);
}

/* Pin button */
.comments .comment-pin-button {
    color: #1fc3f9;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.comments .comment-pin-button:hover {
    color: white;
}
.comments .comment-pin-button.pinned {
    color: #ff6b6b;
}
.comments .comment-pin-button.pinned:hover {
    color: #ff4444;
}

/* Comment navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}
.comment-navigation a {
    color: #1fc3f9;
}

/* ============ BOOKMARK PAGE ============ */

/* Profile header - computed: bg #2a2c31, padding 20px 0 0, margin -15px 0 30px, position relative, overflow hidden */
.profile-header {
    position: relative;
    padding: 20px 0 0 !important;
    margin: -15px 0 30px !important;
    background-color: #2a2c31 !important;
    overflow: hidden;
    color: white;
}
/* Cover - computed: absolute, top/left/right/bottom -20px, blur(20px), opacity 0.3, background-size cover, bg-position center */
.profile-header-cover {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover !important;
    background-position: center !important;
    filter: blur(20px);
    opacity: 0.3;
    z-index: 0;
}
.profile-header .container {
    position: relative;
    z-index: 1;
}
/* ph-title - computed: display none on mobile, font-size 30px, font-weight 500, color white, margin 0 0 15px */
.profile-header .ph-title {
    font-size: 30px;
    font-weight: 500;
    color: white;
    margin: 0 0 15px;
    display: none;
}
@media (min-width: 768px) {
    .profile-header .ph-title {
        display: block;
    }
}
.profile-header .ph-tabs {
    margin-bottom: 0;
}
/* pre-tabs - computed: border-bottom 1px solid #dee2e6 from bootstrap */
.profile-header .pre-tabs {
    border-bottom: none !important;
}
/* pre-tabs link - computed: color #ddd, padding 0 10px, font-size 0 on mobile (icon only), border-bottom 2px solid transparent */
.profile-header .pre-tabs .nav-link {
    color: #ddd !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    padding: 0 10px !important;
    margin: 0 0 -1px !important;
    border-radius: 0 !important;
    background: transparent !important;
    transition: color 0.2s;
    display: block;
    line-height: 34.67px;
}
.profile-header .pre-tabs .nav-link:hover {
    color: white !important;
}
/* active link - computed: color #1fc3f9, border-bottom 2px solid #1fc3f9 */
.profile-header .pre-tabs .nav-link.active {
    color: #1fc3f9 !important;
    border-bottom: 2px solid #1fc3f9 !important;
    background: transparent !important;
}
/* Mobile: hide text, show only icon */
@media (max-width: 767px) {
    .profile-header .pre-tabs .nav-link {
        font-size: 0 !important;
    }
    .profile-header .pre-tabs .nav-link i {
        font-size: 14px;
        margin-right: 0 !important;
    }
}

/* Profile content - computed: padding 0, color #000 (but dark theme) */
.profile-content {
    padding: 0 !important;
}
/* h2-heading - computed: color white, font-size 20px, font-weight 500, margin 0 0 24px */
.inbox-list .h2-heading {
    color: white !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    margin: 0 0 24px !important;
}
/* inbox-tabs - computed: margin 0 0 8px */
.inbox-tabs {
    margin: 0 0 8px !important;
}
/* fav-tabs link - computed: color white, bg #1fc3f9, font-size 12px, font-weight 500, padding 0 10px, border-radius 4px, height 30px, line-height 30px */
.fav-tabs .pre-tabs-min {
    border-bottom: none !important;
}
.fav-tabs .pre-tabs-min .nav-link {
    color: white !important;
    background-color: #1fc3f9 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 0 10px !important;
    border: none !important;
    border-radius: 4px !important;
    line-height: 30px;
    height: 30px;
}
/* btn-clear-noti - computed: bootstrap btn-warning defaults, font-size 14px, padding 4px 8px, border-radius 3.2px */
.btn-clear-noti {
    font-size: 14px !important;
    padding: 4px 8px !important;
    border-radius: 3.2px !important;
}

/* Delete movie (X) button - computed: bg white, color #111, width/height 36px, top 10px, right 10px, z-index 99, border-radius 50%, position absolute, opacity 1 (always visible) */
.delete-movie {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
    width: 36px;
    height: 36px;
    background: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111 !important;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.delete-movie:hover {
    background: #ff4444 !important;
    color: white !important;
}

/* ============================================================
   WATCH HISTORY PAGE (Lịch sử xem)
   ============================================================ */
.inbox-list .h2-heading {
    font-size: 20px;
    color: #fff;
}
.inbox-tabs {
    overflow: hidden;
}
.inbox-tabs .fav-tabs .pre-tabs-min .nav-item .nav-link {
    font-size: 13px;
    padding: 8px 15px;
}
.inbox-tabs .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 5px;
}
#btn-clear-history {
    font-size: 12.25px;
}
.inbox-item {
    position: relative;
    padding: 20px;
    background: #2a2c31;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}
.inbox-item.with-poster {
    padding-left: 120px;
    min-height: 100px;
}
.inbox-item .film-poster {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
    display: block;
}
.inbox-item .film-poster .film-poster-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inbox-item .ii-time {
    color: #fff;
    font-size: 12.25px;
    margin-bottom: 4px;
}
.inbox-item .ii-time span {
    color: rgb(255, 0, 0);
    font-weight: 500;
}
.inbox-item .ii-title a {
    color: #fff;
    text-decoration: none;
}
.inbox-item .ii-title a:hover {
    color: #1fc3f9;
}
.inbox-item .ii-title .highlight-text {
    color: #1fc3f9;
    font-size: 14px;
    font-weight: 500;
}
.inbox-item .ii-content {
    margin-top: 8px;
    color: #aaa;
}
.inbox-item .ii-content a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}
.inbox-item .ii-content a:hover {
    text-decoration: underline;
}
.inbox-item .ii-content i {
    margin-right: 4px;
    color: #aaa;
}

/* ============================================================
   PROFILE PAGE (Thông tin tài khoản)
   ============================================================ */
.back-ground-custom1 {
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 14px;
    line-height: 18.2px;
    border-radius: 10px;
    padding: 0 0 20px;
}
.back-ground-custom1 .max-w-7xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 0;
}
/* Profile header */
.layout-profile .profile-header {
    background-color: rgb(42, 44, 49);
    color: #fff;
    padding: 20px 0 0;
    margin: -15px 0 30px;
    position: relative;
    overflow: hidden;
}
.layout-profile .profile-header-cover {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}
.layout-profile .ph-title {
    color: #fff;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 42px;
    position: relative;
    z-index: 1;
}
.layout-profile .ph-tabs {
    position: relative;
    z-index: 1;
}
.layout-profile .ph-tabs .nav-link {
    color: #1fc3f9;
    padding: 0 10px;
    line-height: 30px;
}
.layout-profile .ph-tabs .nav-link.active {
    color: #1fc3f9;
}
/* Sections - stacked vertically (not grid on mobile) */
.profile-section {
    display: block;
}
.profile-section .md\:col-span-1 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.profile-section .md\:col-span-2 {
    margin-top: 0;
}
.back-ground-custom1 h3,
.back-ground-custom1 .text-gray-900 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
}
.back-ground-custom1 p,
.back-ground-custom1 .text-gray-600 {
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    margin-top: 4px;
}
.back-ground-custom1 label,
.back-ground-custom1 .text-gray-700 {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 8px;
    display: block;
}
.back-ground-custom1 .bg-white {
    background-color: rgb(32, 33, 37);
    padding: 48px 24px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;
    border-radius: 6px 6px 0 0;
}
.back-ground-custom1 .bg-gray-50 {
    background-color: rgb(32, 33, 37);
    padding: 16px 24px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 0 0 6px 6px;
}
.back-ground-custom1 .bg-white.sm\:rounded-lg {
    background-color: rgb(32, 33, 37);
    padding: 48px 24px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;
    border-radius: 6px;
}
.back-ground-custom1 input[type="text"],
.back-ground-custom1 input[type="email"],
.back-ground-custom1 input[type="password"] {
    background-color: rgb(43, 44, 48);
    color: #fff;
    font-size: 16px;
    padding: 8px 12px;
    margin-top: 4px;
    border: 0.666667px solid rgb(209, 213, 219);
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.075) 0px 2px 4px 0px;
    display: block;
    width: 100%;
    line-height: 24px;
    transition: border-color 0.15s;
}
.back-ground-custom1 input[type="text"]:focus,
.back-ground-custom1 input[type="email"]:focus,
.back-ground-custom1 input[type="password"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99,102,241,0.3);
}
.back-ground-custom1 .grid-cols-6 {
    display: grid;
    gap: 1.5rem;
}
.back-ground-custom1 .col-span-6 {
    grid-column: span 6 / span 6;
}
.back-ground-custom1 .rounded-full {
    border-radius: 9999px;
    overflow: clip;
}
.back-ground-custom1 .h-20 { height: 80px; }
.back-ground-custom1 .w-20 { width: 80px; }
.back-ground-custom1 .object-cover { object-fit: cover; }
.back-ground-custom1 button[type="submit"] {
    background-color: rgb(32, 33, 37);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 24px;
    border: 0.666667px solid rgb(222, 226, 230);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 16px;
    cursor: pointer;
    transition: background-color 0.15s;
}
.back-ground-custom1 button[type="submit"]:hover {
    background-color: #374151;
}
.back-ground-custom1 button[type="button"] {
    cursor: pointer;
    background-color: rgb(32, 33, 37);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 24px;
    border: 0.666667px solid rgb(222, 226, 230);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 16px;
    transition: background-color 0.15s;
}
.back-ground-custom1 button[type="button"]:hover {
    background-color: #374151;
}
.back-ground-custom1 .text-red-600 {
    color: #dc2626;
}
.back-ground-custom1 .border-t {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.back-ground-custom1 .hidden { display: none; }
.back-ground-custom1 .max-w-xl { max-width: 36rem; }
.back-ground-custom1 .inline-flex { display: inline-flex; align-items: center; }
.back-ground-custom1 .items-center { align-items: center; }
.back-ground-custom1 .justify-end { justify-content: flex-end; }
.back-ground-custom1 .flex { display: flex; }
.back-ground-custom1 .justify-between { justify-content: space-between; }
.back-ground-custom1 .mt-10 { margin-top: 2.5rem; }
.back-ground-custom1 .mt-5 { margin-top: 1.25rem; }
.back-ground-custom1 .mt-4 { margin-top: 1rem; }
.back-ground-custom1 .mt-2 { margin-top: 0.5rem; }
.back-ground-custom1 .mt-1 { margin-top: 0.25rem; }
.back-ground-custom1 .me-3 { margin-inline-end: 0.75rem; }
.back-ground-custom1 .ms-3 { margin-inline-start: 0.75rem; }
.back-ground-custom1 .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.back-ground-custom1 .sm\:mt-0 { margin-top: 0; }
/* Jetstream-style modal for logout sessions */
.jetstream-modal {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    padding: 24px;
    z-index: 50;
    display: none;
}
.jetstream-modal.show { display: block; }
.jetstream-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(107, 114, 128, 0.75);
    transition: opacity 0.3s;
}
.jetstream-modal-content {
    background: rgb(32, 33, 37);
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    max-width: 42rem;
    margin: 1.5rem auto;
    overflow: hidden;
}
.jetstream-modal-content .modal-header {
    padding: 16px 24px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}
.jetstream-modal-content .modal-body {
    padding: 0 24px 16px;
    color: #fff;
    font-size: 14px;
}
.jetstream-modal-content .modal-body input {
    background-color: rgb(43, 44, 48);
    color: #fff;
    font-size: 16px;
    padding: 8px 12px;
    margin-top: 16px;
    border: 0.666667px solid rgb(209, 213, 219);
    border-radius: 6px;
    width: 75%;
    display: block;
}
.jetstream-modal-content .modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 16px 24px;
    background: rgba(255,255,255,0.05);
    gap: 12px;
}

/* Pagination */
.pre-pagination {
    text-align: center;
    margin: 20px 0;
}
.pre-pagination .pagination {
    justify-content: center;
}

/* ============================================================
   RELATED PARTS (Phần Liên Quan)
   ============================================================ */
.related-parts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}
.related-part-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}
.related-part-btn:hover {
    border-color: #1fc3f9;
    color: #1fc3f9;
    background: rgba(31, 195, 249, 0.08);
}
.related-part-btn.active {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-width: 2px;
}

/* Search Suggest Dropdown */
.search-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1a1a2e;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
    max-height: 480px;
    overflow-y: auto;
    overflow-x: hidden;
}
.search-suggest::-webkit-scrollbar {
    width: 4px;
}
.search-suggest::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.15);
    border-radius: 2px;
}
.search-suggest .search-auto {
    background: transparent;
}
.search-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: #fff;
    text-decoration: none;
    transition: background .15s;
}
.search-item:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
    text-decoration: none;
}
.search-item-img {
    width: 45px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    margin-right: 12px;
}
.search-item-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.search-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-item-ep {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}
