/* Loaded after style.css by the homepage and the admin list pages.
   Kept separate so it can be dropped in without touching style.css. */

/* ---- "No hidden codes" banner (under the hero search) ---- */
.usp-banner {
    background: #E8F5EA;
    color: var(--green-dark);
    border-bottom: 1px solid #CFE8D3;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.95rem;
}
.usp-banner strong { font-weight: 700; margin-right: 4px; }

/* ---- Shop by category tiles ---- */
.category-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
}
.category-tile:hover { border-color: var(--teal); }
.category-tile-icon { font-size: 1.7rem; line-height: 1; }
.category-tile-name { font-weight: 700; font-size: 0.95rem; color: var(--teal-dark); }
.category-tile-count { font-size: 0.78rem; color: var(--text-muted); }

/* ---- Why vouchers365 + how it works ---- */
.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
}
.why-card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.why-card > p { font-size: 0.95rem; line-height: 1.7; color: var(--text); max-width: 760px; margin-bottom: 12px; }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 22px 0 14px;
}
.step {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 16px;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }
.why-more { margin-top: 6px; font-size: 0.9rem; }
.why-more a { color: var(--teal); font-weight: 600; text-decoration: none; }
.why-more a:hover { text-decoration: underline; }
.why-section { padding-bottom: 40px; }

@media (max-width: 700px) {
    .steps { grid-template-columns: 1fr; }
    .why-card { padding: 22px 16px; }
}

/* ---- Admin: tabs, filters, pagination ---- */
.admin-panel { max-width: 1200px; }

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}
.admin-tabs { display: flex; gap: 6px; }
.admin-tab {
    padding: 9px 20px;
    border-radius: 8px;
    background: #E7E9E5;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}
.admin-tab.active { background: var(--teal); color: #fff; }
.admin-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.admin-filters input[type="text"], .admin-filters select {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    background: #fff;
}
.admin-filters input[type="text"] { min-width: 220px; }
.admin-filters button { border: none; cursor: pointer; font-family: inherit; }

.admin-count { font-size: 0.85rem; color: var(--text-muted); margin: 6px 0 4px; }

.admin-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 8px; }
.admin-page-link {
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--teal);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}
.admin-page-link:hover { border-color: var(--teal); }
.admin-page-link.current { background: var(--teal); border-color: var(--teal); color: #fff; }
.admin-page-gap { color: var(--text-muted); padding: 0 2px; }
