/* WorldBeacon Dark Theme */
html {
    min-height: 100%;
    background: #0b1120;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #0b1120;
    color: #eaf0f8;
    font-family: Arial, Helvetica, sans-serif;
}

.profile-page,
.edit-page {
    box-sizing: border-box;
    width: 100%;
    color: #eaf0f8;
}

.profile-card,
.edit-card {
    background: #111b2a;
    border-color: #263448;
    color: #eaf0f8;
}

.profile-heading h1,
.edit-card h1,
.edit-card p {
    color: #eaf0f8;
}

.profile-bio {
    color: #d4deec;
}

.profile-meta,
.profile-status,
.edit-help {
    color: #aebbd0;
}

.edit-field input[type="file"],
.edit-field textarea {
    background: #0b1421;
    border-color: #34445c;
    color: #eaf0f8;
}

.edit-field input[type="file"]::file-selector-button {
    padding: 8px 12px;
    margin-right: 12px;
    border: 0;
    border-radius: 6px;
    background: #263448;
    color: #eaf0f8;
    cursor: pointer;
}

@media (prefers-color-scheme: light) {
    html,
    body {
        background: #0b1120;
        color: #eaf0f8;
    }
}


/* Public Profile */
.profile-page,
.edit-page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    color: #eaf0f8;
}

.profile-card,
.edit-card {
    overflow: hidden;
    border: 1px solid #263448;
    border-radius: 18px;
    background: #111b2a;
}

.profile-cover {
    height: 260px;
    background: #24354b center / cover no-repeat;
}

.profile-content {
    padding: 0 30px 30px;
}

.profile-top {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: -65px;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border: 5px solid #111b2a;
    border-radius: 50%;
    background: #263448;
}

.profile-heading {
    padding-bottom: 12px;
}

.profile-heading h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.profile-status {
    color: #aebbd0;
    font-size: 14px;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: 50%;
    background: #7b8797;
}

.status-dot.online {
    background: #35d07f;
}

.profile-bio {
    margin: 25px 0;
    color: #d4deec;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.profile-meta {
    color: #9eacc0;
    font-size: 14px;
}

.profile-actions {
    margin-left: auto;
    padding-bottom: 12px;
}

.profile-button,
.edit-button {
    display: inline-block;
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    background: #3478f6;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.profile-button:hover,
.edit-button:hover {
    background: #2464d8;
}

/* Edit Profile */
.edit-page {
    max-width: 760px;
}

.edit-card {
    padding: 28px;
}

.edit-card h1 {
    margin-top: 0;
}

.edit-field {
    margin: 22px 0;
}

.edit-field label {
    display: block;
    margin-bottom: 9px;
    font-weight: 600;
}

.edit-field input[type="file"],
.edit-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px;
    border: 1px solid #34445c;
    border-radius: 9px;
    background: #0b1421;
    color: #eaf0f8;
}

.edit-field textarea {
    min-height: 130px;
    resize: vertical;
}

.edit-preview {
    display: block;
    max-width: 100%;
    margin-bottom: 12px;
    object-fit: cover;
    border-radius: 12px;
    background: #263448;
}

.avatar-preview {
    width: 110px;
    height: 110px;
    border-radius: 50%;
}

.cover-preview {
    width: 100%;
    height: 160px;
}

.edit-help {
    margin-top: 7px;
    color: #aebbd0;
    font-size: 13px;
}

.edit-errors {
    padding: 12px 18px;
    border-radius: 9px;
    background: #48232b;
    color: #ffdce1;
}

.edit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.edit-cancel {
    background: #29384d;
}

.edit-cancel:hover {
    background: #3a4c65;
}

@media (max-width: 600px) {
    .profile-cover {
        height: 180px;
    }

    .profile-content {
        padding: 0 18px 24px;
    }

    .profile-top {
        gap: 12px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-heading h1 {
        font-size: 24px;
    }

    .profile-actions {
        width: 100%;
        margin-left: 0;
    }

    .edit-card {
        padding: 20px;
    }
}


/* Profile content sections */
.profile-section {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #263448;
    border-radius: 16px;
    background: #111b2a;
    color: #eaf0f8;
}

.profile-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-section-heading h2 {
    margin: 0;
    font-size: 21px;
}

.profile-section-heading a {
    color: #79aaff;
    text-decoration: none;
    font-size: 14px;
}

.profile-section-heading a:hover {
    color: #fff;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.profile-item {
    min-width: 0;
    padding: 18px;
    border: 1px solid #29394f;
    border-radius: 12px;
    background: #0b1421;
}

.profile-item h3 {
    margin: 0 0 12px;
    color: #f1f5fb;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.profile-item p,
.profile-item small {
    color: #aebbd0;
    line-height: 1.6;
}

.profile-empty {
    color: #aebbd0;
    margin-bottom: 0;
}

@media (max-width: 750px) {
    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .profile-section {
        padding: 18px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-section-heading h2 {
        font-size: 18px;
    }
}

        .site-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 14px 28px;
            background: #101827;
            color: #fff;
            border-bottom: 1px solid rgba(255,255,255,.1);
            box-sizing: border-box;
        }

        .site-header a {
            color: inherit;
            text-decoration: none;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 20px;
            font-weight: 700;
            white-space: nowrap;
        }

        .brand-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: #38bdf8;
            color: #101827;
        }

        .brand-highlight {
            color: #38bdf8;
        }

        .header-nav {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 16px;
            flex-wrap: wrap;
        }

        .header-nav > a {
            font-size: 14px;
            white-space: nowrap;
        }

        .header-nav > a:hover {
            color: #38bdf8;
        }

        .header-nav .nav-register {
            padding: 9px 13px;
            border-radius: 8px;
            background: #38bdf8;
            color: #101827;
            font-weight: 700;
        }

        .header-user {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .header-user-avatar {
            width: 34px;
            height: 34px;
            object-fit: cover;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,.25);
        }

        .header-user-name {
            font-weight: 600;
        }

        @media (max-width: 900px) {
            .site-header {
                align-items: flex-start;
                flex-direction: column;
                padding: 16px;
            }

            .header-nav {
                justify-content: flex-start;
                gap: 12px;
            }
        }    


.profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.friend-action-btn {
    font: inherit;
    cursor: pointer;
    border: 1px solid rgba(0, 220, 255, .4);
    transition: .2s ease;
}

.friend-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(0, 220, 255, .2);
}

.friend-action-btn:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.friend-add {
    background: linear-gradient(135deg, #00d9ff, #008cff);
    color: #04121e;
    font-weight: 700;
}

.is-friends {
    border-color: rgba(0, 230, 160, .4);
}

.friend-decline {
    border-color: rgba(255, 90, 110, .4);
}

.friend-action-message {
    min-height: 0;
    margin: 8px 0;
    color: #7cecff;
    font-size: .9rem;
}

.friend-action-message:empty {
    display: none;
}

@media (max-width: 600px) {
    .profile-actions {
        width: 100%;
    }

    .profile-actions .profile-button {
        max-width: 100%;
    }
}

.pm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.pm-button:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}


/* Friends list */
.friend-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.friend-profile-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.friend-profile-link h3 {
    margin: 0;
    overflow-wrap: anywhere;
}

.friend-list-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(99, 102, 241, 0.65);
}

.friend-list-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.friend-list-actions .profile-button {
    text-align: center;
    text-decoration: none;
}

.pm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.pm-button:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}


/* ========================================
   PROFILE THREE-COLUMN LAYOUT
======================================== */

.profile-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 260px;
    gap: 22px;
    width: 100%;
    max-width: 1700px;
    margin: 24px auto;
    padding: 0 20px;
    box-sizing: border-box;
    align-items: start;
}

.profile-sidebar {
    min-width: 0;
    width: 100%;
    align-self: start;
}

.profile-page {
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Medium screens */
@media (max-width: 1250px) {
    .profile-layout {
        grid-template-columns: 210px minmax(0, 1fr);
        gap: 18px;
    }

    .profile-sidebar-right {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .profile-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
        padding: 0 12px;
        margin: 16px auto;
    }

    .profile-sidebar,
    .profile-page {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .profile-sidebar-left {
        order: 0;
    }

    .profile-page {
        order: 1;
    }

    .profile-sidebar-right {
        display: block;
        order: 2;
    }
}



/* =========================================
   WORLDBEACON — PREMIUM PROFILE
========================================= */

.profile-page {
    --profile-bg: #0b1220;
    --profile-card: #111c2e;
    --profile-card-soft: #152238;
    --profile-border: rgba(148, 163, 184, 0.15);
    --profile-text: #edf4ff;
    --profile-muted: #91a2ba;
    --profile-accent: #5ba7ff;

    min-width: 0;
    color: var(--profile-text);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.profile-card,
.profile-section,
.profile-stat {
    background: var(--profile-card);
    border: 1px solid var(--profile-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

/* Cover */
.profile-cover {
    position: relative;
    height: clamp(190px, 24vw, 300px);
    background-color: #172a43;
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.profile-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            rgba(5, 12, 25, 0.02) 15%,
            rgba(5, 12, 25, 0.68) 100%
        );
}

/* Profile content */
.profile-content {
    position: relative;
    padding: 0 30px 28px;
}

.profile-top {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: -66px;
    position: relative;
    z-index: 2;
}

.profile-avatar {
    width: 136px;
    height: 136px;
    flex: 0 0 136px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--profile-card);
    background: var(--profile-card-soft);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.profile-heading {
    flex: 1 1 180px;
    min-width: 0;
    padding-bottom: 8px;
}

.profile-heading h1 {
    margin: 0 0 9px;
    color: var(--profile-text);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--profile-muted);
    font-size: 0.88rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #64748b;
}

.status-dot.online {
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

/* Action buttons */
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding-bottom: 8px;
}

.profile-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid var(--profile-border);
    border-radius: 11px;
    background: var(--profile-card-soft);
    color: var(--profile-text);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.profile-button:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 167, 255, 0.5);
    background: #1c304b;
}

.profile-button:focus-visible,
.profile-actions a:focus-visible {
    outline: 2px solid var(--profile-accent);
    outline-offset: 3px;
}

.profile-button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.profile-button.friend-add,
.profile-button.pm-button {
    background: #246bd4;
    border-color: #246bd4;
    color: #fff;
}

.profile-button.friend-add:hover,
.profile-button.pm-button:hover {
    background: #337fe9;
}

.profile-button.is-friends {
    color: #6ee7b7;
}

.profile-button.friend-decline {
    color: #fca5a5;
}

.profile-button.admin-panel-button {
    border-color: rgba(251, 191, 36, 0.3);
    color: #fcd34d;
}

/* Friend action feedback */
.friend-action-message {
    min-height: 0;
    margin: 10px 0 0;
    color: var(--profile-muted);
    font-size: 0.88rem;
}

.friend-action-message:empty {
    display: none;
}

/* About / Bio */
.profile-bio {
    margin-top: 24px;
    padding: 19px 20px;
    border: 1px solid var(--profile-border);
    border-radius: 14px;
    background: rgba(5, 12, 25, 0.22);
    color: #c9d6e8;
    font-size: 0.96rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.profile-meta {
    margin-top: 15px;
    color: var(--profile-muted);
    font-size: 0.84rem;
}

/* Statistics */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.profile-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 19px 17px;
    transition:
        transform 180ms ease,
        border-color 180ms ease;
}

.profile-stat:hover {
    transform: translateY(-3px);
    border-color: rgba(91, 167, 255, 0.38);
}

.profile-stat-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 13px;
    background: rgba(59, 130, 246, 0.13);
    color: var(--profile-accent);
    font-size: 1.05rem;
}

.profile-stat > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.profile-stat strong {
    color: var(--profile-text);
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 800;
}

.profile-stat > div > span {
    color: var(--profile-muted);
    font-size: 0.8rem;
}

/* Content sections */
.profile-section {
    padding: 24px;
}

.profile-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-section-heading h2 {
    margin: 0;
    color: var(--profile-text);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.profile-section-heading > span {
    color: var(--profile-muted);
    font-size: 0.84rem;
}

.profile-section-heading a {
    color: var(--profile-accent);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.profile-section-heading a:hover {
    color: #a5d0ff;
}

/* Regions, posts, events and friends */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-item {
    min-width: 0;
    padding: 19px;
    border: 1px solid var(--profile-border);
    border-radius: 15px;
    background: var(--profile-card-soft);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.profile-item:hover {
    transform: translateY(-3px);
    border-color: rgba(91, 167, 255, 0.34);
    background: #192a42;
}

.profile-item h3 {
    margin: 0 0 10px;
    color: var(--profile-text);
    font-size: 1rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.profile-item p {
    margin: 0 0 10px;
    color: #c0cde0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.profile-item small {
    color: var(--profile-muted);
    font-size: 0.79rem;
}

.profile-empty {
    margin: 0;
    padding: 25px 18px;
    border: 1px dashed rgba(148, 163, 184, 0.24);
    border-radius: 14px;
    color: var(--profile-muted);
    text-align: center;
    line-height: 1.7;
}

/* Friends */
.friend-profile-link {
    display: flex;
    align-items: center;
    gap: 13px;
    color: inherit;
    text-decoration: none;
}

.friend-list-avatar {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.22);
}

.friend-profile-link h3 {
    margin: 0;
}

.friend-list-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.friend-list-actions .profile-button {
    flex: 1 1 auto;
}

/* Responsive */
@media (max-width: 1100px) {
    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-content {
        padding-right: 22px;
        padding-left: 22px;
    }
}

@media (max-width: 700px) {
    .profile-page {
        gap: 15px;
    }

    .profile-cover {
        height: 185px;
    }

    .profile-content {
        padding: 0 16px 20px;
    }

    .profile-top {
        align-items: center;
        gap: 12px;
        margin-top: -48px;
    }

    .profile-avatar {
        width: 98px;
        height: 98px;
        flex-basis: 98px;
        border-width: 4px;
    }

    .profile-heading {
        flex-basis: calc(100% - 115px);
        padding-bottom: 0;
    }

    .profile-heading h1 {
        font-size: 1.45rem;
    }

    .profile-actions {
        width: 100%;
        padding-bottom: 0;
    }

    .profile-actions .profile-button {
        flex: 1 1 auto;
    }

    .profile-bio {
        margin-top: 19px;
        padding: 15px;
    }

    .profile-stats {
        gap: 10px;
    }

    .profile-stat {
        gap: 10px;
        padding: 14px 12px;
    }

    .profile-stat-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        border-radius: 11px;
    }

    .profile-stat strong {
        font-size: 1.15rem;
    }

    .profile-section {
        padding: 17px;
        border-radius: 16px;
    }

    .profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 380px) {
    .profile-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-stat {
        padding: 13px 15px;
    }

    .profile-top {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-button,
    .profile-stat,
    .profile-item {
        transition: none;
    }

    .profile-button:hover,
    .profile-stat:hover,
    .profile-item:hover {
        transform: none;
    }
}


/* Extended WorldBeacon profile details */
.extended-profile-details {
    margin-top: 22px;
}

.extended-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.extended-profile-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.35);
}

.extended-profile-item > i {
    width: 20px;
    margin-top: 3px;
    color: #60a5fa;
    text-align: center;
    flex-shrink: 0;
}

.extended-profile-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.extended-profile-item span {
    color: #94a3b8;
    font-size: 0.82rem;
}

.extended-profile-item strong,
.extended-profile-item a {
    overflow-wrap: anywhere;
    font-size: 0.95rem;
}

.extended-profile-item strong {
    color: #e2e8f0;
    font-weight: 600;
}

.extended-profile-item a {
    color: #60a5fa;
    text-decoration: none;
}

.extended-profile-item a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.extended-profile-wide {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .extended-profile-grid {
        grid-template-columns: 1fr;
    }

    .extended-profile-wide {
        grid-column: auto;
    }
}


/* =========================================
   WORLDBEACON - EXTENDED PROFILE DETAILS
   ========================================= */

.profile-page .extended-profile-details {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 16px;
    background: #111c30;
    color: #e5edff;
}

.profile-page .extended-profile-details .profile-about-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.profile-page .extended-profile-details .profile-about-heading h2 {
    margin: 0;
    color: #f1f5f9;
    font-size: 1.25rem;
    font-weight: 700;
}

.profile-page .extended-profile-details .extended-profile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 20px;
}

.profile-page .extended-profile-details .extended-profile-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #293951;
    border-radius: 12px;
    background: #17243a;
}

.profile-page .extended-profile-details .extended-profile-item > i {
    flex: 0 0 20px;
    width: 20px;
    margin-top: 3px;
    color: #60a5fa;
    text-align: center;
    font-size: 17px;
}

.profile-page .extended-profile-details .extended-profile-item > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.profile-page .extended-profile-details .extended-profile-item span {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
}

.profile-page .extended-profile-details .extended-profile-item strong {
    color: #f1f5f9;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.profile-page .extended-profile-details .extended-profile-item a {
    display: inline-block;
    color: #60a5fa;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.profile-page .extended-profile-details .extended-profile-item a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.profile-page .extended-profile-details .extended-profile-wide {
    grid-column: 1 / -1;
}

.profile-page .extended-profile-details > .profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.profile-page .extended-profile-details > .profile-button:hover {
    background: #1d4ed8;
}

@media (max-width: 600px) {
    .profile-page .extended-profile-details {
        padding: 16px;
    }

    .profile-page .extended-profile-details .extended-profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-page .extended-profile-details .extended-profile-wide {
        grid-column: auto;
    }
}



