/* =========================================================
   WECOPY ADMIN SKIN — candy-pop overrides for the DexignZone
   template pages (step2, decks, cards, anatomy, layout).
   Loaded AFTER css/style.css from inc-before-content.php.
   CSS only: no class is renamed, no JS behaviour touched.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Jost:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --wc-ink: #111214;
    --wc-muted: rgba(17, 18, 20, .6);
    --wc-pink: #ff77ec;
    --wc-aqua: #84dcde;
    --wc-green: #00e650;
    --wc-yellow: #ffe300;
    --wc-lilac: #cdcef3;
    --wc-bad: #d61f69;
}

/* ── Base ── */
body {
    background: #fff !important;
    color: var(--wc-ink);
    font-family: 'Jost', sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.card-title, .brand-title {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    color: var(--wc-ink);
}
.content-body { background: #fff; }

/* ── Cards become candy cards (top level only — nested stay flat) ── */
.content-body .card {
    background: #fff;
    border: 2.5px solid var(--wc-ink);
    border-radius: 24px;
    box-shadow: 8px 8px 0 var(--wc-lilac);
    margin-bottom: 28px;
}
.content-body .col-xl-12:nth-of-type(5n+1) > .card, .content-body .card:nth-of-type(5n+1) { box-shadow: 8px 8px 0 var(--wc-yellow); }
.content-body .col-xl-12:nth-of-type(5n+2) > .card, .content-body .card:nth-of-type(5n+2) { box-shadow: 8px 8px 0 var(--wc-pink); }
.content-body .col-xl-12:nth-of-type(5n+3) > .card, .content-body .card:nth-of-type(5n+3) { box-shadow: 8px 8px 0 var(--wc-aqua); }
.content-body .col-xl-12:nth-of-type(5n+4) > .card, .content-body .card:nth-of-type(5n+4) { box-shadow: 8px 8px 0 var(--wc-green); }
.content-body .card .card {
    border: 2px solid var(--wc-ink);
    border-radius: 16px;
    box-shadow: none;
}
.card-header {
    background: transparent;
    border-bottom: 2px dashed rgba(17, 18, 20, .15);
    border-radius: 24px 24px 0 0 !important;
}
.card-title { text-transform: uppercase; letter-spacing: .02em; }

/* ── Buttons: pills with hard candy shadows ── */
.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 10rem;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.btn-primary, .btn-success, .btn-info {
    background: var(--wc-ink) !important;
    border: 2px solid var(--wc-ink) !important;
    color: #fff !important;
    box-shadow: 4px 4px 0 var(--wc-green);
}
.btn-primary:hover, .btn-success:hover, .btn-info:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--wc-green);
}
.btn-secondary { background: var(--wc-lilac) !important; border: 2px solid var(--wc-ink) !important; color: var(--wc-ink) !important; }
.btn-warning { background: var(--wc-yellow) !important; border: 2px solid var(--wc-ink) !important; color: var(--wc-ink) !important; }
.btn-danger { background: var(--wc-bad) !important; border: 2px solid var(--wc-ink) !important; color: #fff !important; }
.btn-outline-primary, .btn-outline-secondary, .btn-outline-info, .btn-outline-success, .btn-outline-danger, .btn-outline-warning {
    background: #fff !important;
    border: 2px solid var(--wc-ink) !important;
    color: var(--wc-ink) !important;
}
.btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-outline-info:hover, .btn-outline-success:hover {
    background: var(--wc-aqua) !important;
    transform: translateY(-2px);
}
.btn-outline-danger:hover { background: var(--wc-bad) !important; color: #fff !important; }
.btn-xs, .btn-sm { letter-spacing: .03em; }

/* ── Forms ── */
.form-control, .form-select, .default-select,
input[type="text"], input[type="number"], select, textarea {
    border: 2px solid var(--wc-ink) !important;
    border-radius: 14px !important;
    font-family: 'Jost', sans-serif;
    color: var(--wc-ink);
    background: #fff;
}
.form-control:focus, .form-select:focus {
    box-shadow: 4px 4px 0 var(--wc-aqua) !important;
    border-color: var(--wc-ink) !important;
}
.form-label, label { font-weight: 700; color: var(--wc-ink); }
.form-check-input { border: 2px solid var(--wc-ink); }
.form-check-input:checked { background-color: var(--wc-ink); border-color: var(--wc-ink); }
.bootstrap-select .dropdown-toggle { border: 2px solid var(--wc-ink) !important; border-radius: 14px !important; background: #fff !important; color: var(--wc-ink) !important; }

/* ── Badges / chips ── */
.badge {
    border: 2px solid var(--wc-ink);
    border-radius: 10rem;
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    color: var(--wc-ink);
}
.badge.bg-primary, .badge.bg-info { background: var(--wc-aqua) !important; }
.badge.bg-success { background: var(--wc-green) !important; }
.badge.bg-warning { background: var(--wc-yellow) !important; }
.badge.bg-danger { background: var(--wc-bad) !important; color: #fff; }
.badge.bg-secondary, .badge.bg-light { background: var(--wc-lilac) !important; }

/* ── Tables ── */
.table { color: var(--wc-ink); }
.table thead th {
    background: var(--wc-yellow);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .03em;
    border-bottom: 2px solid var(--wc-ink);
    color: var(--wc-ink);
}
.table td { border-color: rgba(17, 18, 20, .12); }

/* ── Alerts ── */
.alert { border: 2px solid var(--wc-ink); border-radius: 16px; font-weight: 500; color: var(--wc-ink); }
.alert-warning { background: var(--wc-yellow); }
.alert-danger { background: #ffd7e6; }
.alert-success { background: #d3ffe2; }
.alert-info { background: #dff6f7; }

/* ── Template chrome: header + sidebar go paper-white ── */
.header, .nav-header { background: #fff !important; border-bottom: 2px solid var(--wc-ink); box-shadow: none !important; }
.deznav {
    background: #fff !important;
    border-right: 2px solid var(--wc-ink);
    box-shadow: none !important;
}
.deznav .metismenu > li > a {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    color: var(--wc-ink) !important;
    border-radius: 10rem;
}
.deznav .metismenu > li.mm-active > a,
.deznav .metismenu > li > a:hover {
    background: var(--wc-yellow) !important;
    color: var(--wc-ink) !important;
}
.brand-title { fill: var(--wc-ink); }

/* preloader: keep it snappy-looking if it ever shows */
#preloader { background: #fff; }
