.app-navbar {
    background: #ffffff;
    border-bottom: 1px solid #eceff4;
}

html {
    scrollbar-width: thin;
    --app-scroll-track: #edf3fb;
    --app-scroll-thumb-start: #7f9dbd;
    --app-scroll-thumb-end: #5f83ad;
    --app-scroll-thumb-start-hover: #7092b8;
    --app-scroll-thumb-end-hover: #4f77a6;
    scrollbar-color: #90acc9 #edf3fb;
}

html[data-theme="dark"] {
    --app-scroll-track: #0b1526;
    --app-scroll-thumb-start: #395980;
    --app-scroll-thumb-end: #537aa6;
    --app-scroll-thumb-start-hover: #466a94;
    --app-scroll-thumb-end-hover: #628ab8;
    scrollbar-color: #6f8fba #0b1526;
}

html[data-theme="light"] {
    scrollbar-color: #90acc9 #edf3fb;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: var(--app-scroll-track);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--app-scroll-thumb-start) 0%, var(--app-scroll-thumb-end) 100%);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--app-scroll-thumb-start-hover) 0%, var(--app-scroll-thumb-end-hover) 100%);
}

.navbar-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #243447;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.navbar-theme-toggle:hover {
    background: #eef2f7;
    color: #0f172a;
}

@media (max-width: 991px) {
    .app-navbar .navbar-toggler {
        color: #1b2a40;
        border: 1px solid #d2dceb;
        background: #f8fbff;
        border-radius: 10px;
        padding: 6px 10px;
    }

    .app-navbar .navbar-toggler i {
        color: inherit;
    }
}

body[data-theme="dark"] {
    background: #0f1724;
    color: #d4dbe6;
}

body[data-theme="dark"] #loader-wrapper .loader-section {
    background: #0f1724;
}

body[data-theme="dark"] .app-navbar,
body[data-theme="dark"] .navbar-collapse {
    background: #131f31 !important;
    border-bottom: 1px solid #23344f;
}

body[data-theme="dark"] .navbar .nav-link,
body[data-theme="dark"] .navbar .dropdown-item {
    color: #c9d5e6;
}

body[data-theme="dark"] .navbar .dropdown-menu {
    background: #1a2940;
    border-color: #2a3d5c;
}

body[data-theme="dark"] .navbar .dropdown-item:hover {
    background: #243a59;
    color: #ffffff;
}

body[data-theme="dark"] .navbar-theme-toggle {
    border-color: rgba(162, 183, 212, 0.55);
    background: rgba(162, 183, 212, 0.12);
    color: #d8e4f6;
}

@media (max-width: 991px) {
    body[data-theme="dark"] .app-navbar .navbar-toggler {
        color: #e6efff;
        border-color: #355074;
        background: #1a2b44;
    }
}

body[data-theme="dark"] .app-user-pill {
    background: #1a2940;
    border-color: #324a6b;
}

body[data-theme="dark"] .app-user-dropdown-toggle {
    border-color: #324a6b;
}

body[data-theme="dark"] .app-user-avatar {
    border-color: #3a5478;
    background: #131f31;
}

body[data-theme="dark"] .app-user-name {
    color: #d8e4f6;
}

body[data-theme="dark"] .app-user-dropdown-menu {
    background: #1a2940;
    border-color: #2a3d5c;
}

body[data-theme="dark"] .app-user-dropdown-header {
    background: #15263d;
}

body[data-theme="dark"] .app-user-dropdown-name {
    color: #e7eefb;
}

body[data-theme="dark"] .app-user-dropdown-email {
    color: #9fb1c8;
}

body[data-theme="dark"] .app-user-menu-item--settings .app-user-menu-icon {
    color: #8da5ff;
}

body[data-theme="dark"] .app-user-menu-item--theme .app-user-menu-icon {
    color: #f8bc4e;
}

body[data-theme="dark"] .app-user-menu-item--logout .app-user-menu-icon {
    color: #ff7f98;
}

@media (max-width: 991px) {
    body[data-theme="dark"] .app-navbar .navbar-collapse {
        background: #131f31 !important;
        border-color: #2a3d5c;
        box-shadow: 0 14px 30px rgba(2, 8, 18, 0.6);
    }

    body[data-theme="dark"] .app-user-dropdown-menu .dropdown-item {
        color: #d5e0f1;
    }
}

body[data-theme="dark"] .tm-container-content,
body[data-theme="dark"] .tm-footer,
body[data-theme="dark"] .tm-bg-gray,
body[data-theme="dark"] .card,
body[data-theme="dark"] .table,
body[data-theme="dark"] .modal-content,
body[data-theme="dark"] .alert,
body[data-theme="dark"] .container-fluid.alert {
    background-color: #111b2b;
}

body[data-theme="dark"] .video-detail-shell,
body[data-theme="dark"] .video-detail-main-card,
body[data-theme="dark"] .video-detail-info,
body[data-theme="dark"] .video-detail-media-wrap,
body[data-theme="dark"] .video-detail-related-title {
    background: rgba(17, 27, 43, 0.9);
    color: #edf4ff;
}

body[data-theme="dark"] .video-detail-main-card {
    border: 1px solid rgba(127, 146, 181, 0.3);
    box-shadow: 0 18px 40px rgba(2, 8, 18, 0.42);
}

body[data-theme="dark"] .video-detail-meta-top,
body[data-theme="dark"] .video-detail-description-box {
    color: #c8d6ee;
}

body[data-theme="dark"] .video-detail-description-box {
    background: transparent;
    border-color: transparent;
}

body[data-theme="dark"] .video-detail-related-title {
    color: #ff786d;
}

body[data-theme="dark"] .tm-text-primary {
    color: #ff786d;
}

body[data-theme="light"] .video-detail-shell {
    color: #1c2d43;
}

body[data-theme="light"] .video-detail-main-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(122, 141, 177, 0.25);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .video-detail-media-wrap,
body[data-theme="light"] .video-detail-info {
    background: transparent;
}

body[data-theme="light"] .video-detail-description-box {
    background: rgba(123, 138, 171, 0.06);
    border-color: rgba(123, 138, 171, 0.2);
}

body[data-theme="light"] .video-detail-related-title {
    color: #ff5b60;
}

.video-detail-shell {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.video-detail-main-card {
    background: linear-gradient(180deg, rgba(15, 26, 41, 0.96), rgba(13, 23, 35, 0.98));
    border: 1px solid rgba(130, 148, 179, 0.25);
    border-radius: 22px;
    overflow: hidden;
    padding: 1.1rem 1.2rem 1rem;
    box-shadow: 0 18px 32px rgba(1, 7, 15, 0.3);
}

.video-detail-media-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #05080f;
    height: 100%;
    min-height: 360px;
}

.video-detail-player {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 540px;
    background: #05080f;
    border-radius: 18px;
}

.video-detail-footer-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 0.35rem 0;
}

.video-detail-like-row {
	display: flex;
	justify-content: flex-start;
	align-self: flex-start;
	margin-left: 0;
	margin-top: 0;
}

.video-detail-caption {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 600;
	color: #ecf3ff;
	letter-spacing: 0.02em;
	text-transform: lowercase;
}

.video-detail-info {
	height: 100%;
	margin-top: 15%;
	padding: 0.5rem 0.75rem 0.35rem 0.4rem;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.video-detail-meta-top {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.2rem;
	margin-bottom: 1.1rem;
	font-size: 0.82rem;
	letter-spacing: 0.01em;
	color: #d4def4;
}

.video-detail-meta-top strong {
	color: #f8fbff;
	font-weight: 700;
}

.video-detail-title {
	margin: 0 0 1rem;
	font-weight: 800;
	font-size: clamp(1.7rem, 2vw, 2.5rem);
	line-height: 1.2;
	color: #f5f9ff;
	word-break: break-word;
}

.video-detail-description-box {
	border: none;
	border-radius: 0;
	background: transparent;
	padding: 0;
	margin-bottom: 0;
}

.video-detail-description-box p {
	margin: 0;
	line-height: 1.7;
	font-size: 1rem;
	color: #d8e6ff;
	word-break: break-word;
}

.video-detail-related-title {
    margin: 0;
    font-size: clamp(1.9rem, 2vw, 2.5rem);
    font-weight: 800;
}

body[data-theme="light"] .video-detail-main-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,248,255,0.96));
    border-color: rgba(122, 141, 177, 0.25);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .video-detail-caption,
body[data-theme="light"] .video-detail-title,
body[data-theme="light"] .video-detail-meta-top,
body[data-theme="light"] .video-detail-description-box p {
    color: #1d2c3d;
}

body[data-theme="light"] .video-detail-meta-top strong {
    color: #182d47;
}

body[data-theme="light"] .video-detail-description-box {
    background: transparent;
    border-color: transparent;
}

@media (max-width: 991px) {
    .video-detail-info {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

@media (max-width: 767px) {
    .video-detail-player,
    .video-detail-media-wrap {
        min-height: 260px;
    }

    .video-detail-main-card {
        padding: 0.8rem;
    }

    .video-detail-info {
        margin-top: 0.8rem;
    }

    .video-detail-footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-detail-like-row {
        margin-left: 0;
        width: 100%;
    }

    .video-detail-like-row .video-like-btn {
        width: auto;
    }
}

body[data-theme="dark"] .tm-text-gray,
body[data-theme="dark"] p,
body[data-theme="dark"] label,
body[data-theme="dark"] .table,
body[data-theme="dark"] .card,
body[data-theme="dark"] .dropdown-item,
body[data-theme="dark"] .form-label,
body[data-theme="dark"] .form-check-label,
body[data-theme="dark"] .text-muted {
    color: #b2bfd4 !important;
}

body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] h4,
body[data-theme="dark"] h5,
body[data-theme="dark"] h6,
body[data-theme="dark"] th,
body[data-theme="dark"] td {
    color: #e7eefb;
}

body[data-theme="dark"] .form-control,
body[data-theme="dark"] .form-select,
body[data-theme="dark"] .tm-input-paging,
body[data-theme="dark"] textarea,
body[data-theme="dark"] select {
    background: #0e1827;
    border-color: #2f425f;
    color: #d5e0f1 !important;
}

body[data-theme="dark"] .form-control::placeholder,
body[data-theme="dark"] textarea::placeholder {
    color: #8ea2be;
}

body[data-theme="dark"] .tm-paging-link {
    background: #1d2d46;
    color: #cad5e6;
}

body[data-theme="dark"] .tm-paging-link:hover,
body[data-theme="dark"] .tm-paging-link.active {
    background: linear-gradient(135deg, #8b5cf6, #d85ae8);
    color: #fff;
}

body[data-theme="dark"] .tm-social-links li a {
    background-color: #1f304a;
    color: #cdd9ea;
}

body[data-theme="dark"] .tm-social-links li a:hover {
    background-color: #ff6255;
    color: #ffffff;
}

body[data-theme="dark"] .tm-search-form-live {
    background: rgba(20, 31, 49, 0.95);
    box-shadow: 0 12px 28px rgba(1, 7, 19, 0.55);
}

body[data-theme="dark"] .tm-search-form-live .tm-search-input {
    background: #0e1827;
    color: #d5e0f1 !important;
}

body[data-theme="dark"] .tm-search-form-live .tm-search-input::placeholder {
    color: #8ea2be;
}

body[data-theme="dark"] .gallery-empty-state {
    background: #111b2b;
    border-color: #2f425f;
    color: #b8c4d6;
}

body[data-theme="dark"] .video-card-figure {
    background: #0b1422;
    box-shadow: 0 14px 34px rgba(2, 8, 18, 0.6);
}

body[data-theme="dark"] .video-overlay-description {
    color: rgba(212, 224, 243, 0.95);
}

body[data-theme="dark"] .video-play-button {
    box-shadow: 0 14px 34px rgba(255, 75, 62, 0.4), 0 0 0 8px rgba(160, 185, 219, 0.14);
}

body[data-theme="dark"] .video-locked-pill {
    background: rgba(14, 29, 48, 0.8);
    border-color: rgba(150, 172, 202, 0.44);
}

body[data-theme="dark"] .video-detail-player-card,
body[data-theme="dark"] .tm-video-details {
    background: #111b2b;
}

body[data-theme="dark"] .profile-settings-card {
    background: #111b2b;
    border-color: #2b3f5e;
    box-shadow: 0 10px 24px rgba(2, 8, 18, 0.45);
}

body[data-theme="dark"] .video-detail-meta {
    border-top-color: #2b3d59;
}

body[data-theme="dark"] .video-like-btn {
    background: #162438;
    border-color: #314863;
    box-shadow: 0 8px 18px rgba(2, 8, 18, 0.45);
}

body[data-theme="dark"] .video-like-btn .video-like-count {
    color: #eaf1fd;
}

body[data-theme="dark"] .video-like-btn .video-like-label {
    color: #9fb1c8;
}

body[data-theme="dark"] .video-like-btn .video-like-icon-wrap {
    background: linear-gradient(180deg, #2a3a52 0%, #22344f 100%);
    border-color: #3a4f70;
}

body[data-theme="dark"] .video-like-btn.is-liked {
    border-color: #ff5f7c;
    background: linear-gradient(180deg, #4d2030 0%, #3c1624 100%);
}

body[data-theme="dark"] .btn-primary {
	background: linear-gradient(135deg, #8b5cf6, #d85ae8);
}

body[data-theme="dark"] a {
    color: #d0dbeb;
}

body[data-theme="dark"] a:hover {
    color: #ff8a81;
}

body[data-theme="dark"] .box,
body[data-theme="dark"] .box-header,
body[data-theme="dark"] .box-body,
body[data-theme="dark"] .box-footer,
body[data-theme="dark"] .table,
body[data-theme="dark"] .table thead th,
body[data-theme="dark"] .table tbody td,
body[data-theme="dark"] .table-bordered,
body[data-theme="dark"] .table-bordered > thead > tr > th,
body[data-theme="dark"] .table-bordered > tbody > tr > td,
body[data-theme="dark"] .modal-content,
body[data-theme="dark"] .modal-header,
body[data-theme="dark"] .modal-body,
body[data-theme="dark"] .modal-footer,
body[data-theme="dark"] .card.edit-video-card,
body[data-theme="dark"] .edit-video-header,
body[data-theme="dark"] .edit-video-body,
body[data-theme="dark"] .edit-video-progress-wrap,
body[data-theme="dark"] .media-preview-box {
    background: #111b2b;
    color: #eaf2ff;
    border-color: #2d4568;
}

body[data-theme="dark"] .box {
    border-top-color: #ff6255;
    box-shadow: 0 16px 34px rgba(2, 8, 18, 0.45);
}

body[data-theme="dark"] .box-header,
body[data-theme="dark"] .modal-header,
body[data-theme="dark"] .edit-video-header {
    border-bottom-color: #2d4568;
}

body[data-theme="dark"] .box-footer,
body[data-theme="dark"] .modal-footer,
body[data-theme="dark"] .edit-video-actions {
    border-top-color: #2d4568;
    background: #111b2b;
}

body[data-theme="dark"] .form-control,
body[data-theme="dark"] input,
body[data-theme="dark"] textarea,
body[data-theme="dark"] select,
body[data-theme="dark"] .files input {
    background: #0d1726;
    border-color: #35507a;
    color: #eaf2ff !important;
}

body[data-theme="dark"] .form-control::placeholder,
body[data-theme="dark"] input::placeholder,
body[data-theme="dark"] textarea::placeholder {
    color: #9ab0ce;
}

body[data-theme="dark"] .edit-video-subtitle,
body[data-theme="dark"] .media-preview-label,
body[data-theme="dark"] .edit-video-progress-help,
body[data-theme="dark"] .edit-video-progress-title {
    color: #b7c9e4;
}

body[data-theme="dark"] .badge.bg-light,
body[data-theme="dark"] .badge.bg-light.text-dark {
    background: #1b2d46 !important;
    color: #f4f8ff !important;
    border-color: #3b4f72 !important;
}

body[data-theme="dark"] .media-preview-image,
body[data-theme="dark"] .media-preview-video {
    background: #0b1422;
    border-color: #2d4568;
}

body[data-theme="dark"] .table > :not(caption) > * > * {
    border-color: #2d4568;
}

.edit-form-shell {
    padding: 2rem 0 4rem;
}

.edit-asset-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(147, 168, 196, 0.38);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.edit-asset-header {
    background: linear-gradient(180deg, rgba(245, 247, 252, 0.96), rgba(240, 244, 250, 0.96));
    border-bottom: 1px solid rgba(147, 168, 196, 0.35);
    padding: 1.4rem 1.5rem;
}

.edit-asset-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7b5cf0, #d85ae8);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(122, 92, 240, 0.25);
}

.edit-asset-header h4 {
    margin: 0;
    color: #1f2d3d;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.edit-asset-subtitle {
    margin: 0;
    color: #53657e;
    font-size: 0.92rem;
}

.edit-asset-badge {
    background: rgba(90, 121, 170, 0.12);
    border: 1px solid rgba(90, 121, 170, 0.18);
    color: #20314f;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
}

.edit-asset-body {
    padding: 1.5rem;
    background: rgba(248, 250, 252, 0.96);
}

.form-section-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: #2d3d52;
}

.edit-input-shell {
    display: flex;
    align-items: center;
    border: 1px solid rgba(135, 156, 187, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.edit-input-shell:focus-within {
    border-color: #b26bf9;
    box-shadow: 0 0 0 3px rgba(178, 107, 249, 0.12);
}

.edit-input-icon {
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #52698a;
    height: 54px;
    background: rgba(115, 141, 190, 0.08);
    border-right: 1px solid rgba(135, 156, 187, 0.35);
}

.edit-input {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #1a2a3d !important;
    height: 54px;
    border-radius: 0 !important;
}

.edit-input::placeholder {
    color: #7a8ca5;
}

.edit-upload-box {
    border: 1px solid rgba(135, 156, 187, 0.45);
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
}

.edit-upload-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #2d3d52;
    font-weight: 600;
}

.custom-file-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 56px;
    border: 1.5px dashed rgba(140, 158, 190, 0.75);
    border-radius: 12px;
    background: rgba(124, 101, 255, 0.04);
    color: #27384f;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-file-upload:hover {
    border-color: #b26bf9;
    background: rgba(178, 107, 249, 0.08);
}

.custom-file-upload__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #8b5cf6, #d85ae8);
    color: #fff;
    font-size: 1.1rem;
}

.custom-file-upload__text {
    font-weight: 600;
}

.edit-upload-help {
    display: block;
    margin-top: 0.7rem;
    color: #5d718e;
    font-size: 0.8rem;
}

.media-preview-box {
    border: 1px solid rgba(135, 156, 187, 0.45);
    border-radius: 14px;
    background: rgba(249, 251, 255, 1);
    padding: 1rem;
}

.media-preview-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #2d3d52;
}

.media-preview-wrap {
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(135, 156, 187, 0.4);
    background: #edf2fb;
    min-height: 220px;
}

.media-preview-image,
.media-preview-video,
.media-preview-audio-image {
    display: block;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    background: #edf2fb;
}

.preview-video-wrap {
    position: relative;
}

.preview-video-wrap video {
    height: 100%;
    min-height: 240px;
}

.preview-audio-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
}

.audio-inline-player {
    width: 100%;
    border-radius: 10px;
    background: rgba(9, 18, 29, 0.05);
}

.edit-asset-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    border-top: 1px solid rgba(135, 156, 187, 0.38);
    padding-top: 1.2rem;
}

.edit-asset-btn {
    min-width: 180px;
    padding: 0.8rem 1.1rem;
    font-weight: 700;
    border-radius: 12px;
}

.btn-back {
    background: rgba(116, 139, 172, 0.08);
    border: 1px solid rgba(116, 139, 172, 0.22);
    color: #24364d;
}

.btn-back:hover {
    background: rgba(116, 139, 172, 0.14);
    color: #1a2a3d;
}

.btn-save {
    background: linear-gradient(135deg, #d85ae8, #ff6862);
    border: none;
    color: #fff;
    box-shadow: 0 12px 24px rgba(214, 90, 155, 0.22);
}

.btn-save:hover {
    background: linear-gradient(135deg, #bb55d6, #ef5d63);
    color: #fff;
}

body[data-theme="dark"] .edit-asset-card {
    background: rgba(15, 24, 39, 0.92);
    border-color: rgba(116, 143, 190, 0.48);
    box-shadow: 0 18px 38px rgba(2, 8, 18, 0.45);
}

body[data-theme="dark"] .edit-asset-header {
    background: rgba(19, 32, 51, 0.96);
    border-bottom-color: rgba(116, 143, 190, 0.42);
}

body[data-theme="dark"] .edit-asset-header h4 {
    color: #edf4ff;
}

body[data-theme="dark"] .edit-asset-subtitle {
    color: #b7c9e4;
}

body[data-theme="dark"] .edit-asset-badge {
    background: rgba(152, 173, 223, 0.14);
    border-color: rgba(152, 173, 223, 0.34);
    color: #dfeaff;
}

body[data-theme="dark"] .edit-asset-body {
    background: rgba(11, 18, 29, 0.82);
}

body[data-theme="dark"] .form-section-label {
    color: #d8e6ff;
}

body[data-theme="dark"] .edit-input-shell {
    border-color: rgba(115, 144, 192, 0.55);
    background: rgba(13, 23, 38, 0.9);
}

body[data-theme="dark"] .edit-input-icon {
    color: #c9d8f5;
    background: rgba(97, 121, 164, 0.15);
    border-right-color: rgba(115, 144, 192, 0.35);
}

body[data-theme="dark"] .edit-input {
    color: #eef4ff !important;
}

body[data-theme="dark"] .edit-input::placeholder {
    color: #8ea6c9;
}

body[data-theme="dark"] .edit-upload-box {
    border-color: rgba(115, 144, 192, 0.5);
    background: rgba(17, 27, 43, 0.8);
}

body[data-theme="dark"] .edit-upload-label {
    color: #dfeaff;
}

body[data-theme="dark"] .custom-file-upload {
    border-color: rgba(171, 193, 230, 0.6);
    background: rgba(255, 255, 255, 0.02);
    color: #ebf2ff;
}

body[data-theme="dark"] .edit-upload-help {
    color: #9fb4d6;
}

body[data-theme="dark"] .media-preview-box {
    border-color: rgba(115, 144, 192, 0.5);
    background: rgba(15, 24, 39, 0.82);
}

body[data-theme="dark"] .media-preview-label {
    color: #dfeaff;
}

body[data-theme="dark"] .media-preview-wrap {
    border-color: rgba(115, 144, 192, 0.38);
    background: #09121d;
}

body[data-theme="dark"] .media-preview-image,
body[data-theme="dark"] .media-preview-video,
body[data-theme="dark"] .media-preview-audio-image {
    background: #09121d;
}

body[data-theme="dark"] .audio-inline-player {
    background: rgba(9, 18, 29, 0.8);
}

body[data-theme="dark"] .edit-asset-actions {
    border-top-color: rgba(115, 144, 192, 0.38);
}

body[data-theme="dark"] .btn-back {
    background: rgba(138, 155, 184, 0.12);
    border-color: rgba(138, 155, 184, 0.3);
    color: #ebf2ff;
}

body[data-theme="dark"] .btn-back:hover {
    background: rgba(138, 155, 184, 0.18);
    color: #fff;
}

.audio-detail-shell {
    padding-top: 4rem;
    padding-bottom: 1rem;
}

.audio-player-card {
    background: rgba(17, 29, 45, 0.9);
    border: 1px solid rgba(118, 137, 177, 0.42);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.audio-player-cover-wrap {
    padding: 1rem 1rem 0;
}

.audio-player-cover {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    border: 1px solid rgba(132, 152, 186, 0.32);
}

.audio-player-content {
    padding: 1.1rem 1.25rem 1.35rem;
}

.audio-player-title {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 700;
    color: #edf4ff;
}

.audio-player-subtitle {
    margin: 0.4rem 0 0;
    color: #b4c4df;
    font-size: 0.94rem;
}

.audio-player-wave-wrap {
    margin-top: 1.2rem;
    background: rgba(12, 20, 32, 0.7);
    border: 1px solid rgba(122, 141, 179, 0.3);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
}

.audio-player-wave {
    width: 100%;
    max-height: 80px;
}

.audio-player-meta {
    margin-top: 1rem;
}

.audio-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(122, 141, 179, 0.38);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #edf4ff;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
}

.audio-like-btn i {
    font-size: 1.1rem;
}

.audio-like-btn.is-liked {
    border-color: rgba(255, 87, 120, 0.5);
    background: rgba(255, 87, 120, 0.1);
    color: #ffd6df;
}

.audio-detail-search-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: min(100%, 560px);
    padding: 0.85rem 1rem;
    margin: 0 0 1.3rem auto;
    border-radius: 12px;
    background: rgba(131, 146, 172, 0.12);
    border: 1px solid rgba(126, 148, 187, 0.35);
    color: #dfeafe;
}

.audio-detail-search-box i {
    font-size: 1.15rem;
    color: #dfeafe;
}

.audio-detail-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #edf4ff;
    font-size: 1rem;
}

.audio-detail-search-box input::placeholder {
    color: rgba(223, 234, 254, 0.7);
}

.audio-related-header {
    margin-bottom: 1rem;
}

.audio-related-header h3 {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.3rem);
    font-weight: 700;
    color: #f04a68;
}

.audio-detail-related {
    display: block;
}

.audio-detail-related .row.container-fluid {
    margin: 0;
    --bs-gutter-x: 1rem;
}

.audio-detail-related .col-xl-3,
.audio-detail-related .col-lg-4,
.audio-detail-related .col-md-6,
.audio-detail-related .col-sm-6,
.audio-detail-related .col-12 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.audio-detail-related .audio-card {
    max-width: 100% !important;
    height: 150px !important;
}

.audio-detail-related .audio-premium-content {
    max-width: 240px;
}

body[data-theme="light"] .audio-player-card {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(121, 142, 177, 0.26);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .audio-player-title {
    color: #1d2c3d;
}

body[data-theme="light"] .audio-player-subtitle {
    color: #586a83;
}

body[data-theme="light"] .audio-player-wave-wrap {
    background: #f3f7fb;
    border-color: rgba(121, 142, 177, 0.28);
}

body[data-theme="light"] .audio-like-btn {
    background: rgba(125, 137, 164, 0.08);
    border-color: rgba(121, 142, 177, 0.2);
    color: #223246;
}

body[data-theme="light"] .audio-detail-search-box {
    background: rgba(123, 138, 171, 0.08);
    border-color: rgba(123, 138, 171, 0.25);
    color: #25364f;
}

body[data-theme="light"] .audio-detail-search-box i,
body[data-theme="light"] .audio-detail-search-box input {
    color: #24364d;
}

body[data-theme="light"] .audio-detail-search-box input::placeholder {
    color: rgba(36, 54, 77, 0.7);
}

body[data-theme="light"] .audio-related-header h3 {
    color: #f04a68;
}

@media (max-width: 991px) {
    .audio-detail-search-box {
        width: 100%;
        margin-left: 0;
    }

    .audio-player-cover {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .audio-player-cover {
        height: 200px;
    }

    .audio-related-header h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 767px) {
    .edit-asset-body {
        padding: 1rem;
    }

    .edit-asset-actions {
        flex-direction: column-reverse;
    }

    .edit-asset-btn {
        width: 100%;
    }
}
