/* ------------------ */
/* ROOT + BASE        */
/* ------------------ */

/* Remove WordPress admin bar offset so content sits flush under the fixed header */
/* (moved to responsive.css as per guidelines) */


/* Base Layout */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-32);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #0B0C0F;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 6px var(--gap);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: var(--header-height);
  padding: 6px var(--gap);
}

/* Removed header hiding behavior - header always visible */

.site-header .wrapper_relative {
  width: 100%;
  height: 100%;
}

.site-header .row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 48px;
  gap: 0;
}

/* Nav + user-menu fill remaining space and align right */
.site-header .main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#user-menu {
  flex-shrink: 0;
  margin-left: 20px;
}

/* Remove all underlines from Simezu login button and all elements within #user-menu */
#user-menu *,
#user-menu a,
#user-menu button,
#user-menu [role="button"],
#user-menu span,
#user-menu div,
#user-menu .sz-button,
#user-menu .sz-login-button,
#user-menu .sz-avatar-button,
#user-menu .sz-dropdown *,
#user-menu .sz-dropdown a,
#user-menu .sz-dropdown button {
  text-decoration: none !important;
}

#user-menu *:hover,
#user-menu a:hover,
#user-menu button:hover,
#user-menu [role="button"]:hover,
#user-menu .sz-dropdown *:hover,
#user-menu .sz-dropdown a:hover {
  text-decoration: none !important;
}

#header_user_avatar {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 20px;
}

#header_user_avatar a {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  line-height: 0;
}

#header_user_avatar .avatar {
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid #333;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

#icon_search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-header .logo {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  position: relative;
}

.site-header .logo a {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.site-header .logo .logo-image {
  display: block;
  height: 28px;
  width: auto;
  opacity: 0.9;
  filter: brightness(1.05);
  object-fit: contain;
  object-position: top;
}

/* Hide tagline by clipping - show only top portion of SVG */
.site-header .logo {
  overflow: hidden;
  height: 28px;
}

.site-content {
  padding-top: var(--header-height);
}

.scrolled .site-content {
  padding-top: var(--header-height-scrolled);
}


/* Add margin to account for fixed header */
body {
  padding-top: 0;
  font-family: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.45;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  width: 100%;
  margin-bottom: var(--space-32);
}

/* Basic Column System */
.col {
  flex: 1;
  min-width: 0;
  padding: var(--space-24);
  color: var(--color-text);
}

/* Optional bordered column variant – use explicitly where needed */
.col-border {
  background: var(--color-bg-card);
  border: 1px solid rgba(184,186,193,0.2);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Buttons */
/* Remove underlines from all button text and all nested elements */
.button,
.btn,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
a.button,
a.btn,
[role="button"] {
    text-decoration: none !important;
}

/* Remove underlines from all nested elements within buttons */
.button *,
.btn *,
button *,
input[type="button"] *,
input[type="submit"] *,
input[type="reset"] *,
a.button *,
a.btn *,
[role="button"] *,
.button a,
.btn a,
button a,
a.button a,
a.btn a,
[role="button"] a,
.button span,
.btn span,
button span,
a.button span,
a.btn span,
[role="button"] span {
    text-decoration: none !important;
}

/* Ensure no underlines on hover for buttons and nested elements */
.button:hover,
.btn:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
a.button:hover,
a.btn:hover,
[role="button"]:hover,
.button:hover *,
.btn:hover *,
button:hover *,
a.button:hover *,
a.btn:hover *,
[role="button"]:hover * {
    text-decoration: none !important;
}

/* Remove underlines from tab buttons and all tab-related elements */
.tab-btn,
.tab-item,
.tabs-nav button,
.tabs-nav li,
.tabs-nav a,
.tab-btn *,
.tab-item *,
.tabs-nav button *,
.tabs-nav li *,
.tabs-nav a * {
    text-decoration: none !important;
}

.tab-btn:hover,
.tab-item:hover,
.tabs-nav button:hover,
.tabs-nav li:hover,
.tabs-nav a:hover,
.tab-btn:hover *,
.tab-item:hover *,
.tabs-nav button:hover *,
.tabs-nav li:hover *,
.tabs-nav a:hover * {
    text-decoration: none !important;
}

.button,
.btn {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--color-accent);
  color: #0a0a0a;
  padding: 10px 18px;
  min-height: 42px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.btn:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.button *,
.btn *,
.button i,
.btn i,
.button svg,
.btn svg,
.button .icon,
.btn .icon {
  color: inherit;
  transition: color 0.2s ease;
}

.button:hover *,
.btn:hover *,
.button:hover i,
.btn:hover i,
.button:hover svg,
.btn:hover svg,
.button:hover .icon,
.btn:hover .icon {
  color: #fff;
}

.button.secondary,
.btn.secondary,
.button-secondary {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.button.secondary:hover,
.btn.secondary:hover,
.button-secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* Avatar Styles - Site-wide rules */
/* User avatars - always round */
.network-user-avatar,
.user-avatar,
.avatar-user,
img[class*="user-avatar"],
img[class*="avatar"][class*="user"] {
    border-radius: 50% !important;
}

/* Group avatars - square with rounded corners */
.network-group-avatar,
.group-avatar,
.avatar-group,
img[class*="group-avatar"],
img[class*="avatar"][class*="group"] {
    border-radius: 8px !important;
}

/* Desktop First Approach */
[class^="col-"] {
  box-sizing: border-box;
}

/* Desktop Grid - 12 Column System with proper gap compensation */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-11 { flex: 0 0 calc(91.666667% - (var(--gap) * 1/12)); max-width: calc(91.666667% - (var(--gap) * 1/12)); }
.col-10 { flex: 0 0 calc(83.333333% - (var(--gap) * 2/12)); max-width: calc(83.333333% - (var(--gap) * 2/12)); }
.col-9  { flex: 0 0 calc(75% - (var(--gap) * 3/12)); max-width: calc(75% - (var(--gap) * 3/12)); }
.col-8  { flex: 0 0 calc(66.666667% - (var(--gap) * 4/12)); max-width: calc(66.666667% - (var(--gap) * 4/12)); }
.col-7  { flex: 0 0 calc(58.333333% - (var(--gap) * 5/12)); max-width: calc(58.333333% - (var(--gap) * 5/12)); }
.col-6 {  flex: 0 0 calc((100% - var(--gap)) / 2);  max-width: calc((100% - var(--gap)) / 2);}
.col-5  { flex: 0 0 calc(41.666667% - (var(--gap) * 7/12)); max-width: calc(41.666667% - (var(--gap) * 7/12)); }
.col-4 {  flex: 0 0 calc((100% - 2 * var(--gap)) / 3); max-width: calc((100% - 2 * var(--gap)) / 3);}
.col-3 {  flex: 0 0 calc((100% - 3 * var(--gap)) / 4); max-width: calc((100% - 3 * var(--gap)) / 4); }
.col-2  { flex: 0 0 calc(16.666667% - (var(--gap) * 10/12)); max-width: calc(16.666667% - (var(--gap) * 10/12)); }
.col-1  { flex: 0 0 calc(8.333333% - (var(--gap) * 11/12)); max-width: calc(8.333333% - (var(--gap) * 11/12)); }


/* Full Width Sections */
.fullwidth {
  width: 100%;
  padding: var(--space-48) var(--gap);
  background: var(--color-bg);
  margin-bottom: var(--space-48);
}

/* Discovery/public page title and description inside .fullwidth .col – same padding as homepage */
.fullwidth .discovery-page-title {
  margin: 0 0 8px 0;
  font-size: 1.75rem;
  color: var(--color-text);
}
.fullwidth .discovery-page-desc {
  margin: 0;
  color: var(--color-text-subtle);
  font-size: 1rem;
}

/* Full Bleed Column (no left/right spacing or padding) */
.col-fullwidth {
  flex: 0 0 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility Classes */
.hide { display: none !important; }
.show { display: block !important; }
.flex { display: flex !important; }

/* Alignment Classes */
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

/* helper classes */
.wrapper_relative {
  position: relative;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

/* Sticky Behavior */
.sticky-scroll {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* Nested Sticky Elements */
.sticky-parent {
  position: relative;
  min-height: 100px;
}

.sticky-parent .sticky-scroll {
  position: -webkit-sticky;
  position: sticky;
  top: var(--sticky-top-offset);
  z-index: 1;
}

.sticky-child {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
  background: transparent;
  padding: var(--gap);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-top: var(--gap);
}

/* Sticky Container */
.sticky-container {
  position: relative;
  min-height: 100px;
  transition: height 0.3s ease;
}

.sticky-wrapper {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  max-width: var(--container-max-width);
  margin: auto;
}

.scroll-content {
  flex: 1;
  background: var(--color-bg-card);
  padding: var(--gap);
  border-radius: 4px;
}

/* Scroll Test Area */
.scroll-area {
  position: relative;
  min-height: 600px;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: 0;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Footer */
footer {
  background: #e3e3e3;
  color: white;
  padding: 0;
}

/* Logo */
.logo {
  float: left;
  padding: 0;
  margin: 0;
  font-weight: 500;
  font-size: 1em;
  display: flex;
  align-items: center;
  z-index: 2100;
  position: relative;
}

.logo a {
  color: #333;
  text-decoration: none;
  font-size: 1em;
  font-weight: normal;
  font-family: 'Bebas Neue', 'Arial', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Header Image with Parallax Effect */
.header-image {
  position: relative;
  width: 100%;
  height: 60vh;
  max-height: 800px;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  margin: 0;
  padding: 0
}

/* Parallax background layer */
.header-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateY(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: 0;
  background-color: #000;
}



/* Overlay for better text readability */
.header-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}


/* Header Text Container - stays in place */
.header-text {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding: var(--gap);
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.header-text h1 {
  font-family: 'Inter Tight', 'IBM Plex Sans', sans-serif;
  font-size: clamp(3rem, 4vw, 4.5rem);
  font-weight: 600;
  margin-bottom: var(--space-16);
  line-height: 1.2;
}

.header-text p {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.1rem;
  margin-bottom: var(--space-24);
  line-height: 1.45;
  color: var(--color-text-subtle);
}

/* Dashboard Header */
.dashboard-user-avatar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.dashboard-user-avatar .avatar {
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Dashboard Navigation */
.dashboard-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
}

.dashboard-nav li {
  margin-bottom: 2px;
}

.dashboard-nav a {
  display: block;
  padding: 8px 16px;    
  color: var(--color-text-subtle);
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  background: transparent;
}

.dashboard-nav a:hover {
  background-color: rgba(168, 213, 186, 0.1);
  border-left-color: var(--color-accent);
  color: var(--color-text);
}

.dashboard-nav li.current a {
  background-color: rgba(168, 213, 186, 0.15);
  border-left-color: var(--color-accent);
  color: var(--color-text);
}

/* Member Profile Public */
.member-profile-public {
  padding: 20px 0;
}

.member-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--color-bg-card);
  border-radius: 8px;
}

.member-avatar .avatar {
  border-radius: 50%;
  border: 3px solid #ddd;
}

.member-info h1 {
  margin: 0 0 10px 0;
  font-size: 2em;
}

.member-meta {
  color: var(--color-text-subtle);
  font-size: 0.9em;
}

.member-nav {
  margin-bottom: 20px;
}

.member-content {
  min-height: 400px;
}

/* Activity List */
.activity-list {
  margin-top: 15px;
}

.activity-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.activity-content {
  margin-bottom: 8px;
}

.activity-meta {
  font-size: 0.85em;
  color: #666;
}

/* Dashboard Section Headers */
.dashboard-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.dashboard-section-header h3 {
  margin: 0;
  font-size: 1.8em;
  color: #333;
}

/* Dashboard Subnavigation */
.dashboard-subnav {
  margin-bottom: 10px;
}

.subnav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  border-bottom: 1px solid #ddd;
}

.subnav-list li {
  margin: 0;
}

.subnav-list a {
  display: block;
  padding: 12px 16px;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.subnav-list a:hover,
.subnav-list li.current a {
  color: var(--primary-color, var(--color-accent));
  border-bottom-color: var(--primary-color, var(--color-accent));
}

/* Dashboard Content */
.dashboard-content {
  margin-top: 20px;
}

/* Groups Grid */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.group-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.group-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  cursor: pointer;
}

.group-card:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.group-avatar {
  flex-shrink: 0;
}

.group-avatar-image {
  border-radius: 8px;
  border: 2px solid #ddd;
  transition: border-color 0.3s ease;
}

.group-card:hover .group-avatar-image {
  border-color: var(--primary-color, var(--color-accent));
}

.group-info {
  flex: 1;
  min-width: 0;
}

.group-name {
  margin: 0 0 8px 0;
  font-size: 1.1em;
  font-weight: 600;
}

.group-name {
  color: #333;
  transition: color 0.3s ease;
}

.group-card:hover .group-name {
  color: var(--primary-color, #007cba);
}

.group-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9em;
  color: #666;
}

.group-type {
  text-transform: capitalize;
  font-weight: 500;
}

.group-members {
  color: #888;
}

.group-actions {
  margin-top: 8px;
}

.unfollow-group {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.unfollow-group:hover {
  background: #c82333;
}

.no-groups-message {
  text-align: center;
  color: #666;
  font-style: italic;
  margin: 40px 0 20px 0;
}

/* Group Card Wrapper for Following page */
.group-card-wrapper {
  position: relative;
}

.group-card-wrapper .group-actions {
  margin-top: 10px;
  text-align: right;
}

.group-card-wrapper .unfollow-group {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.group-card-wrapper .unfollow-group:hover {
  background: #c82333;
}

.group-card-wrapper .unfollow-group:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

/* Notice styles for follow/unfollow messages */
.notice {
  padding: 12px 15px;
  margin: 5px 0 15px;
  border-left: 4px solid;
  border-radius: 4px;
}

.notice-success {
  background-color: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.notice-error {
  background-color: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* Group Layout Styles - Removed to match user profile design */

/* Group header in new layout */
.header-text h1 {
  margin: 0;
  font-size: 2.5em;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header-text .group-meta {
  color: rgba(255,255,255,0.9);
  margin-top: 10px;
}

/* Group navigation styling - inherit from dashboard nav */
.sticky-container[data-sticky-container="group-nav"] .dashboard-nav li.current a {
  background-color: transparent;
  border-left-color: var(--primary-color, var(--color-accent));
  color: var(--primary-color, var(--color-accent));
}

/* Sticky Navigation Fix */
.sticky-container[data-sticky-container="live-personalize"] .sticky-scroll,
.sticky-container[data-sticky-container="group-nav"] .sticky-scroll,
.sticky-container[data-sticky-container="weblog-categories"] .sticky-scroll {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* Weblog sticky layout */
.weblog-sidebar-card {
  position: sticky;
  top: calc(var(--sticky-top-offset) + 20px);
  align-self: flex-start; /* required for sticky: don't stretch to row height */
  background: var(--color-bg-card);
  border: 1px solid rgba(184,186,193,0.2);
  border-radius: 12px;
  padding: var(--gap);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.weblog-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-category-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.blog-category-list a {
  color: inherit;
  text-decoration: none;
}

.blog-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tag-cloud a {
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.weblog-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(var(--gap) * 1.5);
}

.weblog-item {
  display: flex;
  gap: var(--gap);
  padding: calc(var(--gap) * 0.75);
  margin-bottom: calc(var(--gap) * 1.25);
  background: rgba(0,0,0,0.4);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.weblog-item__media {
  flex: 0 0 34%;
  border-radius: 12px;
  overflow: hidden;
}

.weblog-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.weblog-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.weblog-item__meta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  gap: 8px;
  align-items: center;
}

.weblog-item__title {
  font-size: 2rem;
  margin: 0;
}

.weblog-item__title a {
  color: #fff;
  text-decoration: none;
}

.weblog-item__title a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
}

.weblog-item__excerpt {
  max-width: 70%;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.weblog-read-link {
  align-self: flex-start;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  text-decoration: none;
}

.weblog-read-link:hover {
  background: rgba(255,255,255,0.08);
}

.single-weblog-body {
  line-height: 1.75;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

.single-weblog-body p {
  margin-bottom: 1.3em;
}

.weblog-pagination {
  margin-top: var(--gap);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.weblog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}

.weblog-pagination .page-numbers.current {
  background: #fff;
  color: #0c0c0c;
  font-weight: 600;
}

.weblog-pagination .page-numbers:hover {
  background: rgba(255,255,255,0.2);
}

.single-weblog-layout .col.col-9 {
  background: rgba(0,0,0,0.5);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.single-weblog-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-text--single {
  align-items: flex-start;
}

.single-weblog-date {
  margin-left: auto;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

.single-weblog-author {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.single-weblog-body {
  line-height: 1.75;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
}

.single-weblog-body p {
  margin-bottom: 1.2em;
}

.single-weblog-share {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-button {
  background: #2d2d2d;
  border: none;
}

.share-feedback {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.weblog-layout .col.col-2 .sticky-scroll h3,
.weblog-layout .col.col-2 .sticky-scroll h4 {
  margin-top: 0;
}

/* Ensure sticky child elements work */
.sticky-container[data-sticky-container="live-personalize"] .sticky-child,
.sticky-container[data-sticky-container="group-nav"] .sticky-child,
.sticky-container[data-sticky-container="weblog-categories"] .sticky-child {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 101;
  background: transparent;
  padding: var(--gap);
  border-radius: 4px;
  margin-top: var(--gap);
}

/* Dashboard Widgets */
.dashboard-widget {
  background: var(--color-bg-card);
  padding: 15px;
  margin-bottom: 15px;
}

/* Dashboard Layout Improvements */
#dashboard_messages, 
#dashboard_groups, 
#dashboard_friends {
  background: var(--color-bg-card);
  padding: 20px;
  margin-bottom: 15px;
  min-height: 200px;
}

/* Fix spacing for dashboard section headers within these containers */
#dashboard_messages .dashboard-section-header,
#dashboard_groups .dashboard-section-header,
#dashboard_friends .dashboard-section-header {
  margin: -20px -20px 16px -20px;
  padding: 16px 20px 12px 20px;
  background: transparent;
  border-bottom: 1px solid rgba(184,186,193,0.25);
}

#dashboard_playlists,
#dashboard_activity,
#dashboard_events {
  background: var(--color-bg-card);
  padding: 20px;
  margin-bottom: 15px;
  min-height: 250px;
}

.recent-groups, .recent-friends {
  margin: 10px 0;
}

.friend-item {
  margin: 5px 0;
}

/* ===== HEADER AVATARS ===== */

/* Large Dashboard Avatar - Positioned absolutely within section fullwidth */
.dashboard-user-avatar-large {
  position: absolute;
  top: calc(45% - 100px); /* raised ~100px */
  left: 40px; /* shift slightly more left */
  z-index: 10; /* Above header image content */
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  width: 250px;
  height: 250px;
  z-index: 2;
}

.dashboard-user-avatar-large .avatar-large {
  border-radius: 50%;
  display: block;
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 6px solid white;
}



/* Ensure header has relative positioning for avatar positioning */
.col-fullwidth .header-image {
  position: relative;
}

/* Header user meta next to avatar */
.header-user-meta {
  position: absolute;
  left: 320px; /* avatar (250) + border + ~50px spacing */
  top: 70%; /* more downward */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.header-user-meta .header-user-name {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.header-user-meta .header-user-handle {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.85;
}

/* Remove all navigation spacing */
.col-3 .sticky-container {
  padding-top: 0;
}

.dashboard-widget h4 {
  margin: 0 0 10px 0;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dashboard-widget h4 i {
  color: var(--primary-color, #007cba);
}

.dashboard-widget p {
  margin: 5px 0;
  color: #666;
}

.dashboard-widget .button.small {
  padding: 6px 12px;
  font-size: 0.9em;
  margin-top: 8px;
}

/* Dashboard activity list */
.activity-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.activity-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-content {
  margin-bottom: 5px;
}

.activity-meta {
  font-size: 0.8em;
  color: #999;
}

/* Recent groups and friends */
.recent-groups,
.recent-friends {
  margin: 10px 0;
}

.group-item,
.friend-item {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  display: block;
  text-decoration: none;
  color: inherit;
}

.group-item:last-child,
.friend-item:last-child {
  border-bottom: none;
}

/* When group-item is an anchor, apply link styles */
a.group-item,
a.friend-item {
  color: var(--primary-color, #007cba);
  text-decoration: none;
  font-size: 0.9em;
  cursor: pointer;
  transition: color 0.2s ease;
}

a.group-item:hover,
a.friend-item:hover {
  text-decoration: underline;
  color: var(--primary-color-hover, #005a87);
}

/* When group-item is a div with an anchor inside (legacy support) */
.group-item a,
.friend-item a {
  color: var(--primary-color, #007cba);
  text-decoration: none;
  font-size: 0.9em;
}

.group-item a:hover,
.friend-item a:hover {
  text-decoration: underline;
}

/* Latest Uploads Component Styles */
.latest-uploads .uploads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.latest-uploads .view-all-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.latest-uploads .view-all-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.no-uploads {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-uploads a {
    color: var(--color-accent);
    text-decoration: none;
}

/* Grid View Styles */
.uploads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.upload-card {
    background: var(--color-bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upload-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.upload-artwork {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.upload-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-card:hover .upload-overlay {
    opacity: 1;
}

.play-btn {
    background: var(--color-accent-hover);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.play-btn:hover {
    background: #7ab896;
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.upload-info {
    padding: 15px;
}

.song-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.song-title a {
    color: var(--color-text);
    text-decoration: none;
}

.song-title a:hover {
    color: var(--color-accent);
}

.artist-name {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: var(--color-text-subtle);
}

.artist-name a {
    color: var(--color-accent);
    text-decoration: none;
}

.genre {
    margin: 0 0 15px 0;
    font-size: 12px;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    font-weight: 500;
}

.upload-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    margin-left: auto;
}

.playlist-large-player .upload-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

/* EXACT PLAYLIST TRACKS STYLING - Applied to ALL icons */
.icon-small {
    background: none !important;
    border: 1px solid rgba(184,186,193,0.3) !important;
    border-radius: 4px !important;
    padding: 4px 6px !important;
    cursor: pointer;
    font-size: 12px !important;
    color: var(--color-text-subtle) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    transition: all 0.3s ease !important;
    opacity: 0.7 !important;
}

.icon-small:hover {
    background: rgba(79, 125, 243, 0.1) !important;
    border-color: rgba(184,186,193,0.5) !important;
    color: var(--color-text) !important;
    opacity: 1 !important;
}

.icon-small i {
    color: var(--color-text-subtle) !important;
    opacity: 0.7 !important;
}

.icon-small:hover i {
    color: var(--color-text) !important;
    opacity: 1 !important;
}

.license-info {
    margin-left: auto;
}

.license-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

.upload-meta {
    font-size: 12px;
    color: var(--color-text-subtle);
    text-align: right;
}

/* List View Styles */
.uploads-list {
    background: var(--color-bg-card);
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.upload-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px 120px 60px;
    gap: 15px;
    align-items: center;
    padding: 6px 15px 6px 35px;
    border-bottom: 1px solid rgba(184,186,193,0.2);
    background-color: var(--color-bg);
    transition: background-color 0.2s ease;
    min-height: 32px;
    cursor: grab;
    position: relative;
    z-index: 1;
}

/* Reduce left padding when no drag handle */
.disable-drag-drop .upload-row,
.upload-row:not(:has(.drag-handle)) {
    padding-left: 15px;
}

.upload-row:active {
    cursor: grabbing;
}

.upload-row:last-child {
    border-bottom: none;
}

.upload-row:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.upload-row.dragging {
    opacity: 0.5;
    background-color: rgba(255, 255, 255, 0.02);
}

.upload-row.drop-target {
    border-top: 2px solid var(--color-accent);
    background-color: rgba(255, 255, 255, 0.05);
}

.upload-row.playing {
    background-color: rgba(255, 255, 255, 0.05);
}

.upload-row.playing:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.upload-play-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Remove gap when no drag handle is present */
.disable-drag-drop .upload-play-col,
.upload-play-col:not(:has(.drag-handle)) {
    gap: 0;
}

.drag-handle {
    font-size: 10px;
    color: var(--color-text-subtle);
    cursor: grab;
    padding: 2px;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--color-bg-card);
    border: 1px solid rgba(184,186,193,0.2);
    border-radius: 3px;
    padding: 4px;
}

.drag-handle:active {
    cursor: grabbing;
}

.play-btn-list {
    background: var(--color-accent-hover);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.play-btn-list:hover {
    background: #7ab896;
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.upload-info-col {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0; /* Allows text truncation */
    width: 100%;
}

.upload-title-row {
    display: flex;
    gap: 6px;
    align-items: baseline;
    flex-wrap: nowrap;
    line-height: 1.2;
    min-width: 0; /* Allows flex children to shrink */
    overflow: hidden; /* Prevents content from breaking layout */
    width: 100%;
    white-space: nowrap; /* Prevents wrapping of entire row */
    margin-top: 0.5px; /* Move first line slightly down */
}

.song-title-list {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1; /* Allows title to shrink if needed */
    min-width: 0; /* Allows text truncation */
    display: inline-block; /* Ensures proper inline behavior */
}

.song-title-list a {
    color: var(--color-text);
    text-decoration: none;
}

.song-title-list a:hover {
    color: var(--color-accent);
}

.upload-meta-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: nowrap;
    line-height: 1.2;
    margin-top: -1.5px; /* Move second line slightly up */
    white-space: nowrap;
    overflow: hidden;
    min-width: 0;
}

.artist-name-list {
    font-size: 12px;
    color: var(--color-text-subtle);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1; /* Allows artist name to shrink if needed */
    min-width: 0; /* Allows text truncation */
    display: inline; /* Ensures it stays inline */
}

.artist-name-list a {
    color: var(--color-accent);
    text-decoration: none;
}

.album-name-list {
    font-size: 12px;
    color: var(--color-text-subtle);
    line-height: 1.2;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1; /* Allows album name to shrink if needed */
    min-width: 0; /* Allows text truncation */
    display: inline; /* Ensures it stays inline */
}

.album-name-list a {
    color: var(--color-accent);
    text-decoration: none;
}

.upload-genre-col {
    text-align: center;
}

.genre-list {
    font-size: 11px;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    font-weight: 500;
    background: rgba(184,186,193,0.2);
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

.upload-actions-col {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-left: auto;
    align-items: center;
}

/* On album pages, ensure icons are fully aligned to the right */
.single-album .upload-actions-col,
body.single-album .upload-actions-col,
body.post-type-album .upload-actions-col {
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
}

/* Ensure upload-row on album pages has proper grid alignment */
.single-album .upload-row,
body.single-album .upload-row {
    grid-template-columns: 40px 1fr 80px auto 0;
}

.single-album .upload-row .upload-actions-col,
body.single-album .upload-row .upload-actions-col {
    grid-column: 4;
    justify-self: end;
}

/* All icon styling is now handled by the unified system above */

.upload-date-col {
    text-align: center;
}

.upload-date-list {
    font-size: 11px;
    color: var(--color-text-subtle);
    white-space: nowrap;
}

/* Playlist Dropdown Styles - LOGICAL Z-INDEX APPROACH */
.playlist-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.playlist-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--color-bg-card);
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 5px;
    border: 1px solid rgba(184,186,193,0.2);
}

.playlist-dropdown.active .playlist-dropdown-content {
    display: block;
    z-index: 1000;
}

/* CRITICAL FIX: When playlist dropdown is active, elevate the entire upload row */
.upload-row:has(.playlist-dropdown.active) {
    z-index: 9;
    position: relative;
}

/* Fallback for browsers that don't support :has() */
.upload-row.playlist-active {
    z-index: 9;
    position: relative;
}

/* Additional fix for playlist popup positioning - merged with above */

/* CLEAN FIX: Ensure track elements stay below playlist popup */
.upload-row,
.uploads-list,
.icon-small {
    position: relative;
    z-index: 1;
}

/* Ensure music list items don't interfere with playlist popup */
.music-list .upload-row,
.music-list .uploads-list,
.music-list .icon-small {
    z-index: 1;
}

/* Force all track action elements to appear below playlist popup */
.upload-actions,
.upload-actions-col,
.track-actions,
.track-actions-col,
.music-actions,
.action-btn-list {
    z-index: 1;
}

/* Specifically target track action icons */
.upload-actions .icon-small,
.track-actions .icon-small,
.music-actions .icon-small,
.action-btn-list .icon-small {
    z-index: 1;
}

/* Override any high z-index values that might interfere with playlist popup */
.upload-actions-col,
.track-actions-col,
.music-actions-col {
    z-index: 1;
}

/* Ensure all buttons and icons in music lists have low z-index */
.music-list .upload-actions,
.music-list .track-actions,
.music-list .music-actions,
.music-list .action-btn-list {
    z-index: 1;
}

.playlist-dropdown-header {
    padding: 8px 15px;
    border-bottom: 1px solid rgba(184,186,193,0.2);
    background: var(--color-bg-card);
    border-radius: 8px 8px 0 0;
}

.playlist-dropdown-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

.playlist-dropdown-list {
    max-height: 200px;
    overflow-y: auto;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #333;
    font-size: 13px;
}

.playlist-item:hover {
    background-color: rgba(168, 213, 186, 0.15);
}

.playlist-item.selected {
    background-color: rgba(168, 213, 186, 0.2);
    color: var(--color-accent);
}

.playlist-item.selected i {
    color: #1976d2;
}

.playlist-item i {
    color: var(--color-accent);
    font-size: 12px;
}

.playlist-item span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.no-playlists {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 13px;
    font-style: italic;
}

.playlist-dropdown-actions {
    padding: 12px 15px;
    border-top: 1px solid rgba(184,186,193,0.2);
    background: var(--color-bg-card);
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.add-to-playlist-btn {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--button-color);
    background: var(--button-color);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-to-playlist-btn:hover {
    background: var(--button-color-hover);
    border-color: var(--button-color-hover);
}

.playlist-dropdown-separator {
    text-align: center;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 0;
}

.create-playlist-btn {
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.create-playlist-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

/* Playlist Modal Styles */
.playlist-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: none;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    box-sizing: border-box;
    transform: none !important;
    will-change: auto !important;
    overflow: auto !important;
}

.playlist-modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.playlist-modal-content form {
    padding: 25px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.playlist-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.playlist-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.playlist-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.playlist-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.playlist-form-group {
    margin-bottom: 20px;
}

.playlist-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.playlist-form-group input[type="text"],
.playlist-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.playlist-form-group input[type="text"]:focus,
.playlist-form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.playlist-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.playlist-modal-actions {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.playlist-modal-btn {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.playlist-modal-btn.secondary {
    background: #fff;
    color: #666;
}

.playlist-modal-btn.secondary:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.playlist-modal-btn.primary {
    background: var(--button-color);
    color: #fff;
    border-color: var(--button-color);
}

.playlist-modal-btn.primary:hover {
    background: var(--button-color-hover);
    border-color: var(--button-color-hover);
}



/* Success/Error Messages */
.playlist-message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.playlist-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.playlist-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Playlists Page Styles */
.playlists-page {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.playlists-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.playlists-header h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

.create-playlist-btn-large {
    background: var(--button-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.create-playlist-btn-large:hover {
    background: var(--button-color-hover);
    transform: translateY(-1px);
}

/* Tabs */
.playlists-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 12px 20px;
    text-decoration: none !important;
}

.tab-btn *,
.tab-btn span,
.tab-btn a {
    text-decoration: none !important;
}

.tab-btn:hover,
.tab-btn:hover * {
    text-decoration: none !important;
}

.tab-btn {
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--color-accent);
}

.tab-btn.active {
    color: var(--color-text);
    border-bottom-color: var(--color-accent);
    background-color: rgba(168, 213, 186, 0.15);
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* No Playlists Message */
.no-playlists-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-playlists-message i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-playlists-message h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.no-playlists-message p {
    margin: 0 0 30px 0;
    font-size: 16px;
}

/* Playlists Grid */
.playlists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* Playlist Cards */
.playlist-card {
    background: var(--color-bg-card);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(184,186,193,0.2);
}

.playlist-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    background-color: rgba(79, 125, 243, 0.1);
}

.playlist-card-header {
    padding: 20px;
    border-bottom: 1px solid rgba(184,186,193,0.2);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.playlist-info h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.playlist-description {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.4;
}

.playlist-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--color-text);
}

.playlist-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.playlist-meta i {
    font-size: 11px;
}

.playlist-actions {
    display: flex;
    gap: 8px;
}

.playlist-action-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    transition: all 0.3s ease;
}

.playlist-action-btn:hover {
    background: rgba(168, 213, 186, 0.1);
    color: var(--color-text);
}

.playlist-action-btn:last-child:hover {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Playlist Content */
.playlist-card-content {
    padding: 15px 20px;
    background: var(--color-bg-card);
}

.playlist-tracks-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.track-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--color-bg);
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.track-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.track-artist {
    font-size: 12px;
    color: #666;
}

.no-tracks {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* Playlist Footer */
.playlist-card-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #f0f0f0;
}

.playlist-play-btn,
.playlist-view-btn,
.playlist-download-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.playlist-play-btn {
    background: var(--button-color);
    color: white;
}

.playlist-play-btn:hover {
    background: var(--button-color-hover);
}

.playlist-view-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.playlist-view-btn:hover {
    background: #e9ecef;
}

.playlist-download-btn {
    background: #28a745;
    color: white;
}

.playlist-download-btn:hover {
    background: #218838;
}

/* Public Playlist Styling */
.playlist-card.public-playlist {
    border-left: 4px solid #28a745;
}

.playlist-card.public-playlist .playlist-info h3::after {
    content: ' (Public)';
    font-size: 12px;
    color: #28a745;
    font-weight: normal;
}

/* Playlist Messages */
/* Legacy playlist-message class - kept for backward compatibility */
.playlist-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideInRight 0.3s ease;
}

.playlist-message.success {
    background: #28a745;
}

.playlist-message.error {
    background: #dc3545;
}

/* New notification system - small, elegant, centered popup */
/* Simple, small notification at top of page */
.simuze-notification {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    padding: 8px 16px;
    border-radius: 6px;
    color: #212529 !important;
    font-weight: 500;
    font-size: 13px;
    z-index: 99999 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: notificationFadeIn 0.3s ease-out;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1.4;
    min-height: 30px;
    max-height: 40px;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.simuze-notification.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.simuze-notification.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.simuze-notification.info {
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.simuze-notification.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.simuze-notification-icon {
    font-size: 14px;
    flex-shrink: 0;
    line-height: 1;
    color: #212529 !important;
}

.simuze-notification-message {
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #212529 !important;
}

@keyframes notificationFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes notificationFadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
}

.simuze-notification.slide-out {
    animation: notificationFadeOut 0.3s ease-in forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Debug Messages */
.error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 10px 0;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin: 10px 0;
}

/* Responsive styles moved to responsive.css */

/* Full-Width Playlists Page Styles */
.playlists-page-full {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.playlists-header-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.playlists-header-full h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.create-playlist-btn-full {
    background: var(--button-color);
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.create-playlist-btn-full:hover {
    background: var(--button-color-hover);
}

/* Create Playlist Form - Simuze Style */
.create-playlist-form-container {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
}

.create-playlist-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.create-playlist-form-header h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.close-form-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #a8d5ba;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-form-btn:hover {
    color: #fff;
}

.create-playlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.create-playlist-form .form-group label {
    color: #fff;
}

.create-playlist-form .form-group input[type="text"],
.create-playlist-form .form-group textarea {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    color: #fff;
}

.create-playlist-form .form-group input[type="text"]:focus,
.create-playlist-form .form-group textarea:focus {
    border-color: #a8d5ba;
    outline: none;
    box-shadow: 0 0 0 2px rgba(168, 213, 186, 0.2);
}

.create-playlist-form .form-group input[type="checkbox"] {
    accent-color: #a8d5ba;
}

.create-playlist-form .form-group label input[type="checkbox"] + span,
.create-playlist-form .form-group label {
    color: #fff;
}

/* Form uses existing classes from forms.css - no additional styles needed */

/* Tabs */
.playlists-tabs-full {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: none;
}

.tab-btn-full {
    background: none;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tab-btn-full:hover {
    color: #333;
    background: #f8f9fa;
    text-decoration: none;
}

.tab-btn-full.active {
    color: #a8d5ba;
    border-bottom-color: #a8d5ba;
    background: var(--color-bg-card);
    text-decoration: none;
}

.tab-content-full {
    display: none;
}

.tab-content-full.active {
    display: block;
}

/* No Playlists Message */
.no-playlists-message-full {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-subtle);
}

.no-playlists-message-full i {
    font-size: 48px;
    color: var(--color-text-subtle);
    margin-bottom: 20px;
}

.no-playlists-message-full h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: var(--color-text);
}

.no-playlists-message-full p {
    margin: 0 0 30px 0;
    font-size: 16px;
}

/* Playlists List - Grid Layout (like music list) */
.playlists-list-full {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
}

.playlist-row-full {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.playlist-row-full:hover {
    background-color: rgba(168, 213, 186, 0.15);
}

.playlist-row-full.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
    z-index: 1000;
}

.playlist-row-full.drop-target {
    border-top: 2px solid var(--color-accent);
    background-color: rgba(168, 213, 186, 0.2);
}

.playlist-row-link {
    display: flex;
    align-items: center;
    flex: 1;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.playlist-row-link:hover {
    text-decoration: none !important;
    color: inherit;
}

.playlist-actions-col {
    display: flex;
    gap: 4px;
    align-items: center;
    z-index: 0 !important;
    position: relative;
}

.playlist-actions-col .action-btn-list {
    position: relative;
    z-index: 1;
}

/* All icon styling is now handled by the unified system above */

.playlist-row-full:last-child {
    border-bottom: none;
}

.playlist-card-full:hover {
    border-color: var(--color-accent);
    background-color: rgba(168, 213, 186, 0.15);
}

/* Playlist Row Columns - Grid Layout (like music list) */
.playlist-drag-col {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.playlist-play-col {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-info-col {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

.playlist-title-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.playlist-title-list {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-text) !important;
    text-decoration: none !important;
}

.playlist-title-list a {
    color: var(--color-text) !important;
    text-decoration: none !important;
}

.playlist-title-list a:hover {
    color: var(--color-accent) !important;
    text-decoration: none !important;
}

/* Style for span elements (used in playlist overview) */
.playlist-row-link .playlist-title-list {
    color: var(--color-text) !important;
    text-decoration: none !important;
}

.playlist-row-link:hover .playlist-title-list {
    color: var(--color-accent) !important;
    text-decoration: none !important;
}

.playlist-description-list {
    font-size: 12px;
    color: var(--color-text) !important;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 2px;
    text-decoration: none !important;
}

.playlist-tracks-col {
    flex: 0 0 80px;
    text-align: center;
    font-size: 12px;
    color: var(--color-text);
}

/* Playlist order message */
.playlists-order-message {
    padding: 12px 16px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.playlists-order-message.success {
    background-color: rgba(168, 213, 186, 0.2);
    border: 1px solid #a8d5ba;
    color: #a8d5ba;
}

.playlists-order-message.error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.playlist-visibility-col {
    font-size: 12px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 4px;
}

.playlist-visibility-col i {
    font-size: 11px;
}

.playlist-meta-full span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.playlist-meta-full i {
    font-size: 12px;
}

.playlist-actions-full {
    display: flex;
    gap: 8px;
}

.playlist-action-btn-full {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    transition: color 0.2s ease;
}

.playlist-action-btn-full:hover {
    color: #333;
}

.playlist-tracks-section {
    flex: 1;
    min-width: 0;
}

.tracks-preview {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.track-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 12px;
}

.track-title {
    color: #333;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.track-artist {
    color: #666;
    font-size: 11px;
    margin-left: 10px;
    flex: 0 0 auto;
}

.no-tracks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #999;
    padding: 10px 0;
}

.track-preview-full:last-child {
    border-bottom: none;
}

.track-title-full {
    font-size: 12px;
    color: #333;
    font-weight: 500;
}

.track-artist-full {
    font-size: 11px;
    color: #666;
}

.no-tracks-full {
    font-size: 12px;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 15px 0;
}

.no-tracks-full p {
    margin: 0 0 10px 0;
}

.add-songs-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--button-color);
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.add-songs-link:hover {
    background: var(--button-color-hover);
    color: white;
    text-decoration: none;
}

/* Edit Form Overlay */
.playlist-edit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.edit-overlay-content {
    background: var(--color-bg-card);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.edit-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid rgba(184,186,193,0.2);
    margin-bottom: 20px;
}

.edit-overlay-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--color-text);
    font-weight: 600;
}

.close-overlay-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.close-overlay-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

.edit-playlist-form-full {
    padding: 0 20px 20px 20px;
}

.edit-playlist-form-full .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.edit-playlist-form-full .form-group {
    margin-bottom: 0;
}

.edit-playlist-form-full .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.playlist-actions-col {
    display: flex;
    gap: 4px;
    align-items: center;
}

.playlist-play-btn {
    background: var(--color-accent-hover);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.playlist-play-btn:hover {
    background: #7ab896;
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.playlist-view-btn,
.playlist-edit-btn,
.playlist-delete-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: #666;
    transition: all 0.2s ease;
    text-decoration: none;
}

.playlist-view-btn:hover {
    background: transparent;
    color: #333;
}

.playlist-edit-btn:hover {
    background: transparent;
    color: #28a745;
}

.playlist-delete-btn:hover {
    background: transparent;
    color: #dc3545;
}

/* Duplicate .playlist-play-btn definition removed - using the one at line 3103 */

.playlist-download-btn-full {
    background: #28a745;
    color: white;
}

.playlist-download-btn-full:hover {
    background: #218838;
}

/* Public Playlist Styling */
.playlist-card-full.public-playlist {
    border-left: 3px solid #28a745;
}

/* Responsive styles moved to responsive.css */

/* Old playlist styles removed - using current playlist implementation */

.playlist-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.playlist-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.playlist-info {
    flex: 1;
}

.playlist-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: white;
}

.playlist-description {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: var(--color-text);
}

.playlist-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--color-text);
}

.playlist-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.playlist-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.playlist-play-btn {
    background: #1db954;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.playlist-play-btn:hover {
    background: #1ed760;
}

.playlist-edit-btn,
.playlist-delete-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.playlist-edit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.playlist-delete-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

/* Playlist Edit Form */
.playlist-edit-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.playlist-edit-form .form-group {
    margin-bottom: 15px;
}

.playlist-edit-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: white;
}

.playlist-edit-form input[type="text"],
.playlist-edit-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.playlist-edit-form input[type="text"]::placeholder,
.playlist-edit-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.playlist-edit-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-edit-form .checkbox-group label {
    margin: 0;
    font-weight: normal;
}

.playlist-edit-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-button.primary {
    background: #1db954;
    color: white;
}

.form-button.primary:hover {
    background: #1ed760;
}

.form-button.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.form-button.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Playlist Tracks */
.playlist-tracks {
    background: var(--color-bg-card);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tracks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(184,186,193,0.2);
    background: var(--color-bg-card);
}

.tracks-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.add-tracks-btn {
    background: var(--button-color);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.add-tracks-btn:hover {
    background: var(--button-color-hover);
    color: white;
}

.no-tracks {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-tracks i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-tracks h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.no-tracks p {
    margin: 0 0 20px 0;
    font-size: 14px;
}

/* Tracks List */
.tracks-list {
    max-height: 600px;
    overflow-y: auto;
}

.track-item {
    display: grid;
    grid-template-columns: 40px 1fr 200px 80px 100px;
    gap: 15px;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.track-item:hover {
    background-color: #f8f9fa;
}

.track-item:last-child {
    border-bottom: none;
}

.track-number {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.track-artist {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

.track-album {
    font-size: 12px;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-duration {
    font-size: 12px;
    color: #666;
    text-align: center;
}

.track-actions {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.track-play-btn,
.track-remove-btn {
    background: var(--button-color);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    color: #FFFFFF;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.track-play-btn:hover {
    background: var(--button-color-hover);
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.track-remove-btn:hover {
    background: #e74c3c;
    color: white;
}

/* Responsive styles moved to responsive.css */

.delete-confirmation-container {
    display: flex;
    gap: 4px;
    align-items: center;
}

.delete-confirm-btn {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.delete-confirm-btn:hover {
    background-color: #dc3545 !important;
    color: white !important;
}

.delete-cancel-btn {
    color: #6c757d !important;
    border-color: #6c757d !important;
}

.delete-cancel-btn:hover {
    background-color: #6c757d !important;
    color: white !important;
}

/* Removed conflicting styles - now uses icon-small class */

/* Single Playlist Page Styles */
.playlist-large-player {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
    position: relative;
}

.playlist-large-player .play-btn {
    width: 80px;
    height: 80px;
    background: var(--color-accent-hover);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.playlist-large-player .play-btn:hover {
    background: #7ab896;
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.playlist-large-player .play-btn i {
    font-size: 24px;
    color: white;
    margin-left: 4px;
}

/* Removed duplicate .now-playing-info, .track-title-large, .track-artist-large - see line 3997 for complete definitions */

/* Track Rows */
.tracks-list-full {
    margin-top: 20px;
}

.track-row-full {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    position: relative;
}

.track-row-full:hover {
    background-color: #f8f9fa;
}

.track-row-full.dragging {
    opacity: 0.5;
    background-color: #f0f0f0;
}

.track-row-full.drop-target {
    border-top: 2px solid #007cba;
}

.track-row-full.playing {
    background-color: #e3f2fd;
    border-left: 4px solid #007cba;
}

.track-row-full.playing:hover {
    background-color: #bbdefb;
}

.track-drag-col {
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-drag-handle {
    cursor: grab;
    color: #999;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.track-drag-handle:hover {
    color: #333;
}

.track-drag-handle:active {
    cursor: grabbing;
}

.track-play-col {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-info-col {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

.track-album-col {
    flex: 0 0 120px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.track-genre-col {
    flex: 0 0 80px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.track-actions-col {
    display: flex;
    gap: 4px;
    align-items: center;
    z-index: 0 !important;
    position: relative;
}

/* Remove confirmation styles */
.remove-confirmation-container {
    display: flex;
    gap: 4px;
    align-items: center;
}

.remove-confirm-btn {
    color: #666 !important;
    border-color: #ddd !important;
}

.remove-confirm-btn:hover {
    background-color: #666 !important;
    color: white !important;
}

.remove-cancel-btn {
    color: #666 !important;
    border-color: #ddd !important;
}

.remove-cancel-btn:hover {
    background-color: #666 !important;
    color: white !important;
}

/* Removed conflicting styles - now uses icon-small class */

/* Track title and artist styles */
.track-title-list {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist-list {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Large Play Button for Single Playlist */
.playlist-large-player {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Removed duplicate .large-play-button - see line 4006 for the complete definition */

/* Track List Styles */
.tracks-list-full {
    margin-top: 30px;
}

.tracks-container {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.track-row-full {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--color-bg-card);
    border: 1px solid rgba(184,186,193,0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: default;
}

.track-row-full:hover {
    background: rgba(168, 213, 186, 0.1);
}

.track-row-full.dragging {
    opacity: 0.5;
}

.track-row-full.drop-target {
    border-color: var(--color-accent);
    background: #e3f2fd;
}

.track-drag-col {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-drag-handle {
    cursor: grab;
    color: #999;
    padding: 5px;
    border-radius: 3px;
    transition: color 0.2s ease;
}

.track-drag-handle:hover {
    color: #333;
}

.track-drag-handle:active {
    cursor: grabbing;
}

.track-play-col {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--button-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.track-play-btn:hover {
    background: var(--button-color-hover);
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.track-play-btn i {
    color: white;
    font-size: 12px;
    margin-left: 1px;
}

.track-info-col {
    flex: 1;
    padding: 0 15px;
}

.track-title-row h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
}

.track-artist-list {
    font-size: 12px;
    color: #666;
}

.track-album-col {
    width: 150px;
    font-size: 12px;
    color: #666;
}

.track-genre-col {
    width: 100px;
    font-size: 12px;
    color: #666;
}

.track-actions-col {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Remove confirmation styles */
.remove-confirmation-container {
    display: flex;
    gap: 5px;
}

.remove-confirm-btn {
    background: #dc3545 !important;
}

.remove-confirm-btn:hover {
    background: #c82333 !important;
}

.remove-cancel-btn {
    background: #6c757d !important;
}

.remove-cancel-btn:hover {
    background: #5a6268 !important;
}

/* No tracks message */
.no-tracks-message-full {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-tracks-message-full i {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ccc;
}

.no-tracks-message-full h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.no-tracks-message-full p {
    margin: 0 0 30px 0;
    font-size: 14px;
}

.add-tracks-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.add-tracks-btn:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Back to Playlists Link */
.back-to-playlists {
    margin-bottom: 20px;
}

.back-to-playlists a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.back-to-playlists a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.back-to-playlists i {
    font-size: 12px;
}

/* Enhanced Large Play Button */
.playlist-large-player {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--color-bg-card);
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(184,186,193,0.2);
}

.large-play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent-hover);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.large-play-button:hover {
    background: #7ab896;
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.large-play-button i {
    color: #FFFFFF;
    font-size: 20px;
    margin-left: 2px; /* Slight adjustment for play icon */
}

.now-playing-info {
    flex: 1;
    min-width: 0;
}

.track-title-large {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.2;
}

.track-artist-large {
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--color-text-subtle);
}

.track-artist-large a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.track-artist-large a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.track-meta-large {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.track-genre,
.track-duration,
.track-license {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6c757d;
}

.track-genre i,
.track-duration i,
.track-license i {
    font-size: 12px;
    color: #000;
    width: 14px;
}

/* Timeline */
.track-timeline {
    margin-top: 15px;
}

.timeline-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    margin-bottom: 8px;
    overflow: hidden;
}

.timeline-buffer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #d1d5db;
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--button-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    z-index: 2;
}

.timeline-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    background: var(--button-color);
    border: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    z-index: 3;
    transition: transform 0.1s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.timeline-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.timeline-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
}

.timeline-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    font-family: monospace;
}

.timeline-time .current-time {
    color: var(--color-accent);
    font-weight: 500;
}

/* Track Actions */
.track-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.favorite-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.favorite-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.favorite-btn i {
    color: #6c757d;
    font-size: 14px;
    transition: color 0.2s ease;
}

.favorite-btn.favorited i {
    color: #dc3545;
}

/* Enhanced Track Play Buttons */
.track-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--button-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(144, 164, 174, 0.3);
}

.track-play-btn:hover {
    background: var(--button-color-hover);
    box-shadow: 0 4px 12px rgba(144, 164, 174, 0.4);
}

.track-play-btn i {
    color: white;
    font-size: 12px;
    margin-left: 1px; /* Slight adjustment for play icon */
}

/* Track Row Enhancements */
.track-row-full {
    transition: background-color 0.2s ease;
}

.track-row-full:hover {
    background-color: #f8f9fa;
}

.track-info-col {
    flex: 1;
    min-width: 0;
}

.track-title-list {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 4px;
    line-height: 1.3;
}

.track-artist-list {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.2;
}

/* Responsive styles moved to responsive.css */

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Modal Styles - Simuze Dark Theme - Base for ALL modals */
.simuze-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    box-sizing: border-box;
    transform: none !important;
    will-change: auto !important;
    overflow: auto !important;
}

/* Ensure modal overlay is always on top and not affected by parent containers */
body > .simuze-modal-overlay:not(.show),
html > body > .simuze-modal-overlay:not(.show),
#add-track-modal.simuze-modal-overlay:not(.show),
#simuze-download-modal-overlay.simuze-modal-overlay:not(.show),
.simuze-modal-overlay#simuze-download-modal-overlay:not(.show) {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    display: none !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Show state for download modal - SIMPLIFIED */
#simuze-download-modal-overlay.show,
.simuze-modal-overlay.show,
#add-track-modal.show,
#add-track-modal.simuze-modal-overlay.show,
body > #add-track-modal.show,
body > #add-track-modal.simuze-modal-overlay.show {
    display: flex !important;
    z-index: 99999 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.simuze-modal {
    background: #1b1c1f;
    color: #f5f5f5;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: auto;
}

.simuze-modal-header {
    padding: 14px 22px;
    margin: 0;
    text-align: left;
    background: transparent;
    border-radius: 0;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.simuze-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.simuze-modal-message {
    font-size: 14px;
    color: rgba(245,245,245,0.9);
    line-height: 1.6;
    margin: 0;
    width: 100%;
}

.simuze-modal-content {
    padding: 18px 22px 10px 22px;
    margin: 0;
    flex: 0 0 auto; /* Alleen zo hoog als de content */
}

.simuze-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin: 0;
    padding: 8px 22px 18px 22px;
}

.simuze-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.simuze-modal-btn-secondary {
    background-color: #2a2e35;
    color: #f5f5f5;
    border: 1px solid rgba(255,255,255,0.12);
}

.simuze-modal-btn-secondary:hover {
    background-color: #343842;
    color: #ffffff;
}

.simuze-modal-btn-cancel {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
}

.simuze-modal-btn-cancel:hover {
    background-color: #444;
    color: #fff;
}

.simuze-modal-btn-danger {
    background-color: #d04545;
    color: #fff;
}

.simuze-modal-btn-danger:hover {
    background-color: #b93939;
}

.simuze-modal-btn-warning {
    background-color: #a8d5ba;
    color: #1a1a1a;
}

.simuze-modal-btn-warning:hover {
    background-color: #8fc5a3;
}

.simuze-modal-btn-primary {
    background-color: #a8d5ba;
    color: #1a1a1a;
}

.simuze-modal-btn-primary:hover {
    background-color: #8fc5a3;
}

/* Modal animation handled in .simuze-modal-overlay.show above */

.simuze-modal.show {
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Edit Playlist Overlay Styles */
.edit-playlist-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;
    box-sizing: border-box;
    transform: none !important;
    will-change: auto !important;
    overflow: auto !important;
}

.edit-playlist-modal {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.edit-playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.edit-playlist-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.close-edit-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.close-edit-btn:hover {
    color: #333;
}

.edit-playlist-form {
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-actions .button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.button-secondary {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.button-secondary:hover {
    background-color: #e9ecef;
    color: #495057;
}

.button-primary {
    background-color: #007bff;
    color: white;
}

.button-primary:hover {
    background-color: #0056b3;
}



/* ------------------ */
/* ALBUM TRACKS TABS  */
/* ------------------ */

/* Album Tracks Tabs Container - Simuze dark style */
#album-tracks-tabs {
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    min-height: 400px;
    width: 100%;
}

/* Left Tab Navigation - vertical tabs */
#album-tracks-tabs .track-tab {
    padding: 12px 16px;
    cursor: pointer;
    margin: 0;
    border-bottom: 1px solid #4a4a4a;
    border-left: 3px solid transparent;
    background: #1a1a1a;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    color: #fff;
}

#album-tracks-tabs .track-tab:hover {
    background: #2a2a2a;
}

#album-tracks-tabs .track-tab.active {
    background: #2a2a2a;
    font-weight: bold;
    border-left: 3px solid var(--color-accent);
}

#album-tracks-tabs .track-tab .track-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}

#album-tracks-tabs .track-tab .track-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

/* Tab Content */
#album-tracks-tabs .tabs-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    background: #1a1a1a;
}

#album-tracks-tabs .track-content {
    display: none;
}

#album-tracks-tabs .track-content.active {
    display: block;
}

/* Left Tab Navigation Container */
#album-tracks-tabs .tabs-navigation {
    background: #2a2a2a;
    border-right: 1px solid #4a4a4a;
    width: 220px;
    min-width: 220px;
    max-height: 600px;
    overflow-y: auto;
}

#album-tracks-tabs .tabs-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Responsive styles moved to responsive.css */

/* Homepage Sections */
#homepage_about,
#homepage_updates {
    background: var(--color-bg-card);
    border: 1px solid rgba(184,186,193,0.2);
    border-radius: 12px;
    padding: var(--gap);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

#homepage_faq h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 var(--space-16) 0;
    color: #fff;
}

#homepage_about h3,
#homepage_updates h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: var(--space-16);
    color: #fff;
}

#homepage_about p,
#homepage_updates p {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: var(--space-16);
}

#homepage_about .button,
#homepage_updates .button {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 16px;
    text-decoration: none;
    display: inline-block;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#homepage_about .button:hover,
#homepage_updates .button:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.homepage-update-item {
    margin-bottom: var(--space-16);
}

.homepage-update-item h4 {
    margin: 0 0 var(--space-8) 0;
    font-size: 1.2rem;
}

.homepage-update-item h4 a {
    color: #fff;
    text-decoration: none;
}

.homepage-update-item h4 a:hover {
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
}

.homepage-update-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-12);
    gap: var(--space-12);
}

.update-date {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.homepage-view-all {
    display: inline-block;
    margin-top: var(--space-16);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.homepage-view-all:hover {
    color: #fff;
    text-decoration: underline;
}

/* Homepage Latest groups: align with Latest Albums content (same padding as .col) */
#homepage_network {
    padding-left: var(--space-24);
    padding-right: var(--space-24);
}

#homepage_network .homepage-network-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

#homepage_network .homepage-network-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #fff;
}

#homepage_network .homepage-network-header .view-all-link {
    margin-top: 0;
}

/* ================================ */
/* Download Modal Styles            */
/* ================================ */

/* Download modal uses base modal system - ensure it's centered */
.simuze-download-modal {
    max-width: 520px;
}

.simuze-modal-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.simuze-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Ensure close button in download modal uses same styling */
#simuze-download-modal .simuze-modal-close {
    position: absolute;
    top: 14px;
    right: 22px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}

#simuze-download-modal .simuze-modal-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.download-track-info {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.modal-track-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
}

.modal-track-artist,
.modal-track-album {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin: 4px 0;
}

.modal-track-artist a,
.modal-track-album a {
    color: #a8d5ba;
    text-decoration: none;
}

.modal-track-artist a:hover,
.modal-track-album a:hover {
    text-decoration: underline;
}

.modal-price-display {
    margin-top: 12px;
}

.download-price {
    font-size: 24px;
    font-weight: 700;
    color: #a8d5ba;
}

.download-price-free {
    font-size: 24px;
    font-weight: 700;
    color: #4ade80;
}

.download-options h5,
.download-payment-section h5 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-option-cards {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.download-option-card {
    flex: 1;
    min-width: 140px;
    background: #2a2e35;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.download-option-card:hover {
    background: #343842;
    border-color: rgba(168, 213, 186, 0.3);
}

.download-option-card.selected {
    background: #343842;
    border-color: #a8d5ba;
}

.download-option-card .option-icon {
    font-size: 28px;
    color: #a8d5ba;
    margin-bottom: 12px;
}

.download-option-card .option-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.download-option-card .option-format {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.download-option-card .option-quality {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.download-option-card .option-price {
    font-size: 14px;
    font-weight: 600;
    color: #a8d5ba;
    margin-top: 8px;
}

.download-payment-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-method-btn {
    flex: 1;
    min-width: 100px;
    background: #2a2e35;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.payment-method-btn:hover {
    background: #343842;
    border-color: #a8d5ba;
}

.payment-method-btn i {
    font-size: 24px;
    color: #a8d5ba;
}

.payment-method-btn span {
    font-size: 12px;
    font-weight: 500;
}

/* Notification Styles - REMOVED: Duplicate rule, using the one at line 2521 instead */

/* ================================ */
/* Download Payment Modal Styles    */
/* ================================ */

.simuze-download-modal {
    max-width: 440px;
}

/* Payment Price Section */
.payment-price-section {
    margin: 24px 0;
    text-align: center;
}

.payment-price-section .price-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.price-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.price-input-wrapper .price-currency {
    font-size: 28px;
    font-weight: 600;
    color: #a8d5ba;
}

.price-input-wrapper .price-input {
    width: 120px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    text-align: center;
    padding: 8px 0;
    transition: border-color 0.2s ease;
}

.price-input-wrapper .price-input:focus {
    outline: none;
    border-bottom-color: #a8d5ba;
}

.price-input-wrapper .price-input::-webkit-inner-spin-button,
.price-input-wrapper .price-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input-wrapper .price-input[type="number"] {
    -moz-appearance: textfield;
}

.price-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}

/* Email Section */
.email-section {
    margin: 24px 0;
}

.email-section .email-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.email-section .email-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    color: #fff;
    background: #2a2e35;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.email-section .email-input:focus {
    outline: none;
    border-color: #a8d5ba;
    background: #343842;
}

.email-section .email-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.email-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
}

/* Payment Method Section */
.payment-method-section {
    margin: 24px 0;
}

.payment-method-section .payment-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 12px;
}

.payment-method-section .payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-method-option {
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #2a2e35;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-option i {
    font-size: 28px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}

.payment-method-option span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.payment-method-option:hover {
    background: #343842;
}

.payment-method-option.selected {
    background: #343842;
    border-color: #a8d5ba;
}

.payment-method-option.selected i {
    color: #a8d5ba;
}

.payment-method-option.selected span {
    color: #fff;
}

/* Modal Actions */
.simuze-modal-btn-full {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
}

.secure-payment-notice {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-top: 12px;
}

.secure-payment-notice i {
    color: #a8d5ba;
    margin-right: 4px;
}

/* Modal View Container */
.modal-view {
    width: 100%;
}

/* Success and Error Views */
#modal-view-success .success-content,
#modal-view-error .error-content {
    text-align: center;
    padding: 40px 24px;
}

.success-icon {
    font-size: 64px;
    color: #4ade80;
    margin-bottom: 20px;
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.success-message {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 24px 0;
}

/* Error View */
.error-icon {
    font-size: 64px;
    color: #ef4444;
    margin-bottom: 20px;
}

.error-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px 0;
}

.error-message {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 24px 0;
}

/* Field Error States */
.field-error {
    border-color: #ef4444 !important;
}

.field-error-message {
    display: block;
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

/* Latest Albums Slideshow */
.latest-albums-slideshow {
    width: 100%;
    margin-bottom: 40px;
}

.albums-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.albums-header h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.albums-slideshow-container {
    position: relative;
    width: 100%;
    overflow: visible; /* Allow dropdown to overflow */
    z-index: 1;
}

.albums-slideshow-wrapper {
    overflow-x: hidden; /* Only hide horizontal overflow to allow dropdown to show */
    overflow-y: visible; /* Allow vertical overflow for dropdown */
    width: 100%;
    position: relative;
    z-index: 1; /* Lower than playlist dropdown */
}

/* /music/albums/ discovery page + artist profile music (e.g. /lucie/music/): same cards as homepage, in a grid */
.latest-albums-slideshow .albums-slideshow-wrapper.albums-discovery-grid,
.group-music-public .albums-discovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

/* Slick slider overrides for albums slideshow */
.latest-albums-slideshow .albums-slider.slick-slider {
    margin: 0;
}

.latest-albums-slideshow .albums-slider .slick-list {
    margin: 0 -15px; /* Negative margin to offset slide padding */
    overflow: visible; /* Allow dropdown to overflow */
}

.latest-albums-slideshow .albums-slider .slick-track {
    display: flex;
    align-items: flex-start;
}

.latest-albums-slideshow .albums-slider .slick-slide {
    padding: 0 15px; /* Half of the gap (30px total) */
    box-sizing: border-box;
    height: auto;
}

/* Default album card – public preview (no border, no background, title + artist + tight icons) */
.album-card {
    position: relative;
    z-index: 1;
    width: 200px;
    margin: 0 auto;
    background: none !important;
    border: none !important;
    border-radius: 0;
    box-shadow: none !important;
    padding-bottom: 0 !important;
    overflow: visible;
}

.album-card:hover {
    transform: none;
    box-shadow: none !important;
}

.album-card .album-info {
    padding: 0;
    margin-bottom: 0;
}

.album-card .album-actions {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 6px;
    padding: 0;
    background: none !important;
    border: none !important;
    border-top: none !important;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    flex-wrap: wrap;
}

.album-card .album-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.album-artwork {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    background: transparent;
    flex-shrink: 0;
}

.album-artwork img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Homepage “Latest Albums” – default artwork: grey → Simuze green gradient with music icon */
.latest-albums-slideshow .album-artwork {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a3a3a 0%, #51ac32 100%);
}

.latest-albums-slideshow .album-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3a3a3a 0%, #51ac32 100%);
}

.latest-albums-slideshow .album-placeholder i {
    font-size: 3rem;
    color: #ffffff;
}

/* CRITICAL: Ensure playlist dropdown in album slideshow appears above ALL slider elements */
/* Apply EXACT same styling as music/singles view to album slider */
.latest-albums-slideshow .playlist-dropdown {
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* Use fixed positioning to escape albums-slideshow-wrapper overflow */
.latest-albums-slideshow .playlist-dropdown-content {
    display: none;
    position: fixed; /* Fixed to escape wrapper overflow */
    background: var(--color-bg-card);
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 999 !important; /* Below header (1000) but above other content */
    margin-top: 5px;
    border: 1px solid rgba(184,186,193,0.2);
    /* Position will be set by JavaScript */
}

.latest-albums-slideshow .playlist-dropdown.active .playlist-dropdown-content {
    display: block !important;
    z-index: 999 !important; /* Below header (1000) but above other content */
}

/* Do NOT elevate album-card - only the dropdown should be above wrapper */

.album-info {
    text-align: left;
    position: relative;
    z-index: 1; /* Lower than playlist dropdown */
}

.album-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-artist {
    font-size: 12px;
    color: var(--color-text-subtle, #999);
    margin-bottom: 12px;
}

.album-artist a {
    color: var(--color-text-subtle, #999);
    text-decoration: none !important;
    outline: none !important;
    transition: color 0.2s ease;
}

.album-artist a:hover,
.album-artist a:focus,
.album-artist a:active {
    color: var(--color-accent, #51ac32);
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure playlist dropdown in album-actions appears above album-info (slider/context) */
.latest-albums-slideshow .album-actions .playlist-dropdown {
    position: relative;
    z-index: 1;
}

.album-action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0;
}

.album-action-btn:hover {
    background: var(--color-accent, #51ac32);
    border-color: var(--color-accent, #51ac32);
    color: #fff;
}

.album-action-btn i {
    font-size: 12px;
}

.albums-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.2s ease;
    padding: 0;
}

.albums-slide-btn:hover {
    background: var(--color-accent, #51ac32);
    border-color: var(--color-accent, #51ac32);
}

.albums-slide-btn:disabled,
.albums-slide-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.albums-slide-btn:disabled:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.albums-slide-prev {
    left: 10px;
}

.albums-slide-next {
    right: 10px;
}

.albums-slide-btn i {
    font-size: 16px;
}

