/*
 * ============================================================
 * BLOODMOON GRID
 * Public Profile Search
 * ============================================================
 *
 * Version : 2026-09-10 08:40
 */

.public-profiles-page {
    min-height: 70vh;
    padding: 38px 18px 58px;
    background:
        linear-gradient(
            180deg,
            rgba(240, 246, 251, 0.88) 0%,
            rgba(255, 255, 255, 1) 260px
        );
}

.public-profiles-container {
    width: min(980px, 100%);
    margin: 0 auto;
}

.public-profiles-hero {
    margin-bottom: 20px;
}

.public-profiles-kicker {
    display: block;
    margin-bottom: 7px;
    color: #60778b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.public-profiles-hero h1 {
    margin: 0;
    color: #1d2e3d;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.public-profiles-hero p {
    margin: 10px 0 0;
    color: #697886;
    line-height: 1.6;
}

.public-profiles-search-card {
    padding: 24px;
    border: 1px solid #dce5ed;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(31, 54, 74, 0.07);
}

.public-profiles-search-form {
    display: grid;
    gap: 8px;
}

.public-profiles-search-form label {
    color: #455866;
    font-size: 0.84rem;
    font-weight: 800;
}

.public-profiles-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.public-profiles-search-row input {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #cdd8e1;
    border-radius: 10px;
    background: #ffffff;
    color: #243746;
    font: inherit;
}

.public-profiles-search-row input:focus {
    outline: 2px solid rgba(49, 95, 130, 0.18);
    border-color: #7396b2;
}

.public-profiles-search-button {
    min-height: 46px;
    padding: 9px 18px;
    border: 1px solid #245f94;
    border-radius: 10px;
    background: #245f94;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.public-profiles-search-button:hover {
    background: #1d507d;
}

.public-profiles-message {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #d8e1e8;
    border-radius: 11px;
    background: #f8fafb;
    color: #657581;
}

.public-profiles-results {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.public-profiles-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 10px 14px;
    border: 1px solid #dce5ed;
    border-radius: 12px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
}

.public-profiles-result:hover {
    border-color: #b7ccdc;
    background: #f8fbfd;
}

.public-profiles-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
}

.public-profiles-status.is-online {
    background: #35ad58;
}

.public-profiles-status.is-offline {
    background: #d65353;
}

.public-profiles-result-main {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.public-profiles-result-main strong {
    color: #2f4b5f;
    overflow-wrap: anywhere;
}

.public-profiles-result-main small {
    color: #7c8994;
}

.public-profiles-arrow {
    color: #3c6e92;
    font-size: 1.1rem;
    font-weight: 900;
}

.public-profiles-limit {
    margin: 12px 0 0;
    color: #7a8792;
    font-size: 0.8rem;
}

.public-profiles-welcome {
    margin-top: 18px;
    padding: 42px 20px;
    border: 1px dashed #cad6df;
    border-radius: 14px;
    background: #fbfcfd;
    text-align: center;
}

.public-profiles-welcome > span {
    display: block;
    margin-bottom: 8px;
    font-size: 2rem;
}

.public-profiles-welcome h2 {
    margin: 0 0 6px;
    color: #2d4658;
}

.public-profiles-welcome p {
    margin: 0;
    color: #768591;
}

@media (max-width: 620px) {
    .public-profiles-page {
        padding: 24px 10px 44px;
    }

    .public-profiles-search-card {
        padding: 18px;
    }

    .public-profiles-search-row {
        grid-template-columns: 1fr;
    }
}
