/* ==========================================================================
   MATCHES FULL — Wedstrijden pagina met tabbladen
   ========================================================================== */

.wkf-wrapper { max-width: 100%; }

/* Tabbladen */
.wkf-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.wkf-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all .15s;
}

.wkf-tab:hover {
    background: #f3f4f6;
    color: #111827;
}

.wkf-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.wkf-tab-count {
    background: rgba(0,0,0,.1);
    border-radius: 20px;
    padding: 1px 7px;
    font-size: .75rem;
    font-weight: 700;
}

.wkf-tab.active .wkf-tab-count {
    background: rgba(255,255,255,.25);
}

/* Panels */
.wkf-panel { display: none; }
.wkf-panel.active { display: block; }

/* Wedstrijden grid */
.wkf-matches {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Wedstrijdkaart */
.wkf-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.wkf-meta {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: #9ca3af;
    margin-bottom: 14px;
}

.wkf-body {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wkf-team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.wkf-team.right {
    flex-direction: row-reverse;
    text-align: right;
}

.wkf-team img {
    width: 36px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.wkf-team-name {
    font-weight: 600;
    font-size: 1rem;
    color: #111827;
}

.wkf-score {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wkf-input {
    width: 54px;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    outline: none;
    transition: border-color .2s;
    -moz-appearance: textfield;
}

.wkf-input::-webkit-outer-spin-button,
.wkf-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.wkf-input:focus  { border-color: #2563eb; }
.wkf-input.filled { border-color: #bfdbfe; background: #eff6ff; }

.wkf-dash { color: #d1d5db; font-size: 1.2rem; font-weight: 700; }

.wkf-result {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    min-width: 80px;
    justify-content: center;
}

.wkf-result-dash { color: #d1d5db; }

.wkf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.wkf-deadline        { font-size: .78rem; color: #9ca3af; }
.wkf-deadline.urgent { color: #ef4444; font-weight: 600; }
.wkf-pred            { font-size: .78rem; color: #6b7280; }

.wkf-pts {
    display: inline-flex;
    align-items: center;
    background: #eff6ff;
    color: #2563eb;
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 8px;
}

.wkf-btn       { background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-weight: 600; font-size: .88rem; cursor: pointer; transition: background .2s; }
.wkf-btn:hover { background: #1d4ed8; }
.wkf-btn.saved { background: #16a34a; }
.wkf-btn.error { background: #ef4444; }

.wkf-status          { display: inline-block; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 20px; background: #f3f4f6; color: #6b7280; }
.wkf-status.live     { background: #fef2f2; color: #ef4444; }
.wkf-status.finished { background: #f0fdf4; color: #16a34a; }

@media (max-width: 600px) {
    .wkf-team-name { font-size: .85rem; }
    .wkf-input     { width: 44px; font-size: 1rem; }
    .wkf-result    { font-size: 1.3rem; }
}

/* Live pulserende indicator */
@keyframes wkf-pulse {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: .5; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.wkf-status.live {
    background: #fef2f2;
    color: #ef4444;
    animation: wkf-pulse 1.5s infinite;
}
