/* Container */
.ftt-live-widget {
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    font-family: 'Inter', sans-serif;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Header - Modernisert */
.ftt-live-header {
    background: #0b1129; /* Blå */
    color: white;
    padding: 25px 20px 40px 20px; /* Mer plass i bunn for reporter */
    text-align: center;
    position: relative; /* For absolutt plassering av status */
}

/* Status i hjørnet */
.ftt-status-bar {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}
.ftt-status-bar.live { color: #e74c3c; font-weight: bold; }
.ftt-pulse {
    display: inline-block; width: 6px; height: 6px;
    background: #e74c3c; border-radius: 50%;
    margin-right: 5px; animation: blink 1.5s infinite;
}

/* Teams og Score - Ny stil */
.ftt-teams {
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.ftt-team {
    font-weight: 300; /* Tynn skrift */
    flex: 1;
}

.ftt-team.home { text-align: right; }
.ftt-team.away { text-align: left; }

.ftt-score {
    background: none; /* Ingen boks bak */
    padding: 0 10px;
    font-weight: 700; /* Tykk skrift */
    font-size: 1.8rem;
    color: #fff;
}

/* Reporter - Liten og gråere */
.ftt-reporter {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    font-weight: 400;
    position: absolute;
    bottom: 10px;
    width: 100%;
    left: 0;
    text-align: center;
}

/* Feed */
.ftt-live-feed {
    background: #f4f6f8;
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ftt-event {
    display: flex;
    gap: 12px;
}

.ftt-min {
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
    min-width: 30px;
    text-align: right;
    padding-top: 8px;
}

.ftt-msg-box {
    background: #fff;
    padding: 12px 15px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    flex: 1;
}

/* Type Styles */
.ftt-event.type-goal .ftt-msg-box {
    border-left: 4px solid #2ecc71;
    background: #e8f8f5;
}
.ftt-event.type-card .ftt-msg-box {
    border-left: 4px solid #f1c40f;
}
.ftt-event.type-red_card .ftt-msg-box {
    border-left: 4px solid #e74c3c;
    background: #fdedec;
}

/* Ikoner */
.ftt-icon {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ftt-icon svg { width: 18px; height: 18px; }

.ftt-event.type-goal .ftt-icon { color: #0b1129; }
.ftt-event.type-card .ftt-icon { color: #d35400; }
.ftt-event.type-red_card .ftt-icon { color: #c0392b; }

.ftt-empty { text-align: center; color: #999; padding: 20px; }

@keyframes blink { 50% { opacity: 0; } }