/* evors-dashboard.css - modern card UI (updated) */
.evors-dashboard {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 6px 22px rgba(15,20,30,0.06);
    max-width: 980px;
    margin: 28px auto;
    box-sizing: border-box;
}

.evors-header {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
}

.evors-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.evors-select-wrap {
    flex: 1 1 60%;
    min-width: 260px;
}

.evors-actions { white-space: nowrap; }

/* Use WordPress default/admin theme color if available; fallback to #0073aa */
:root {
    --evors-btn-bg: var(--wp-admin-theme-color, #0073aa);
    --evors-btn-bg-hover: #006799;
    --evors-btn-text: #ffffff;
}

.evors-download {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background-color: var(--evors-btn-bg);
    color: var(--evors-btn-text);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: background-color .15s ease, transform .06s ease, box-shadow .12s ease;
    display: inline-block;
    text-decoration: none;
}

.evors-download:hover,
.evors-download:focus {
    background-color: var(--evors-btn-bg-hover);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    outline: none;
}

.evors-download:focus {
    box-shadow: 0 0 0 4px rgba(0,115,170,0.12), 0 10px 26px rgba(0,0,0,0.12);
}

/* stats cards */
.evors-stats {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center; /* ensure cards are centered */
}

/* Make each card 50% width and centered */
.evors-card {
    background: #fbfbff;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    flex: 0 0 50%;
    max-width: 50%;
    min-width: 200px;
    margin: 0 auto; /* centers the card in its flex column */
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

.evors-card-title {
    color: #444;
    font-size: 13px;
    font-weight: 600;
}

.evors-count {
    font-size: 36px;
    color: #4a4af4;
    font-weight: 700;
    margin-top: 8px;
}

/* small responsive tweaks */
@media (max-width: 720px){
    .evors-controls { flex-direction: column; align-items: stretch; }
    .evors-actions { text-align: right; }
    .evors-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/* ensure choices container sits nicely */
.evors-select .choices__inner, .evors-select .choices__list {
    min-height: 44px;
}
