/* Base Styles */
.tv-packages-container {
    position: relative;
}

/* Loading & States */
.loading-state, .error-state, .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 3px solid #e2e8f0;
    border-top-color: #4299e1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state svg {
    margin-bottom: 20px;
}

/* Controls */
.controls-section {
    margin-bottom: 24px;
}

.controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.results-count {
    color: #718096;
    font-size: 14px;
}

.controls-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.btn:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
}

.btn-filter {
    background: #4299e1;
    color: white;
    border-color: #4299e1;
}

.btn-filter:hover {
    background: #3182ce;
    border-color: #3182ce;
}

.btn-apply {
    background: #10b981;
    color: white;
    border-color: #10b981;
    width: 100%;
}

.btn-apply:hover {
    background: #059669;
}

.btn-reset {
    width: 100%;
}

.sort-select {
    padding: 10px 36px 10px 12px;
    border: 1px solid #e2e8f0;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23718096' d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
}

/* Filter Sidebar */
.filter-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.filter-sidebar.active {
    left: 0;
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.filter-overlay.active {
    display: block;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.filter-header h3 {
    font-size: 18px;
    color: #2d3748;
}

.close-filter {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #718096;
    transition: color 0.2s;
}

.close-filter:hover {
    color: #2d3748;
}

.filter-content {
    padding: 20px;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.filter-group label {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: #4a5568;
}

.filter-group input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.price-range {
    margin-top: 12px;
}

.price-range input[type="range"] {
    width: 100%;
    margin-bottom: 8px;
}

.price-display {
    font-size: 14px;
    color: #718096;
    text-align: center;
}

.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Mobile Responsive Filter */
@media (max-width: 640px) {
    .filter-sidebar {
        left: -100%;
        width: 100%;
        max-width: 320px;
    }
    
    .filter-sidebar.active {
        left: 0;
    }
}

/* Packages Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

/* Package Card */
.package-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.provider-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #e2e8f0;
}

.provider-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.provider-info {
    flex: 1;
}

.provider-info h3 {
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 4px;
}

.channel-count {
    color: #718096;
    font-size: 14px;
}

.popularity-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #e6fffa;
    color: #047857;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.price-section {
    background: #f7fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 32px;
    font-weight: bold;
    color: #2d3748;
}

.price-currency {
    font-size: 18px;
    color: #718096;
}

.price-period {
    color: #718096;
    font-size: 14px;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f0f4f8;
    border-radius: 6px;
    font-size: 13px;
    color: #4a5568;
}

.streamers-section {
    margin-bottom: 20px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.streamers-title {
    font-size: 12px;
    color: #718096;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streamers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.streamer-tag {
    padding: 4px 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #2d3748;
    font-weight: 500;
}

.cta-button {
    width: 100%;
    padding: 14px 24px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background: #059669;
    color: white;
}
.tv-packages-heading {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
  margin-top: 12px;
  line-height: 1.2;
}
@media (max-width: 640px) {
  .tv-packages-heading {
    font-size: 22px;
    text-align: center;
  }
}
/* Kanal-linje på samme række */
.package-card .channel-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:4px;
}

/* Venstre tekst */
.package-card .channel-count{
  white-space:nowrap;
  font-size:0.95rem;
}

/* Den stiplede linje mellem tekst og link */
.package-card .channel-dots {
  flex: 0 0 auto;      /* ingen stræk */
  width: 4px;
  height: 4px;
  background-color: #cbd5e1; /* grå prik */
  border-radius: 50%;  /* gør den rund */
  margin: 0 8px;
}

/* Link-højre */
.package-card .channels-link{
  white-space:nowrap;
  font-size:0.9rem;
}
.package-card .channels-link a{
  color:#2563eb;
  text-decoration:none;
  font-weight:500;
}
.package-card .channels-link a:hover{ text-decoration:underline; }

/* separator-prik mellem kanaler og link (du har denne allerede) */
.package-card .channel-dots{
  flex:0 0 auto; width:4px; height:4px; background:#cbd5e1; border-radius:50%; margin:0 8px;
}

/* "Vis alle tjenester" – samme form som streamer-tag, men med anden farve */
.streamers-list .streamer-all{
  background:#e8f1ff;   /* lys blå baggrund */
  color:#1e40af;        /* mørkere blå tekst */
  border-color:#c7ddff; /* hvis dine tags har border */
  text-decoration:none;
}
.streamers-list .streamer-all:hover{ text-decoration:underline; }

