/* Browse Talent Page Styles */

/* Main Layout */
.main--talent {
    display: block;
    padding: 0;
    min-height: auto;
}

.talent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 48px;
}

/* Hero Header */
.hero-header {
    margin-bottom: 32px;
}

.hero-header__title {
    font-family: "Manrope", sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1.2px;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-header__subtitle {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #64748b;
    line-height: 28px;
}

/* Filter Section (filter bar + active chips share one bottom divider) */
.filter-section {
    border-bottom: 1px solid rgba(231, 218, 221, 0.5);
    margin-bottom: 32px;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
}

.filter-bar__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-bar__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 21px;
    background: #ffffff;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #181012;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Filter Dropdowns */
.filter-dropdown {
    position: relative;
}

.filter-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid rgba(231, 218, 221, 0.6);
    border-radius: 8px;
    box-shadow: 0px 4px 16px -2px rgba(24, 16, 18, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
}

.filter-dropdown__menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-dropdown__item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(24, 16, 18, 0.6);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.filter-dropdown__item:first-child { border-radius: 8px 8px 0 0; }
.filter-dropdown__item:last-child { border-radius: 0 0 8px 8px; }

.filter-dropdown__item:hover {
    background: rgba(24, 16, 18, 0.03);
    color: #181012;
}

.sort-label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(24, 16, 18, 0.4);
}

.sort-dropdown {
    position: relative;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: none;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #181012;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sort-btn:hover {
    opacity: 0.7;
}

.sort-btn svg {
    transition: transform 0.2s ease;
}

.sort-btn.active svg {
    transform: rotate(180deg);
}

.sort-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid rgba(231, 218, 221, 0.6);
    border-radius: 8px;
    box-shadow: 0px 4px 16px -2px rgba(24, 16, 18, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.sort-dropdown__menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-dropdown__item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(24, 16, 18, 0.6);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sort-dropdown__item:first-child {
    border-radius: 8px 8px 0 0;
}

.sort-dropdown__item:last-child {
    border-radius: 0 0 8px 8px;
}

.sort-dropdown__item:hover {
    background: rgba(24, 16, 18, 0.03);
    color: #181012;
}

.sort-dropdown__item.active {
    color: #ff385c;
    font-weight: 600;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 0 14px;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 9999px;
}

.filter-chip span {
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #181012;
}

.filter-chip__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 8px;
    height: 8px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.filter-chip__close:hover {
    opacity: 1;
}

.clear-filters-btn {
    padding: 8px;
    margin-left: 8px;
    background: transparent;
    border: none;
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #ff385c;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.clear-filters-btn:hover {
    opacity: 0.8;
}

/* Talent Grid */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 20px;
}

/* Talent Card */
.talent-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ebe5d8;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.talent-card:hover {
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.talent-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.talent-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Plain pastel block — shown when the talent has no profile photo. Each card
   gets a consistent unique pastel via inline background set per-card. No
   initials or letters — the color block alone fills the photo area. */
.talent-card__initials {
    width: 100%;
    height: 100%;
}

.talent-card__bookmark {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    z-index: 2;
}

.talent-card__bookmark:hover {
    background: rgba(15, 23, 42, 0.55);
    transform: scale(1.05);
}

.talent-card__bookmark--active {
    background: #ffffff;
    color: #ff385d;
}

.talent-card__bookmark--active svg {
    fill: #ff385d;
}

.talent-card__bookmark--active:hover {
    background: #ffffff;
}

.talent-card__verified {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px 5px 6px;
    background: #ffffff;
    border-radius: 999px;
    color: #0f172a;
    font-family: "Inter", sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.7px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
    z-index: 2;
}

.talent-card__verified-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #22c55e;
    color: #ffffff;
}

.talent-card__city {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    z-index: 2;
}

.talent-card__city svg {
    opacity: 0.95;
}

.talent-card__content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.talent-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.talent-card__name {
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #181012;
    line-height: 1.3;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.talent-card__status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(34, 197, 94, 0.25);
    flex-shrink: 0;
    display: inline-block;
}

.talent-card__category {
    font-family: "Manrope", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #4b4b4b;
    line-height: 1.4;
    margin: 0;
}

.talent-card__btn {
    width: 100%;
    padding: 11px 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.35px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.talent-card__btn:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 0;
}

.pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination__btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.pagination__btn--active {
    background: #ff385c;
    border-color: #ff385c;
    color: #ffffff;
    font-weight: 700;
}

.pagination__btn--active:hover {
    background: #e6324f;
    border-color: #e6324f;
}

.pagination__btn--prev,
.pagination__btn--next {
    background: #ffffff;
}

.pagination__btn--prev:hover,
.pagination__btn--next:hover {
    background: #f8fafc;
}

/* Footer - Same as browse-projects */
.footer {
    background: #f5f0e6;
    border-top: 1px solid #e5e5e5;
    padding: 49px 0 48px;
}

.footer__content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer__main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 22.75px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__logo-icon {
    width: 24px;
    height: 24px;
    background: #ff385d;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__logo-text {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #181012;
    letter-spacing: -0.5px;
}

.footer__tagline {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #8d5e66;
    line-height: 1.625;
}

.footer__column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__title {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #181012;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__links a {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #8d5e66;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #181012;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 33px;
    border-top: 1px solid #e5e5e5;
}

.footer__copyright {
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #8d5e66;
}

.footer__social {
    display: flex;
    gap: 24px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.footer__social-link:hover {
    opacity: 0.7;
}

/* White Header Override for Talent Page */
.header--white {
    position: relative;
    background: #ffffff;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 154px;
}

.header--white .nav__link {
    color: #6b7280;
}

.header--white .nav__link--active {
    color: #181012;
}

/* Responsive */
@media (max-width: 1024px) {
    .talent-container {
        padding: 48px 24px;
    }

    .hero-header__title {
        font-size: 36px;
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .filter-bar__left {
        flex-wrap: wrap;
    }

    .talent-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .talent-container {
        padding: 24px 16px;
    }

    .hero-header__title {
        font-size: 28px;
    }

    .hero-header__subtitle {
        font-size: 16px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .filter-chips {
        flex-wrap: wrap;
    }

    .talent-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pagination {
        padding: 32px 0;
    }

    .footer__main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
