:root {
    --jcb-color: #ffcb05;
    --krone-color: #2b772e;
    --amazone-color: #f39200;
    --critical-red: #dc2626;
}

/* Container-baggrunden skal være let tonet for at glasset virker */
.bulletin-app {
    background: #f1f5f9; 
    padding: 20px;
    border-radius: 24px;
}

/* Glassmorphism Card Style */
.bulletin-card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 140px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bulletin-card-glass:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

/* Brand-specifikke Glow-striber med diskret skygge */
.brand-jcb { 
    border-left: 6px solid var(--jcb-color); 
    box-shadow: inset 10px 0 15px -10px rgba(255, 203, 5, 0.3);
}
.brand-krone { 
    border-left: 6px solid var(--krone-color); 
    box-shadow: inset 10px 0 15px -10px rgba(43, 119, 46, 0.3);
}
.brand-amazone { 
    border-left: 6px solid var(--amazone-color); 
    box-shadow: inset 10px 0 15px -10px rgba(243, 146, 0, 0.3);
}

/* Kritisk Bulletin-effekt */
.critical-glow {
    background: rgba(254, 242, 242, 0.8) !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
}

/* Den moderne Glas-knap */
.glass-btn {
    background: rgba(30, 41, 59, 0.05);
    color: #1e293b;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.2s ease;
}

.glass-btn:hover {
    background: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.2);
}

/* Badge til kategorier */
.category-tag {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    display: block;
}

/* Notifikationsknap - Standard (Ikke tilmeldt) */
.notif-btn {
    background: #00126b; /* Brøns Blå som base eller en stærk kontrast */
    color: white !important;
}

/* Gør hele link-containeren pæn */
.bulletin-card-link {
    transition: transform 0.2s ease;
}

.bulletin-card-link:hover .bulletin-card-glass {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Sørg for at knappen inde i kortet lyser op når hele kortet hovers */
.bulletin-card-link:hover .glass-btn {
    background: #1e293b;
    color: #fff;
}

.notif-btn:not(.is-active):hover {
    background: #001a99;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 18, 107, 0.2);
}

/* Notifikationsknap - Aktiv (Tilmeldt) */
.notif-btn.is-active {
    background: #ecfdf5; /* Let grøn baggrund */
    color: #065f46 !important; /* Mørkegrøn tekst */
    border: 1px solid #10b981;
}

.notif-btn.is-active:hover {
    background: #fee2e2; /* Lys rød ved hover for at vise man kan afmelde */
    color: #991b1b !important;
    border-color: #ef4444;
}

/* Gør teksten beskrivende på hover når man er tilmeldt */
.notif-btn.is-active:hover span:last-child::after {
    content: " (Afmeld)";
    font-size: 11px;
    opacity: 0.8;
}

/* Sikrer at input og select felter har korrekt højde og tekst-placering */
.filter-glass input[type="text"],
.filter-glass select {
    height: 48px !important; /* Fast højde der er rigelig stor */
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 15px !important;
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Fix til Safari/Chrome mobil hvor select kan drille */
.filter-glass select {
    padding-right: 35px !important; /* Plads til pilen */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}