/* Baslayout */
* {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.95em;
}
body {
    background: #0b0b0b;
    color: #f0f0f0;
    
    
    margin: 0;
    padding: 20px;
    overflow-x: hidden;
}

.page-title {
    color: #ffffff;
    margin: 12px 0 12px;
}

.saved-link {
    color: #99ccff;
    text-decoration: none;
}

/* Loader */
.loader {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    color: #ccc;
}

/* Navigation */
.main-nav {
    margin: 10px 0 20px;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95em;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
    background: #1f1f1f;
    color: #fff;
}

.main-nav a.active {
    background: #333;
    color: #fff;
    font-weight: bold;
}

/* Listor – synliga från start (viktigt för kolumn-för-kolumn) */
#lists {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
}

.list {
    width: 300px;
    flex: 0 0 auto;
}

.list h3 {
    color: #c1c1c1;
    margin-bottom: 10px;
    font-weight: normal;
    font-size: 1.1em;
    letter-spacing: 0.08em;
}

/* Item-kort */
.item {
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(255,255,255,0.08);
    padding: 15px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.item:hover {
    box-shadow: 0 0 12px rgba(255,255,255,0.15);
}

.item h2 {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0 0 5px;
    line-height: 1.4em;
}

.item a {
    color: #99ccff;
    text-decoration: none;
}

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

/* Saved-state (visuell feedback efter klick) */
.saved {
    background-color: #333 !important;
    opacity: 0.9;
}

/* Knappen */
input[type="submit"] {
    background: transparent;
    border: 1px solid #999;
    padding: 6px 12px;
    border-radius: 6px;
    color: #f0f0f0;
    cursor: pointer;
    font-size: 0.85em;
    transition: background 0.2s;
}
input[type="submit"]:hover { background: #333; }

/* Animation */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(10px);}
    to   {opacity: 1; transform: translateY(0);}
}