/* ============================================================================
   Candidate card v2 -- grid variant of <x-website.candidate.candidate-card>,
   restyled to match the homepage's Featured Candidate card exactly (per
   direct user request: "same to same"). Every functional piece from the
   original card (profile modal trigger, share button, Book Me hire-request
   form, CV-viewed tooltip, login-required gating) is untouched in the Blade
   file -- this is a pure visual layer, all new class names (cwf-cc-*)
   layered alongside the original cw-candidate-card-* ones so nothing that
   already depends on those stops working.
   ========================================================================= */

.cwf-cc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px 20px;
}

.cwf-cc {
    position: relative;
    padding: 60px 20px 22px;
    margin-top: 56px;
    background: #F2F3FD;
    border: 1px solid #ECEDF7;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(25,27,34,.06);
    transition: box-shadow .25s ease, transform .25s ease;
}
.cwf-cc:hover { box-shadow: 0 20px 40px rgba(25,27,34,.14); transform: translateY(-4px); }

.cwf-cc__share {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
    z-index: 2;
}

.cwf-cc__photo {
    position: absolute;
    top: -56px;
    left: 50%;
    transform: translateX(-50%);
    width: 104px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 20px rgba(25,27,34,.15);
    background: #fff;
}
.cwf-cc__photo img { width: 100%; height: 100%; object-fit: cover; }
.cwf-cc__status {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #34A853;
    border: 2px solid #fff;
}

.cwf-cc__body { margin-top: 4px; }
.cwf-cc__name {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin: 0 0 4px;
}
.cwf-cc__name a, .cwf-cc__name span { color: #191B22; text-decoration: none; }
.cwf-cc__profession { font-size: 13px; color: #424753; margin: 0 0 10px; }

/* cw-country-badge is its own pill (flag + name text) -- too wide for the
   small icon-circle row below, so it keeps its own line, just centered. */
.cwf-cc__country { display: flex; justify-content: center; margin-bottom: 12px; }

.cwf-cc__badges { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.cwf-cc__badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #191B22;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.cwf-cc__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.cwf-cc__book-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 24px;
    background: #4285F4;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.cwf-cc__book-btn.login_required { background: #C2C6D5; cursor: not-allowed; }
