/* ==========================================================================
   MATCHES — Wedstrijden shortcode
   ========================================================================== */

.wkm-wrapper { display: flex; flex-direction: column; gap: 16px; }

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

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

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

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

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

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

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

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

.wkm-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;
}

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

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

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

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

.wkm-deadline        { font-size: .78rem; color: #9ca3af; }
.wkm-deadline.urgent { color: #ef4444; font-weight: 600; }

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

.wkm-finished      { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 1.4rem; font-weight: 800; color: #111827; padding: 4px 0; }
.wkm-finished-dash { color: #d1d5db; }
.wkm-pred-badge    { font-size: .75rem; color: #6b7280; }
.wkm-pts-badge     { display: inline-flex; align-items: center; background: #eff6ff; color: #2563eb; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-left: 8px; }

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

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

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