/* =============================================
   SPORTIFY v2 — Extensions CSS
   Messagerie · Carte · Notifications · Photo · Évaluations
============================================= */

/* ---- NAVBAR UPDATES ---- */
.navbar { gap: 1rem; }

.nav-center {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,87,34,0.12);
    color: var(--orange);
}

.nav-bell {
    position: relative;
    font-size: 1.2rem;
    padding: 0.35rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.nav-bell:hover { background: rgba(255,87,34,0.12); }

.nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
    pointer-events: none;
}

.badge-count {
    background: var(--orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
}

.nav-avatar-link { text-decoration: none; }

.nav-photo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange);
    display: block;
}

/* =============================================
   MESSAGERIE
============================================= */
.messages-page { background: var(--black); }

.msg-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100vh - 65px);
}

/* Sidebar convs */
.msg-sidebar {
    background: var(--dark);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.msg-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.msg-sidebar-header h3 {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-new-conv {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-new-conv:hover { background: var(--orange-light); }

.new-conv-panel {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    background: var(--dark2);
    flex-shrink: 0;
}

.new-conv-panel .filter-input {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.member-list-search {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.member-search-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.88rem;
    transition: background 0.15s;
}

.member-search-item:hover { background: rgba(255,87,34,0.1); color: var(--orange); }

.conv-list {
    overflow-y: auto;
    flex: 1;
}

.conv-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.conv-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
    cursor: pointer;
}

.conv-item:hover { background: rgba(255,255,255,0.04); }
.conv-item.active { background: rgba(255,87,34,0.1); border-left: 3px solid var(--orange); }

.conv-avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dark2);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    overflow: hidden;
}

.conv-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unread-dot {
    position: absolute;
    top: 0; right: 0;
    width: 10px; height: 10px;
    background: var(--orange);
    border-radius: 50%;
    border: 2px solid var(--dark);
}

.conv-info { flex: 1; min-width: 0; }

.conv-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}

.unread-badge {
    background: var(--orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 99px;
    margin-left: auto;
}

.conv-last {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chat main */
.msg-main {
    display: flex;
    flex-direction: column;
    background: var(--black);
    overflow: hidden;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--dark);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-peer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark2);
    border: 2px solid var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    overflow: hidden;
    flex-shrink: 0;
}

.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }

.chat-peer strong { display: block; font-size: 1rem; color: var(--text); }
.chat-peer span   { font-size: 0.8rem; color: var(--text-muted); }

.btn-back {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.btn-back:hover { color: var(--orange); }

/* Messages area */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-separator {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.04);
    border-radius: 99px;
    align-self: center;
    margin: 0.75rem 0;
}

.msg-bubble {
    max-width: 68%;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    animation: msgPop 0.2s ease;
}

@keyframes msgPop {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.msg-bubble.mine  { align-self: flex-end; }
.msg-bubble.theirs { align-self: flex-start; }

.bubble-text {
    padding: 0.7rem 1rem;
    border-radius: 16px;
    font-size: 0.92rem;
    line-height: 1.5;
    word-break: break-word;
}

.mine  .bubble-text { background: var(--orange); color: #fff; border-bottom-right-radius: 4px; }
.theirs .bubble-text { background: var(--dark2); color: var(--text); border-bottom-left-radius: 4px; border: 1px solid var(--border); }

.bubble-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.mine .bubble-time  { text-align: right; }

/* Input bar */
.chat-input-bar {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--dark);
    border-top: 1px solid var(--border);
    flex-shrink: 0;
}

.chat-input-bar textarea {
    flex: 1;
    background: var(--dark2);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
    max-height: 120px;
    overflow-y: auto;
}

.chat-input-bar textarea:focus { border-color: var(--orange); }

.btn-send {
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.btn-send:hover { background: var(--orange-light); transform: scale(1.05); }

.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    gap: 1rem;
    padding: 2rem;
}

.chat-empty-icon { font-size: 4rem; }
.chat-empty h3 { font-size: 1.5rem; color: var(--text); }

/* =============================================
   CARTE GOOGLE MAPS
============================================= */
.map-page { background: var(--black); display: flex; flex-direction: column; }

.map-layout {
    display: flex;
    height: calc(100vh - 65px);
}

#map {
    flex: 1;
    background: var(--dark2);
}

.map-controls {
    width: 280px;
    background: var(--dark);
    border-right: 1px solid var(--border);
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
}

.map-info h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.25rem; }
.map-info p  { font-size: 0.82rem; color: var(--text-muted); }

.map-my-pos h4,
.map-filter h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.6rem;
}

.pos-set   { font-size: 0.82rem; color: #4caf50; margin-bottom: 0.5rem; }
.pos-unset { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.btn-locate {
    width: 100%;
    background: rgba(255,87,34,0.15);
    border: 1.5px solid rgba(255,87,34,0.3);
    color: var(--orange);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.4rem;
}

.btn-locate:hover { background: var(--orange); color: #fff; }

.map-my-pos small { font-size: 0.75rem; color: var(--text-muted); display: block; }

.map-legend {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.legend-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    flex-shrink: 0;
}

.legend-dot.me    { background: #FF5722; }
.legend-dot.other { background: #2196F3; }

/* Google Maps InfoWindow custom */
.map-info-card {
    font-family: 'Outfit', sans-serif;
    min-width: 220px;
    max-width: 260px;
    background: #1a1a1a;
    color: #f5f5f5;
    border-radius: 10px;
    padding: 0.9rem;
}

.map-card-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
}

.map-card-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #FF5722;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    overflow: hidden;
    flex-shrink: 0;
}

.map-card-avatar img { width: 100%; height: 100%; object-fit: cover; }

.map-card-header strong { display: block; font-size: 0.92rem; color: #fff; }
.map-card-header span   { font-size: 0.75rem; color: #888; }

.map-card-bio { font-size: 0.8rem; color: #aaa; margin-bottom: 0.5rem; line-height: 1.4; }

.map-card-sports {
    font-size: 0.78rem;
    color: #FF7043;
    margin-bottom: 0.75rem;
}

.map-card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-map-msg, .btn-map-profile {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-map-msg     { background: #FF5722; color: #fff; }
.btn-map-profile { background: rgba(255,255,255,0.1); color: #ddd; border: 1px solid rgba(255,255,255,0.15); }

.btn-map-msg:hover     { background: #FF7043; }
.btn-map-profile:hover { background: rgba(255,255,255,0.18); }

/* =============================================
   NOTIFICATIONS
============================================= */
.notif-page { background: var(--black); }

.notif-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.notif-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.notif-header h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.notif-header p { font-size: 0.85rem; color: var(--text-muted); }

.notif-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    background: var(--dark2);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.filter-tab {
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

.filter-tab.active, .filter-tab:hover {
    background: var(--orange);
    color: #fff;
}

.btn-mark-all {
    font-size: 0.82rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.btn-mark-all:hover { text-decoration: underline; }

.notif-list { display: flex; flex-direction: column; gap: 0.5rem; }

.notif-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
    opacity: 1;
    transition: opacity 0.3s;
}

.notif-item.unread {
    border-color: rgba(255,87,34,0.25);
    background: rgba(255,87,34,0.05);
}

.notif-item:hover { border-color: rgba(255,87,34,0.3); }

.notif-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notif-type-message    { background: rgba(33, 150, 243, 0.15); }
.notif-type-evaluation { background: rgba(255, 193, 7, 0.15); }
.notif-type-match      { background: rgba(255, 87, 34, 0.15); }
.notif-type-systeme    { background: rgba(255, 255, 255, 0.08); }

.notif-content { flex: 1; min-width: 0; }

.notif-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.notif-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-time { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

.notif-btns {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.btn-notif-link {
    font-size: 0.8rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.3rem 0.7rem;
    border: 1px solid rgba(255,87,34,0.3);
    border-radius: 6px;
    transition: all 0.15s;
}

.btn-notif-link:hover { background: var(--orange); color: #fff; }

.btn-notif-read, .btn-notif-del {
    width: 28px; height: 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.btn-notif-read { background: rgba(76,175,80,0.15); color: #4caf50; }
.btn-notif-read:hover { background: rgba(76,175,80,0.3); }

.btn-notif-del { background: rgba(244,67,54,0.12); color: #f44336; }
.btn-notif-del:hover { background: rgba(244,67,54,0.25); }

/* =============================================
   PROFIL PHOTO UPLOAD
============================================= */
.photo-upload-zone {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0 auto 1rem;
    border: 3px solid var(--orange);
    box-shadow: 0 0 20px var(--orange-glow);
}

.photo-upload-zone .photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-upload-zone .photo-emoji {
    width: 100%;
    height: 100%;
    background: var(--dark2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.photo-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
    gap: 0.25rem;
}

.photo-upload-zone:hover .photo-upload-overlay { opacity: 1; }

.photo-upload-overlay span:first-child { font-size: 1.5rem; }

.photo-upload-input { display: none; }

.photo-progress {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* =============================================
   MEMBER PUBLIC PROFILE
============================================= */
.member-page { background: var(--black); }

.member-layout {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.member-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.member-hero-left {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex: 1;
    min-width: 200px;
}

.member-big-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--orange);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--dark2);
    box-shadow: 0 0 24px var(--orange-glow);
}

.member-big-avatar img { width: 100%; height: 100%; object-fit: cover; }

.member-hero-info h1 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.member-hero-loc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.common-sports-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,87,34,0.15);
    border: 1px solid rgba(255,87,34,0.3);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 0.6rem;
}

.member-hero-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 380px;
}

.rating-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.rating-big {
    text-align: center;
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.rating-num {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.rating-stars-big { font-size: 1.3rem; margin-bottom: 0.3rem; }

.rating-stars-big .star, .eval-stars .star { color: rgba(255,255,255,0.15); }
.rating-stars-big .star.filled, .eval-stars .star.filled { color: #FFC107; }

.rating-count { font-size: 0.78rem; color: var(--text-muted); }

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--orange);
    color: var(--orange);
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-secondary:hover { background: var(--orange); color: #fff; }

.member-body { display: flex; flex-direction: column; gap: 1.2rem; }

.member-section {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.member-section h3 {
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.member-sports-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sport-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--dark2);
    border: 1px solid var(--border);
    padding: 0.45rem 0.9rem;
    border-radius: 99px;
    font-size: 0.88rem;
    color: var(--text);
}

.dispo-table { display: flex; flex-direction: column; gap: 0.4rem; }

.dispo-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--dark2);
    border-radius: 8px;
    font-size: 0.88rem;
}

.dispo-day { font-weight: 600; color: var(--text); min-width: 80px; }
.dispo-time { color: var(--orange); font-weight: 600; }

/* ---- Évaluations ---- */
.eval-form-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.eval-form-card h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.85rem;
}

.star-picker {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}

.star-pick {
    font-size: 2rem;
    cursor: pointer;
    color: rgba(255,255,255,0.15);
    transition: all 0.15s;
    line-height: 1;
    user-select: none;
}

.star-pick:hover, .star-pick.active { color: #FFC107; transform: scale(1.15); }

.rating-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.eval-list { display: flex; flex-direction: column; gap: 0.85rem; }

.no-evals { font-size: 0.88rem; color: var(--text-muted); text-align: center; padding: 1.5rem; }

.eval-item {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    transition: border-color 0.2s;
}

.eval-item:hover { border-color: rgba(255,193,7,0.25); }

.eval-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.eval-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.eval-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    overflow: hidden;
}

.eval-avatar img { width: 100%; height: 100%; object-fit: cover; }

.eval-user strong { font-size: 0.88rem; color: var(--text); }

.eval-stars { font-size: 0.95rem; }

.eval-comment {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.4rem;
}

.eval-date { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
    .msg-layout { grid-template-columns: 260px 1fr; }
    .map-layout { flex-direction: column-reverse; }
    .map-controls { width: 100%; height: auto; border-right: none; border-top: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; gap: 1rem; padding: 1rem; }
    #map { flex: 1; min-height: 50vh; }
    .member-hero { flex-direction: column; }
    .rating-summary { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .nav-center { display: none; }
}

@media (max-width: 640px) {
    .msg-layout { grid-template-columns: 1fr; }
    .msg-sidebar { display: none; }
    .msg-sidebar.show { display: flex; position: fixed; inset: 65px 0 0 0; z-index: 50; }
    .notif-header { flex-direction: column; }
    .member-hero-left { flex-direction: column; }
}
