/* ------------------------------------
   SaaS Sidebar Theme
------------------------------------ */

.saas-sidebar {
    width: 250px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 18px rgba(0,0,0,0.05);
    transition: width 0.25s ease;}
/* Collapsed */
.saas-sidebar.collapsed {
    width: 70px;}
.saas-sidebar.collapsed .saas-nav span,
.saas-sidebar.collapsed .saas-product,
.saas-sidebar.collapsed .saas-version,
.saas-sidebar.collapsed .saas-user {
    display: none;}
.saas-sidebar.collapsed .saas-logo {
    width: 40px;}
/* Header */
.saas-sidebar-header {
    text-align: center;
    margin-bottom: 20px;}
.saas-logo {
    width: 110px;
    margin-bottom: 8px;}
.saas-product {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;}
.saas-version {
    font-size: 0.75rem;
    color: #64748b;}
.saas-user {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 6px;}
/* Navigation */
.saas-nav {
    list-style: none;
    padding: 0;
    margin: 0;}
.saas-nav-link {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 6px;
    border-radius: 10px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;}
.saas-nav-link i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    margin-right: 10px;
    color: #2563eb;}
.saas-nav-link:hover {
    background: #eff6ff;
    color: #1d4ed8;}
.saas-nav-link.active {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;}
/* Collapse Button */
.saas-collapse-btn {
    margin-top: auto;
    background: #f1f5f9;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;}
.saas-collapse-btn:hover {
    background: #e2e8f0;}
/* Footer */
.saas-sidebar-footer {
    margin-top: 20px;}
.saas-logout-btn {
    width: 100%;
    background: #fee2e2;
    color: #b91c1c;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s ease;}
.saas-logout-btn:hover {
    background: #fecaca;}
/* ------------------------------
   SaaS Modal Theme
------------------------------ */

 

/* Header */
.saas-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;}
.saas-modal-header .modal-title {
    font-weight: 600;
    color: #1e293b;}
.saas-close span {
    color: #475569;
    font-size: 1.6rem;}
/* Body */
.saas-modal-body {
	color: #64748b;
    font-weight: 500;
    padding: 24px;}
/* Tabs */
.saas-tabs .nav-link {
    border: none;
    color: #64748b;
    font-weight: 500;
    padding: 10px 16px;}
.saas-tabs .nav-link.active {
    color: #2563eb;
    border-bottom: 3px solid #2563eb;
    background: transparent;}
/* Inputs */
.saas-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;}
.saas-input {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    font-size: 0.95rem;}
.saas-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #dbeafe;}
/* Info box */
.saas-info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 10px 12px;
    border-radius: 10px;
    color: #1e40af;}
/* File list */
.saas-file-list .list-group-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 6px;}
/* Processing */
.saas-processing {
    color: #2563eb;
    font-weight: 500;}
/* Progress */
.saas-progress {
    height: 16px;
    border-radius: 10px;
    background: #e2e8f0;}
.saas-progress .progress-bar {
    background: #2563eb;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 10px;}
/* Buttons */
.saas-btn-primary {
    background: #2563eb;
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    border: none;}
.saas-btn-primary:hover {
    background: #1d4ed8;}
.saas-btn-warning {
    background: #fbbf24;
    color: #78350f;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    border: none;}
.saas-btn-warning:hover {
    background: #f59e0b;}
/* ------------------------------
   SaaS Playlist Editor Modal
------------------------------ */

.saas-modal {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    overflow: hidden;}
/* Header */
.saas-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;}
/* Section titles */
.saas-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155 !important;
    margin-bottom: 10px;}
/* Inputs */
.saas-input {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    font-size: 0.95rem;}
/* Scroll box */
.saas-scroll-box {
    height: 50vh;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 0;}
/* List items */
.saas-list .list-group-item {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    background: #ffffff;
    cursor: pointer;
    transition: 0.15s ease;}
.saas-list .list-group-item:hover {
    background: #f1f5f9;}
.saas-list .list-group-item.active {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;}
/* Footer */
.saas-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 16px 20px;}
/* Badges */
.saas-badges {
    display: flex;
    gap: 10px;}
.saas-badge {
    background: #e2e8f0;
    color: #334155;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;}
.saas-badge-blue {
    background: #dbeafe;
    color: #1e40af;}
.saas-badge-dark {
    background: #cbd5e1;
    color: #0f172a;}
/* Buttons */
.saas-btn-primary {
    background: #2563eb;
    color: #fff;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    border: none;}
/* ------------------------------
   SaaS Preview Modal
------------------------------ */

 

/* Header */
.saas-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;}
/* Preview Body */
.saas-preview-body {
    padding: 0;
    background: #f1f5f9;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;}
/* Ensures video/image fits nicely */
.saas-preview-body img,
.saas-preview-body video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);}
/* Footer */
.saas-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 14px 20px;}
/* Buttons */
.saas-btn-secondary {
    background: #e2e8f0;
    color: #334155;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 600;
    border: none;}
.saas-btn-secondary:hover {
    background: #cbd5e1;}
/* ------------------------------
   SaaS Smart Deployment Modal
------------------------------ */

#deployModal .saas-modal {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* Header */
#deployModal .saas-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
}

#deployModal .saas-modal-header .modal-title {
    font-weight: 600;
    color: #1e293b;
}

#deployModal .saas-close span {
    color: #475569;
    font-size: 1.6rem;
}

/* Body */
#deployModal .saas-modal-body {
    padding: 24px;
}

/* Section box */
#deployModal .saas-section-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 10px;
}

#deployModal .saas-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

/* Inputs */
#deployModal .saas-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

#deployModal .saas-input {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 10px 12px;
    font-size: 0.95rem;
}

#deployModal .saas-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #dbeafe;
}

/* Badge */
#deployModal .saas-badge-blue {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Footer */
#deployModal .saas-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 14px 20px;
}

/* JSON preview */
#deployModal .saas-json-box {
    background: #0f172a;
    color: #22c55e;
    padding: 12px;
    border-radius: 10px;
    font-size: 11px;
    max-height: 200px;
    overflow-y: auto;
}

/* Buttons */
#deployModal .saas-btn-primary {
    background: #2563eb;
    color: #fff;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 600;
    border: none;
}

#deployModal .saas-btn-primary:hover {
    background: #1d4ed8;
}

#deployModal .saas-btn-secondary {
    background: #e2e8f0;
    color: #334155;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: 600;
    border: none;
}

#deployModal .saas-btn-secondary:hover {
    background: #cbd5e1;
}

#deployModal .saas-btn-success {
    background: #22c55e;
    color: #fff;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 600;
    border: none;
}

#deployModal .saas-btn-success:hover {
    background: #16a34a;
}

#deployModal .saas-btn-link {
    background: transparent;
    border: none;
    font-weight: 600;
    cursor: pointer;
}
/* ------------------------------
   SaaS Command Modal
------------------------------ */

#commandModal .saas-modal {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Header */
#commandModal .saas-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
}

#commandModal .saas-modal-header .modal-title {
    font-weight: 600;
    color: #1e293b;
}

#commandModal .saas-close {
    color: #475569;
    font-size: 1.6rem;
}

/* Body */
#commandModal .saas-modal-body {
    padding: 20px;
}

/* Labels */
#commandModal .saas-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

/* Small label */
#commandModal .saas-label-small {
    font-size: 0.65rem;
    color: #94a3b8;
}

/* Inputs */
#commandModal .saas-input {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1e293b;
}

#commandModal .saas-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #dbeafe;
}

/* Buttons */
#commandModal .saas-btn-primary {
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    border: none;
}

#commandModal .saas-btn-warning {
    background: #fbbf24;
    color: #78350f;
    border-radius: 8px;
    border: none;
}

#commandModal .saas-btn-danger {
    background: #ef4444;
    color: #fff;
    border-radius: 8px;
    border: none;
}

#commandModal .saas-btn-success {
    background: #22c55e;
    color: #fff;
    border-radius: 8px;
    border: none;
}

#commandModal .saas-btn-info {
    background: #0ea5e9;
    color: #fff;
    border-radius: 8px;
    border: none;
}

#commandModal .saas-btn-outline-primary {
    border: 1px solid #2563eb;
    color: #2563eb;
    background: transparent;
    border-radius: 8px;
}

#commandModal .saas-btn-outline-primary:hover {
    background: #dbeafe;
}

#commandModal .saas-btn-link {
    background: transparent;
    border: none;
    color: #2563eb;
    font-weight: 600;
}

#commandModal .saas-btn-icon {
    background: #f1f5f9;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    color: #475569;
}

/* Section box */
#commandModal .saas-section-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 10px;
}

/* Badge */
#commandModal .saas-badge-blue {
    background: #dbeafe;
    color: #1e40af;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Data box */
#commandModal .saas-data-box {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto;
}

/* Preformatted logs */
#commandModal .saas-pre {
    font-size: 11px;
    color: #16a34a;
    white-space: pre-wrap;
}

/* Table */
#commandModal .saas-table {
    background: transparent;
    font-size: 11px;
}

#commandModal .saas-table thead {
    background: #f1f5f9;
    color: #475569;
}
/* ------------------------------
   SaaS APK Modal
------------------------------ */

#apkModal .saas-apk-modal {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* Header */
#apkModal .saas-apk-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
}

#apkModal .saas-apk-header .modal-title {
    font-weight: 600;
    color: #1e293b;
}

#apkModal .saas-apk-close span {
    color: #475569;
    font-size: 1.6rem;
}

/* Body */
#apkModal .saas-apk-body {
    padding: 24px;
    background: #f8fafc;
    min-height: 200px;
    border-radius: 0 0 16px 16px;
}

/* If APK preview contains text, code, or metadata */
#apkModal .saas-apk-body pre {
    background: #0f172a;
    color: #22c55e;
    padding: 14px;
    border-radius: 10px;
    font-size: 12px;
    max-height: 300px;
    overflow-y: auto;
}

/* If APK preview contains cards or info blocks */
#apkModal .saas-apk-body .saas-info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 12px 16px;
    border-radius: 10px;
    color: #1e40af;
    margin-bottom: 12px;
}

/* ------------------------------
   SaaS Dashboard
------------------------------ */

.saas-container {
    max-width: 1400px;
    margin: auto;
}

.saas-page-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1e293b;
}

/* Cards */
.saas-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.saas-card-header {
    padding: 14px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.saas-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.saas-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
}

/* Progress */
.saas-progress {
    height: 8px;
    background: #e2e8f0;
    border-radius: 6px;
}

.saas-progress .progress-bar {
    background: #2563eb;
    border-radius: 6px;
}

.saas-progress-text {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

/* Buttons */
.saas-btn-secondary {
    background: #e2e8f0;
    color: #334155;
    border-radius: 8px;
    border: none;
    padding: 8px 14px;
    font-weight: 600;
}

.saas-btn-secondary:hover {
    background: #cbd5e1;
}

.saas-btn-danger {
    background: #ef4444;
    color: #fff;
    border-radius: 8px;
    border: none;
    padding: 8px 14px;
    font-weight: 600;
}

.saas-btn-danger:hover {
    background: #dc2626;
}
/* ------------------------------
   SaaS Dashboard Stat Cards
------------------------------ */

.saas-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.saas-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.saas-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.saas-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.saas-stat-icon {
    font-size: 1.8rem;
    opacity: 0.9;
}
/* ------------------------------
   SaaS Dashboard Alerts
------------------------------ */

.saas-alert-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    transition: background 0.15s ease;
}

.saas-alert-item:hover {
    background: #f8fafc;
}

.saas-alert-icon {
    font-size: 1rem;
    margin-right: 14px;
    margin-top: 3px;
}

.saas-alert-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.saas-alert-desc {
    font-size: 0.78rem;
    color: #64748b;
}

/* Progress bar inside alerts */
.saas-alert-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 6px;
}

.saas-alert-progress .progress-bar {
    border-radius: 6px;
}

/* Empty state */
.saas-alert-empty {
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
}
/* ------------------------------
   SaaS Media & Player Limit Cards
------------------------------ */

.saas-media-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.saas-media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.saas-media-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 6px;
}

.saas-media-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.saas-media-error {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ef4444;
}

.saas-media-progress {
    height: 8px;
    background: #e2e8f0;
    border-radius: 6px;
}

.saas-media-progress .progress-bar {
    border-radius: 6px;
}

.saas-media-percent {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}
/* ------------------------------
   SaaS Assets & Playlists Panel
------------------------------ */

.saas-assets-wrapper {
    height: calc(100vh - 65px);
    background: #f5f7fb;
}

/* Panels */
.saas-panel-left,
.saas-panel-right {
    background: #f5f7fb;
    border-right: 1px solid #e5e7eb;
}

.saas-panel-right {
    border-right: none;
}

/* Card container */
.saas-panel-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* Header */
.saas-panel-header {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 18px;
}

.saas-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
}

/* Search bar */
.saas-panel-search {
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.saas-input-sm {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 6px 10px;
    font-size: 0.85rem;
}

.saas-input-sm:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px #dbeafe;
}

/* List container */
.saas-list {
    background: #ffffff;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* List items (playlists + assets) */
.saas-list .list-group-item,
.saas-list-item {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background 0.15s ease;
}

.saas-list .list-group-item:hover,
.saas-list-item:hover {
    background: #f1f5f9;
}

.saas-list .list-group-item.active,
.saas-list-item.active {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: 600;
}

/* Buttons */
.saas-btn-primary {
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    border: none;
    padding: 6px 14px;
    font-weight: 600;
}

.saas-btn-primary:hover {
    background: #1d4ed8;
}
/* ------------------------------
   SaaS Playlist List
------------------------------ */

.saas-playlist-item {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
}

.saas-playlist-item:hover {
    background: #f8fafc;
}

.saas-playlist-info {
    flex-grow: 1;
}

.saas-playlist-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.saas-playlist-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* Action buttons */
.saas-playlist-actions {
    display: flex;
    gap: 6px;
}

.saas-btn-icon {
    background: #f1f5f9;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    color: #475569;
    transition: background 0.15s ease;
}

.saas-btn-icon:hover {
    background: #e2e8f0;
}

.saas-btn-icon-danger {
    background: #fee2e2;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    color: #b91c1c;
}

.saas-btn-icon-danger:hover {
    background: #fecaca;
}
/* ------------------------------
   SaaS Asset Library
------------------------------ */

.saas-asset-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.saas-asset-item {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    transition: background 0.15s ease;
}

.saas-asset-item:hover {
    background: #f8fafc;
}

/* Thumbnail */
.saas-asset-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-right: 14px;
    cursor: pointer;
}

.saas-asset-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.saas-asset-thumb i {
    font-size: 1.2rem;
    color: #475569;
}

/* Info */
.saas-asset-info {
    cursor: pointer;
}

.saas-asset-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}

.saas-asset-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* Actions */
.saas-asset-actions {
    display: flex;
    gap: 6px;
}

.saas-btn-icon {
    background: #f1f5f9;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    color: #475569;
}

.saas-btn-icon:hover {
    background: #e2e8f0;
}

.saas-btn-icon-danger {
    background: #fee2e2;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    color: #b91c1c;
}

.saas-btn-icon-danger:hover {
    background: #fecaca;
}
/* ------------------------------
   SaaS Playlist Editor Enhancements
------------------------------ */

#assetTransferModal .saas-playlist-search {
    margin-top: 8px;
    margin-bottom: 12px;
    width: 100%;
}

/* Make the header cleaner */
#assetTransferModal .modal-header .modal-title {
    font-weight: 600;
    color: #1e293b;
}

/* Ensure the right panel header aligns with SaaS style */
#assetTransferModal h6 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}
/* ------------------------------
   SaaS Playlist Editor Items
------------------------------ */

.saas-pl-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.saas-pl-item:hover {
    background: #f8fafc;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Top Row */
.saas-pl-top {
    margin-bottom: 8px;
}

/* Drag Handle */
.saas-pl-handle {
    cursor: grab;
    color: #94a3b8;
    font-size: 1rem;
    margin-right: 10px;
}

/* Title + Meta */
.saas-pl-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.saas-pl-type-icon {
    font-size: 0.8rem;
    color: #64748b;
    margin-right: 6px;
}

.saas-pl-meta {
    font-size: 0.7rem;
    color: #64748b;
    margin-left: 22px;
}

/* Divider */
.saas-pl-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
}

/* Duration */
.saas-pl-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
}

.saas-pl-duration i {
    font-size: 0.7rem;
}

/* Inputs */
.saas-input-xs {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 2px 4px;
    height: 26px;
    font-size: 0.75rem;
    width: 60px;
}

.saas-input-xs:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px #dbeafe;
}

/* Schedule */
.saas-pl-schedule {
    display: flex;
    align-items: center;
    gap: 6px;
}

.saas-pl-datewrap {
    position: relative;
}

.saas-pl-date {
    padding-left: 18px;
    width: 140px;
}

.saas-pl-start-icon,
.saas-pl-end-icon {
    position: absolute;
    left: 6px;
    top: 7px;
    font-size: 0.55rem;
    pointer-events: none;
}

.saas-pl-start-icon {
    color: #22c55e;
}

.saas-pl-end-icon {
    color: #ef4444;
}

.saas-pl-arrow {
    font-size: 0.6rem;
    color: #94a3b8;
}

/* Buttons */
.saas-btn-icon {
    background: #f1f5f9;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    color: #475569;
}

.saas-btn-icon:hover {
    background: #e2e8f0;
}

.saas-btn-icon-danger {
    background: #fee2e2;
    border: none;
    padding: 6px 8px;
    border-radius: 8px;
    color: #b91c1c;
}

.saas-btn-icon-danger:hover {
    background: #fecaca;
}

.saas-btn-link {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 0.75rem;
}

/* Status Badges */
.saas-pl-status span {
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.saas-badge-success {
    background: #dcfce7;
    color: #166534;
}

.saas-badge-warning {
    background: #fef9c3;
    color: #854d0e;
}

.saas-badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.saas-badge-danger {
    background: #fee2e2;
    color: #b91c1c;
}
/* ------------------------------
   SaaS Playlist Editor: Asset List Items
------------------------------ */

.saas-transfer-item {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}

.saas-transfer-item:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Left side */
.saas-transfer-info {
    max-width: 80%;
}

.saas-transfer-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.saas-transfer-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* Add button */
.saas-btn-icon-success {
    background: #dcfce7;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    color: #166534;
    transition: background 0.15s ease;
}

.saas-btn-icon-success:hover {
    background: #bbf7d0;
}
/* ------------------------------
   SaaS Upload Preview Items
------------------------------ */

.saas-upload-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 8px;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.saas-upload-item:hover {
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Left side */
.saas-upload-info {
    max-width: 75%;
}

.saas-upload-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.saas-upload-icon {
    font-size: 0.85rem;
    color: #64748b;
}

.saas-upload-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* Right side */
.saas-upload-size {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    color: #475569;
    font-weight: 600;
}
.saas-pl-info {
    pointer-events: none;
}

.saas-pl-info * {
    pointer-events: auto;
}

.saas-pl-handle {
    cursor: grab;
    pointer-events: auto;
}
