/**
 * EzyCrypto — shared "modern" theme, now used by BOTH the public pages
 * (index.php, directory.php, login.php, signup.php, terms.php, privacy.php,
 * forgot_password.php) and the logged-in member area (dashboard.php,
 * checkout.php, profile.php, urls.php, my_listing.php, solo_ad.php,
 * banner_ads.php, deposit.php, withdraw.php, referrals.php, login_ad.php,
 * reset_password.php, surf.php). Pairs with Bootstrap 5 + Bootstrap Icons
 * loaded from jsdelivr on each of those pages (see any of their <head>
 * sections for the exact pinned CDN versions) -- this file holds only the
 * custom tokens/classes layered on top of Bootstrap.
 *
 * admin/* is the one part of the site still deliberately left on the
 * older Bootstrap 3 look (/assets/css/bootstrap.min.css alone) -- that's a
 * separate, internal-only area and wasn't part of this round.
 *
 * Section map:
 *   - Tokens, navbar, dark gradient band, buttons, section/card basics,
 *     pricing cards, footer -- all original, from the public-pages pass.
 *   - Auth card / directory card classes -- same.
 *   - "Member area" section near the bottom -- added when the member area
 *     got this same look: app navbar dropdown, slim page header, stat
 *     tiles, panel cards, activity list, action cards, and table/progress
 *     tweaks on top of stock Bootstrap 5.
 *
 * One copy, shared by every page above -- please don't fork a per-page
 * copy of this, or the next color/spacing tweak will need to be made in a
 * dozen places and will drift, exactly the kind of duplication this
 * project avoids everywhere else (see e.g. lib/db.php's own "keep ONE
 * copy" note).
 */

:root {
    --ezc-navy:     #0b1120;
    --ezc-navy-2:   #111a30;
    --ezc-accent:   #22d3ee;
    --ezc-accent-2: #38bdf8;
    --ezc-gold:     #fbbf24;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1b2434;
}

/* ---- Navbar (every page) ---- */
.ezc-navbar { background: var(--ezc-navy); }
.ezc-navbar .navbar-brand { font-weight: 700; color: #fff; letter-spacing: .3px; }
.ezc-navbar .navbar-brand .bi { color: var(--ezc-accent); }
.ezc-navbar .nav-link { color: rgba(255,255,255,.8); }
.ezc-navbar .nav-link:hover { color: #fff; }
.ezc-navbar .navbar-toggler { filter: invert(1); }

/* ---- Dark gradient band -- homepage hero, directory header, auth page backdrop ---- */
.ezc-darkband {
    background: radial-gradient(circle at 15% 20%, rgba(34,211,238,.25), transparent 45%),
                radial-gradient(circle at 85% 0%, rgba(56,189,248,.18), transparent 40%),
                linear-gradient(160deg, var(--ezc-navy) 0%, var(--ezc-navy-2) 100%);
    color: #fff;
}
.ezc-hero { padding: 90px 0 110px; position: relative; overflow: hidden; }
.ezc-hero h1 { font-weight: 800; font-size: 2.9rem; line-height: 1.15; }
.ezc-accent-text { color: var(--ezc-accent); }
.ezc-hero p.lead { color: rgba(255,255,255,.82); font-size: 1.15rem; }

.ezc-badge-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.35);
    color: var(--ezc-accent); border-radius: 50px; padding: .35rem .9rem;
    font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem;
}

.btn-ezc-accent {
    background: linear-gradient(135deg, var(--ezc-accent-2), var(--ezc-accent));
    border: none; color: #07212b; font-weight: 700;
}
.btn-ezc-accent:hover { color: #07212b; filter: brightness(1.07); }
.btn-outline-ezc { border: 1px solid rgba(255,255,255,.5); color: #fff; font-weight: 600; }
.btn-outline-ezc:hover { background: rgba(255,255,255,.1); color: #fff; }

.ezc-hero-stats { margin-top: 3rem; }
.ezc-hero-stats .ezc-stat-num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.ezc-hero-stats .ezc-stat-label { color: rgba(255,255,255,.65); font-size: .85rem; }

section { padding: 80px 0; }
.ezc-section-title { font-weight: 800; }
.ezc-eyebrow {
    text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem;
    font-weight: 700; color: var(--ezc-accent-2);
}

/* ---- Cards -- feature tiles (index.php) and directory listing cards share this look ---- */
.ezc-feature-card, .ezc-listing-card {
    border: 1px solid #e9edf3; border-radius: 14px; padding: 28px 24px; height: 100%;
    background: #fff; transition: transform .15s ease, box-shadow .15s ease;
}
.ezc-feature-card:hover, .ezc-listing-card:hover {
    transform: translateY(-4px); box-shadow: 0 14px 30px rgba(15,23,42,.08);
}
.ezc-feature-icon {
    width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--ezc-accent-2), var(--ezc-accent));
    color: #07212b; font-size: 1.4rem; margin-bottom: 1rem;
}

.ezc-steps-band { background: #f6f9fc; }
.ezc-step-num {
    width: 44px; height: 44px; border-radius: 50%; background: var(--ezc-navy); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 1rem;
}

/* ---- Pricing cards (index.php) ---- */
.ezc-pricing-card { border: 1px solid #e9edf3; border-radius: 16px; padding: 32px 26px; height: 100%; background: #fff; display: flex; flex-direction: column; }
.ezc-pricing-card.ezc-pricing-highlight { border-color: var(--ezc-accent); box-shadow: 0 18px 38px rgba(34,211,238,.18); position: relative; }
.ezc-pricing-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--ezc-gold); color: #3a2b00; font-weight: 700; font-size: .75rem;
    padding: .3rem .9rem; border-radius: 50px;
}
.ezc-pricing-price { font-size: 2.4rem; font-weight: 800; }
.ezc-pricing-price small { font-size: 1rem; font-weight: 500; color: #6b7280; }
.ezc-pricing-card ul { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; }
.ezc-pricing-card ul li { padding: .4rem 0; display: flex; gap: .6rem; align-items: flex-start; }
.ezc-pricing-card ul li .bi { color: #16a34a; margin-top: .15rem; }

/* ---- Generic dark rounded callout band -- affiliate section on index.php,
   bottom CTA on directory.php, etc. ---- */
.ezc-dark-band { background: linear-gradient(135deg, var(--ezc-navy) 0%, #15213d 100%); color: #fff; border-radius: 20px; }

.ezc-final-cta { background: var(--ezc-navy); color: #fff; }

footer.ezc-footer { background: #0b1120; color: rgba(255,255,255,.55); font-size: .9rem; padding: 30px 0; }
footer.ezc-footer a { color: rgba(255,255,255,.8); }
footer.ezc-footer a:hover { color: #fff; }

/* ---- Auth pages (login.php/signup.php) -- a centered white card floating
   on the dark gradient background ---- */
.ezc-auth-wrap { min-height: calc(100vh - 68px); display: flex; align-items: center; padding: 60px 0; }
/* color:#1b2434 is NOT redundant with body's own color -- this card is
   reached through .ezc-darkband (login.php/signup.php/directory.php's 404),
   which sets color:#fff on itself for its own white-on-dark copy, and that
   white inherits straight through onto this white card's heading/labels
   unless reset here. Learned the hard way via a Playwright screenshot --
   don't remove this without re-checking that case. */
.ezc-auth-card { background: #fff; border-radius: 16px; padding: 40px 36px; box-shadow: 0 24px 60px rgba(2,8,23,.35); color: #1b2434; }
.ezc-auth-card h2 { font-weight: 800; }

/* ---- Directory page ---- */
.ezc-category-select { max-width: 280px; }
.ezc-listing-card .ezc-listing-logo { max-height: 40px; max-width: 100%; margin-bottom: 10px; }
.ezc-listing-card .ezc-avatar { width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
/* Same color reset as .ezc-auth-card above, kept here in case this card is
   ever placed inside a .ezc-darkband wrapper too. */
.ezc-listing-detail-card { background: #fff; border-radius: 16px; padding: 36px 32px; box-shadow: 0 10px 30px rgba(15,23,42,.06); color: #1b2434; }

/* =========================================================================
   MEMBER AREA -- dashboard.php, checkout.php, profile.php, urls.php,
   my_listing.php, solo_ad.php, banner_ads.php, deposit.php, withdraw.php,
   referrals.php, login_ad.php, reset_password.php, surf.php.

   Pattern every one of those pages follows: the same .ezc-navbar as the
   public pages (brand + a few top-level links + an "Account" dropdown +
   a Log out button, instead of the public pages' Features/Pricing/Create
   account links) -- then a slim .ezc-page-header (NOT the full marketing
   .ezc-hero height; members load these pages constantly, so the dark band
   here is deliberately short) -- then the banner-ad slot in its own
   bg-white strip (matches how directory.php already places it) -- then a
   light #f6f9fc page body holding one or more .ezc-panel cards -- then
   the same .ezc-footer as everywhere else. See dashboard.php for the
   fullest example of this shell; every other member page reuses the same
   pieces.
   ========================================================================= */

.ezc-app-body { background: #f6f9fc; min-height: 60vh; }

/* Shorter than .ezc-hero on purpose -- see the section note above. */
.ezc-page-header { padding: 34px 0 30px; }
.ezc-page-header h1 { font-weight: 800; font-size: 1.9rem; margin-bottom: .25rem; }
.ezc-page-header p { color: rgba(255,255,255,.75); margin-bottom: 0; }

/* Bootstrap 5's own .dropdown-menu already looks right against the dark
   navbar once dropdown-menu-dark/data-bs-theme is set on it in the markup
   -- this just tidies the toggle link itself to match the other nav-links. */
.ezc-navbar .dropdown-toggle { color: rgba(255,255,255,.8); }
.ezc-navbar .dropdown-toggle:hover, .ezc-navbar .dropdown-toggle:focus { color: #fff; }
.ezc-navbar .dropdown-toggle::after { vertical-align: .1em; }

.ezc-panel { background: #fff; border: 1px solid #e9edf3; border-radius: 14px; padding: 24px; margin-bottom: 1.5rem; color: #1b2434; }
.ezc-panel h2, .ezc-panel h3, .ezc-panel h4, .ezc-panel-title { font-weight: 700; margin-top: 0; }

.ezc-stat-tile { background: #f6f9fc; border: 1px solid #e9edf3; border-radius: 12px; padding: 16px 10px; text-align: center; margin-bottom: 1rem; }
.ezc-stat-tile .ezc-stat-value { font-size: 1.5rem; font-weight: 800; display: block; color: var(--ezc-navy); }
.ezc-stat-tile .ezc-stat-label { color: #6b7280; font-size: .78rem; }

.ezc-activity-list { list-style: none; padding: 0; margin: 0; }
.ezc-activity-list li { padding: 10px 0; border-bottom: 1px solid #eef1f5; display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.ezc-activity-list li:last-child { border-bottom: none; }
.ezc-activity-when { color: #9aa3b2; font-size: .78rem; display: block; }

/* Quick-action tiles (dashboard.php) -- same hover lift as .ezc-feature-card
   but compact, with room for a leading icon. */
.ezc-action-card {
    display: block; background: #fff; border: 1px solid #e9edf3; border-radius: 12px;
    padding: 20px 12px; text-align: center; margin-bottom: 1rem; text-decoration: none;
    color: #1b2434; transition: transform .15s ease, box-shadow .15s ease;
}
.ezc-action-card:hover, .ezc-action-card:focus {
    transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,23,42,.08);
    text-decoration: none; color: #1b2434; border-color: #d7dee8;
}
.ezc-action-card .bi { font-size: 1.4rem; color: var(--ezc-accent-2); display: block; margin-bottom: .4rem; }
.ezc-action-card .ezc-action-title { display: block; font-weight: 700; font-size: .92rem; }

/* Themed progress bar (guaranteed-click progress on dashboard.php). */
.ezc-progress { height: 1.1rem; border-radius: 50px; background: #eef1f5; }
.ezc-progress .progress-bar { background: linear-gradient(135deg, var(--ezc-accent-2), var(--ezc-accent)); color: #07212b; font-weight: 700; font-size: .75rem; }

/* Tables (urls.php, my_listing.php, banner_ads.php, solo_ad.php,
   referrals.php, withdraw.php history) -- a rounded card wrapper around a
   stock Bootstrap 5 table, so the table itself needs no custom markup
   beyond class="table" (+ table-hover/align-middle as each page likes). */
.ezc-table-card { background: #fff; border: 1px solid #e9edf3; border-radius: 14px; overflow: hidden; margin-bottom: 1.5rem; }
.ezc-table-card .table { margin-bottom: 0; }
.ezc-table-card .table thead th { background: #f6f9fc; border-bottom: 2px solid #e9edf3; font-size: .8rem; text-transform: uppercase; letter-spacing: .4px; color: #6b7280; font-weight: 700; }
.ezc-table-card .table td, .ezc-table-card .table th { padding: .85rem 1rem; vertical-align: middle; }

/* Member-page card variant of .ezc-badge-pill -- same shape, no forced
   accent color, so pages can combine it with Bootstrap's text-bg-* utility
   classes for status (active/pending/rejected/etc). */
.ezc-status-pill { display: inline-flex; align-items: center; gap: .35rem; border-radius: 50px; padding: .25rem .75rem; font-size: .78rem; font-weight: 600; }