﻿/* PROFILE STYLE 2*/
.profile-grid {
    display: grid;
    gap: 14px;
}

@media (min-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr 2fr;
        align-items: start;
    }
}

.profile-card {
    position: sticky;
    top: 12px;
}

.profile-top {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background: var(--bg);
    box-shadow: var(--shadow);
}

.profile-name {
    font-weight: 900;
    font-size: 1.1rem;
}

.profile-username {
    font-size: .95rem;
}

.profile-details {
    margin: 10px 0 14px;
    display: grid;
    gap: 10px;
}

.profile-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    align-items: start;
}

    .profile-row dt {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 800;
        color: var(--muted);
    }

    .profile-row dd {
        margin: 0;
    }

.profile-actions {
    display: grid;
    gap: 10px;
}

.profile-note {
    margin-top: 12px;
    font-size: .95rem;
}

/* Prevent page scrolling when modal is open */
.no-scroll {
    overflow: hidden;
}

/* Profile layout */
.profile-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 900px) {
    .profile-grid {
        grid-template-columns: 1fr 1.3fr;
        align-items: start;
    }
}

/* Profile card bits */
.profile-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    background: var(--bg);
}

.profile-name {
    font-weight: 900;
    font-size: 1.1rem;
}

.profile-details {
    margin: 12px 0;
    display: grid;
    gap: 10px;
}

.profile-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

    .profile-row dt {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 800;
    }

.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}