/* ==========================================
   GLOBALT & LAYOUT
   ========================================== */
.app-body { margin: 0; padding: 0; background-color: #121212; color: #e0e0e0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; padding-top: 80px; padding-bottom: 100px; }
.app-container { max-width: 600px; margin: 0 auto; padding: 15px; }
.mockup-divider { background-color: #ffd700; color: #000; text-align: center; padding: 20px; margin: 40px 0; font-weight: bold; border-radius: 8px; font-size: 14px; letter-spacing: 1px; }

/* ==========================================
   PANIKRUTA & SPOTLIGHT
   ========================================== */
.system-panic-box { background-color: #E50914; color: #ffffff; padding: 12px 15px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; line-height: 1.4; box-shadow: 0 4px 6px rgba(229, 9, 20, 0.3); }
.spotlight-container { margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; }
.spotlight-title { font-size: 14px; color: #888; margin: 0 0 10px 0; text-transform: uppercase; letter-spacing: 1px; }
.spotlight-bar { display: flex; gap: 15px; overflow-x: auto; scrollbar-width: none; padding-bottom: 5px; }
.spotlight-bar::-webkit-scrollbar { display: none; }
.spotlight-item { display: flex; flex-direction: column; align-items: center; min-width: 65px; cursor: pointer; }
.spotlight-item__avatar { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; border: 2px solid #ffd700; padding: 2px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; }
.spotlight-item__name { font-size: 11px; color: #ccc; margin-top: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 65px; }
.spotlight-item--add .spotlight-item__avatar { border: 2px dashed #666; background-color: #1e1e1e; padding: 0; }
.spotlight-item--add .spotlight-item__name { color: #ffd700; font-weight: bold; }

/* ==========================================
   SIGNATUR / UTROP
   ========================================== */
.user-status-shout { font-size: 12px; color: #4CAF50; font-style: italic; font-weight: 500; display: inline-block; }

/* ==========================================
   KNAPPAR
   ========================================== */
.btn { padding: 12px 16px; border-radius: 20px; border: none; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; text-align: center; }
.btn--primary { background-color: #E50914; color: #ffffff; }
.btn--danger { background-color: #d32f2f; color: #ffffff; }
.btn--full { width: 100%; display: block; margin-top: 10px; }

/* ==========================================
   TOPPMENY & BOTTENMENY
   ========================================== */
.top-bar { position: fixed; top: 0; left: 0; width: 100%; height: 60px; background-color: rgba(26, 26, 26, 0.95); backdrop-filter: blur(10px); display: flex; justify-content: space-between; align-items: center; padding: 0 15px; box-sizing: border-box; border-bottom: 1px solid #333; z-index: 1000; }
.top-bar__search { flex-grow: 1; margin-right: 15px; padding: 10px 15px; border-radius: 20px; border: none; background-color: #2a2a2a; color: #ffffff; font-size: 16px; outline: none; }
.top-bar__menu-btn { background-color: #2a2a2a; border: 1px solid #333; border-radius: 20px; padding: 4px 10px 4px 4px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: background-color 0.2s; }
.top-bar__menu-btn:active { background-color: #333; }
.top-bar__profile-pic { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.top-bar__menu-icon { color: #e0e0e0; font-size: 16px; }

.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 70px; background-color: rgba(26, 26, 26, 0.98); backdrop-filter: blur(10px); display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #333; z-index: 1000; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav__link { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none !important; color: #888888 !important; width: 33.33%; -webkit-tap-highlight-color: transparent; }
.bottom-nav__icon { font-size: 24px; margin-bottom: 4px; filter: grayscale(100%) opacity(0.7); }
.bottom-nav__text { font-size: 11px; font-weight: 500; }
.bottom-nav__link--active { color: #E50914 !important; }
.bottom-nav__link--active .bottom-nav__icon { filter: none; transform: scale(1.1); }

/* ==========================================
   RAPPORTERINGSFLAGGA
   ========================================== */
.report-btn { position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 16px; cursor: pointer; opacity: 0.4; padding: 5px; z-index: 10; }
.report-btn:hover { opacity: 1; transform: scale(1.1); }
.report-btn--comment { top: 8px; right: 8px; font-size: 14px; }
.report-btn--static { position: static; opacity: 0.8; }

/* ==========================================
   SKAPA INLÄGG FORMULÄR
   ========================================== */
.create-post { background-color: #1e1e1e; border-radius: 12px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.create-post__input-area { display: flex; gap: 12px; margin-bottom: 12px; }
.create-post__avatar { font-size: 36px; }
.create-post__textarea { flex-grow: 1; background-color: #2a2a2a; border: none; border-radius: 12px; padding: 12px; color: #ffffff; font-size: 15px; resize: none; min-height: 50px; font-family: inherit; outline: none; }
.create-post__textarea::placeholder { color: #888; }
.create-post__actions { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #333; padding-top: 12px; }
.create-post__attachments { display: flex; gap: 10px; }
.create-post__action-btn { background: none; border: none; color: #b3b3b3; font-size: 14px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 5px; padding: 5px 0; }
.create-post__action-btn:hover { color: #ffffff; }
.create-post__submit-btn { padding: 8px 16px; font-size: 14px; }

/* ==========================================
   FLÖDE & INLÄGG
   ========================================== */
.feed-filters { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: none; }
.filter-chip { background-color: #1e1e1e; color: #b3b3b3; border: 1px solid #333; border-radius: 20px; padding: 8px 16px; font-size: 14px; white-space: nowrap; cursor: pointer; }
.filter-chip--active { background-color: #E50914; color: #ffffff; border-color: #E50914; }
.feed-content { display: flex; flex-direction: column; gap: 15px; }
.feed-post { background-color: #1e1e1e; border-radius: 12px; padding: 15px; position: relative; }
.post-header { display: flex; align-items: center; margin-bottom: 12px; padding-right: 35px; }
.post-header__avatar { font-size: 36px; margin-right: 12px; }
.post-header__info { display: flex; flex-direction: column; flex-grow: 1; }
.post-header__name { font-weight: 600; font-size: 15px; color: #ffffff; }
.post-header__time { font-size: 12px; color: #888; margin-top: 2px; }
.post-content__text { margin: 0 0 12px 0; font-size: 15px; line-height: 1.4; }
.post-content__image { width: 100%; border-radius: 8px; margin-bottom: 12px; }
.post-actions { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; margin-bottom: 15px; }
.post-actions__reactions { display: flex; gap: 8px; }
.reaction-btn { background-color: #2a2a2a; border: none; border-radius: 20px; padding: 6px 12px; color: #e0e0e0; display: flex; align-items: center; gap: 5px; }
.post-comments { display: flex; flex-direction: column; gap: 15px; }
.comment { display: flex; gap: 10px; }
.comment__avatar { font-size: 28px; }
.comment__content-wrapper { flex-grow: 1; }
.comment__box { background-color: #2a2a2a; padding: 10px 12px; border-radius: 12px; border-top-left-radius: 4px; position: relative; padding-right: 40px; }
.comment__name { font-weight: 600; font-size: 13px; color: #ffffff; display: block; margin-bottom: 2px; }
.comment__text { margin: 0; font-size: 14px; }
.comment__image { width: 100%; max-width: 250px; border-radius: 8px; margin-top: 8px; }
.comment__actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding-left: 8px; }
.comment__time { font-size: 12px; color: #888; }
.comment__action-btn { background: none; border: none; color: #b3b3b3; font-size: 12px; font-weight: 600; }
.comment-input { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.comment-input__avatar { font-size: 28px; }
.comment-input__wrapper { display: flex; flex-grow: 1; background-color: #2a2a2a; border-radius: 20px; padding: 4px 12px; }
.comment-input__field { flex-grow: 1; background: transparent; border: none; color: #ffffff; font-size: 15px; outline: none; }
.comment-input__send { background: none; border: none; color: #E50914; font-weight: bold; font-size: 15px; margin-left: 10px; }

/* ==========================================
   MEDLEM (PROFIL, FAKTA & NOTERINGAR)
   ========================================== */
.profile-header { background-color: #1e1e1e; border-radius: 12px; overflow: hidden; margin-bottom: 15px; position: relative; }
.profile-header__cover { height: 100px; background-color: #333; }
.profile-header__main { padding: 15px; display: flex; align-items: flex-end; margin-top: -40px; position: relative; }
.profile-header__avatar { font-size: 60px; background-color: #121212; border-radius: 50%; border: 4px solid #1e1e1e; margin-right: 15px; }
.profile-header__info { flex-grow: 1; padding-bottom: 5px; }
.profile-header__name { margin: 0 0 2px 0; font-size: 18px; color: #ffffff; }
.profile-header__level { font-size: 12px; color: #888; font-weight: 600; display: block; }

.profile-facts-box { background-color: #1e1e1e; border-radius: 12px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.profile-facts-title { margin: 0 0 10px 0; font-size: 16px; color: #ffffff; border-bottom: 1px solid #333; padding-bottom: 8px; }
.fact-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.fact-label { color: #888; font-weight: 500; }
.fact-value { color: #ffffff; }

.private-notes-box { background-color: #2a2a0a; border: 1px solid #ffd700; border-radius: 12px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.private-notes-title { margin: 0 0 15px 0; font-size: 16px; color: #ffd700; display: flex; align-items: center; gap: 8px; }

.profile-stats { display: flex; justify-content: space-around; background-color: #1e1e1e; border-radius: 12px; padding: 15px 0; margin-bottom: 15px; }
.profile-stats__item { display: flex; flex-direction: column; align-items: center; }
.profile-stats__number { font-size: 18px; font-weight: bold; color: #ffffff; }
.profile-stats__label { font-size: 12px; color: #888; }
.profile-tabs { display: flex; margin-bottom: 15px; border-bottom: 1px solid #333; }
.profile-tabs__btn { flex: 1; background: none; border: none; color: #888; padding: 10px 0; font-size: 14px; font-weight: 600; border-bottom: 2px solid transparent; }
.profile-tabs__btn--active { color: #ffffff; border-bottom-color: #E50914; }

/* ==========================================
   CHATT & MEDDELANDEN
   ========================================== */
.chat-list { background-color: #1e1e1e; border-radius: 12px; overflow: hidden; }
.chat-item { display: flex; align-items: center; padding: 15px; border-bottom: 1px solid #2a2a2a; cursor: pointer; }
.chat-item:last-child { border-bottom: none; }
.chat-item--unread .chat-item__name { font-weight: bold; }
.chat-item--unread .chat-item__preview { color: #ffffff; font-weight: 500; }
.chat-item__avatar { font-size: 40px; margin-right: 15px; }
.chat-item__info { flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; }
.chat-item__name { font-size: 15px; color: #e0e0e0; margin-bottom: 2px; }
.chat-item__preview { font-size: 13px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item__meta { display: flex; flex-direction: column; align-items: flex-end; margin-left: 10px; }
.chat-item__time { font-size: 12px; color: #888; margin-bottom: 5px; }
.chat-item__badge { background-color: #E50914; color: #ffffff; font-size: 11px; font-weight: bold; padding: 2px 6px; border-radius: 10px; }
.chat-header { display: flex; align-items: center; background-color: #1e1e1e; padding: 10px 15px; border-radius: 12px; margin-bottom: 15px; position: relative; }
.chat-header__back { background: none; border: none; color: #ffffff; font-size: 24px; margin-right: 15px; cursor: pointer; }
.chat-header__avatar { font-size: 30px; margin-right: 10px; }
.chat-header__name { font-weight: bold; font-size: 16px; color: #ffffff; }
.chat-window { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.chat-message { display: flex; width: 100%; }
.chat-message--other { justify-content: flex-start; }
.chat-message--self { justify-content: flex-end; }
.chat-bubble { max-width: 75%; padding: 10px 15px; border-radius: 18px; position: relative; line-height: 1.4; font-size: 15px; }
.chat-bubble--other { background-color: #2a2a2a; color: #ffffff; border-bottom-left-radius: 4px; }
.chat-bubble--self { background-color: #E50914; color: #ffffff; border-bottom-right-radius: 4px; }
.chat-bubble__text { margin: 0; }
.chat-input-bar { display: flex; align-items: center; background-color: #1e1e1e; padding: 10px; border-radius: 25px; }
.chat-input-bar__btn { background: none; border: none; font-size: 20px; margin-right: 10px; }
.chat-input-bar__field { flex-grow: 1; background: transparent; border: none; color: #ffffff; font-size: 15px; outline: none; }
.chat-input-bar__send { background: none; border: none; color: #E50914; font-weight: bold; font-size: 15px; margin-left: 10px; }

/* ==========================================
   FORMULÄR & INFO-SIDOR
   ========================================== */
.auth-container { background-color: #1e1e1e; border-radius: 12px; padding: 25px 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); margin-bottom: 20px; }
.auth-title { margin: 0 0 20px 0; font-size: 22px; color: #ffffff; text-align: center; }
.form-row { display: flex; gap: 12px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; color: #888; margin-bottom: 6px; font-weight: 500; }
.form-input { width: 100%; box-sizing: border-box; background-color: #121212; border: 1px solid #333; color: #ffffff; padding: 12px; border-radius: 8px; font-size: 15px; outline: none; transition: border-color 0.2s; appearance: none; -webkit-appearance: none; font-family: inherit;}
.form-input:focus { border-color: #E50914; }
.auth-links { display: flex; justify-content: space-between; margin-top: 20px; font-size: 13px; }
.auth-links a { color: #888; text-decoration: none; transition: color 0.2s; }
.auth-links a:hover { color: #ffffff; }
.text-content { line-height: 1.6; font-size: 14px; color: #ccc; }
.text-content p { margin-top: 0; margin-bottom: 15px; }
.text-content ul { padding-left: 20px; margin-bottom: 15px; }

.pref-box { border: 1px solid #333; border-radius: 8px; padding: 12px; display: flex; gap: 10px; cursor: pointer; transition: border-color 0.2s; }
.pref-box:hover { border-color: #E50914; }
.pref-box__checkbox { margin-top: 4px; accent-color: #E50914; width: 16px; height: 16px; flex-shrink: 0; }
.pref-box__title { font-weight: bold; font-size: 14px; color: #fff; display: block; margin-bottom: 4px; }
.pref-box__desc { font-size: 12px; color: #888; margin: 0; line-height: 1.4; }

/* ==========================================
   KONTAKTANNONSER
   ========================================== */
.annons-header { margin-bottom: 15px; }
.annons-header__title { margin: 0; font-size: 22px; color: #ffffff; }
.annons-filter-panel { margin-bottom: 20px; }
.filter-accordion { background-color: #1e1e1e; border-radius: 8px; margin-bottom: 10px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.filter-accordion__title { background-color: #2a2a2a; padding: 15px; font-weight: 600; font-size: 15px; color: #fff; cursor: pointer; list-style: none; outline: none; }
.filter-accordion__title::-webkit-details-marker { display: none; }
.filter-accordion__title::after { content: '▼'; float: right; font-size: 12px; color: #888; }
.filter-accordion[open] .filter-accordion__title::after { content: '▲'; }
.filter-accordion__list { margin: 0; padding: 0; list-style: none; max-height: 300px; overflow-y: auto; }
.filter-accordion__list li { display: flex; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid #2a2a2a; font-size: 14px; color: #ccc; cursor: pointer; }
.filter-accordion__list li:hover { background-color: #252525; color: #fff; }
.badge { background-color: #333; color: #aaa; padding: 2px 8px; border-radius: 12px; font-size: 11px; }

.annons-listview { display: flex; flex-direction: column; gap: 15px; }
.annons-item { display: flex; background-color: #1e1e1e; border-radius: 12px; padding: 15px; position: relative; box-shadow: 0 2px 4px rgba(0,0,0,0.2); cursor: pointer; transition: background-color 0.2s; }
.annons-item:active { background-color: #2a2a2a; }
.annons-item__image { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; margin-right: 15px; flex-shrink: 0; }
.annons-item__image--placeholder { background-color: #2a2a2a; display: flex; align-items: center; justify-content: center; font-size: 40px; color: #555; }
.annons-item__content { flex-grow: 1; overflow: hidden; padding-right: 25px; }
.annons-item__headline { margin: 0 0 4px 0; font-size: 15px; font-weight: bold; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.annons-item__location { display: block; font-size: 12px; color: #888; margin-bottom: 8px; }
.annons-item__info { font-size: 13px; color: #ccc; line-height: 1.4; margin-bottom: 8px; }
.info-nick { font-weight: bold; color: #ffffff; }
.info-orientation { color: #E50914; font-size: 12px; font-weight: 500; }
.annons-item__stats { display: flex; justify-content: space-between; font-size: 11px; color: #666; border-top: 1px solid #2a2a2a; padding-top: 8px; }

.single-annons { background-color: #1e1e1e; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.single-annons__topbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; background-color: #2a2a2a; }
.single-annons__hero-image { width: 100%; height: 250px; object-fit: cover; display: block; }
.single-annons__body { padding: 20px; }
.single-annons__title { margin: 0 0 5px 0; font-size: 20px; color: #ffffff; line-height: 1.3; }
.single-annons__location { font-size: 14px; color: #888; margin-bottom: 20px; }
.single-annons__meta-box { background-color: #121212; border-radius: 8px; padding: 15px; margin-bottom: 20px; border: 1px solid #2a2a2a; }
.meta-row { font-size: 14px; color: #ccc; margin-bottom: 8px; }
.meta-row strong { color: #fff; display: inline-block; width: 130px; }
.meta-divider { border: 0; height: 1px; background-color: #2a2a2a; margin: 12px 0; }
.meta-stats-row { display: flex; justify-content: space-between; font-size: 12px; color: #888; }
.single-annons__description { margin-bottom: 25px; }
.single-annons__actions { display: flex; flex-direction: column; gap: 10px; }

/* ==========================================
   GRUPPER & Sidor
   ========================================== */
.groups-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.groups-header__title { margin: 0; font-size: 22px; color: #ffffff; }
.groups-section-title { font-size: 16px; color: #e0e0e0; margin: 0 0 10px 0; border-bottom: 1px solid #333; padding-bottom: 5px; }
.groups-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.group-card { background-color: #1e1e1e; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.2s; }
.group-card:active { transform: scale(0.97); }
.group-card__cover { height: 80px; background-color: #333; }
.group-card__body { padding: 12px; }
.group-card__name { margin: 0 0 5px 0; font-size: 15px; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.group-card__meta { display: block; font-size: 11px; color: #888; }
.group-hero { background-color: #1e1e1e; border-radius: 12px; overflow: hidden; margin-bottom: 15px; position: relative; }
.group-hero__cover { height: 140px; background-color: #333; position: relative; }
.group-hero__body { padding: 20px; }
.group-hero__title { margin: 0 0 5px 0; font-size: 24px; color: #ffffff; }
.group-hero__meta { display: block; font-size: 13px; color: #E50914; font-weight: 500; margin-bottom: 10px; }
.group-hero__desc { font-size: 14px; color: #ccc; line-height: 1.4; margin-bottom: 20px; }
.group-hero__actions { display: flex; gap: 10px; }
.subgroups-list { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.subgroup-item { display: flex; align-items: center; background-color: #1e1e1e; padding: 15px; border-radius: 12px; cursor: pointer; transition: background-color 0.2s; }
.subgroup-item:hover { background-color: #2a2a2a; }
.subgroup-item__icon { font-size: 24px; margin-right: 15px; }
.subgroup-item__info { flex-grow: 1; }
.subgroup-item__title { margin: 0 0 4px 0; font-size: 15px; color: #ffffff; }
.subgroup-item__meta { font-size: 12px; color: #888; }
.subgroup-item__arrow { font-size: 20px; color: #555; }
.event-card { display: flex; background-color: #1e1e1e; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.event-card__date-box { background-color: #E50914; color: #ffffff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 15px; min-width: 60px; }
.event-card__month { font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; }
.event-card__day { font-size: 24px; font-weight: bold; line-height: 1; }
.event-card__info { padding: 15px; flex-grow: 1; }
.event-card__title { margin: 0 0 5px 0; font-size: 16px; color: #ffffff; }
.event-card__time, .event-card__location { display: block; font-size: 13px; color: #ccc; margin-bottom: 4px; }
.event-card__actions { display: flex; gap: 10px; margin-top: 15px; }

/* ==========================================
   INLOGGADE MEDLEMMAR
   ========================================== */
.members-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.member-card { background-color: #1e1e1e; border-radius: 12px; position: relative; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.2s; aspect-ratio: 1 / 1; }
.member-card:active { transform: scale(0.95); }
.member-card__image, .member-card__image--placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-card__image--placeholder { background-color: #2a2a2a; display: flex; align-items: center; justify-content: center; font-size: 50px; color: #555; }
.member-card__info { position: absolute; bottom: 0; left: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); padding: 15px 10px 8px 10px; display: flex; flex-direction: column; box-sizing: border-box; text-align: left; }
.member-card__name { font-size: 14px; font-weight: bold; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); }
.member-card__location { font-size: 11px; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-card__online-dot { position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; background-color: #4CAF50; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,0.5); }

/* ==========================================
   NOTISER & HUVUDMENY
   ========================================== */
.notifications-list { display: flex; flex-direction: column; gap: 4px; }
.notification-item { display: flex; align-items: center; padding: 15px; background-color: #1e1e1e; border-radius: 12px; cursor: pointer; transition: background-color 0.2s; }
.notification-item:active { background-color: #2a2a2a; }
.notification-item--unread { background-color: #2a2a2a; border-left: 4px solid #E50914; border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
.notification-item__avatar { width: 40px; height: 40px; border-radius: 50%; margin-right: 15px; object-fit: cover; }
.notification-item__content { display: flex; flex-direction: column; font-size: 14px; color: #e0e0e0; line-height: 1.4; }
.notification-item__content strong { color: #fff; }
.notification-item__time { font-size: 11px; color: #888; margin-top: 4px; }

.main-menu__list { list-style: none; padding: 0; margin: 0; background-color: #1e1e1e; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.main-menu__list li { padding: 16px 20px; border-bottom: 1px solid #2a2a2a; display: flex; align-items: center; font-size: 15px; font-weight: 500; color: #e0e0e0; cursor: pointer; transition: background-color 0.2s; }
.main-menu__list li:hover, .main-menu__list li:active { background-color: #2a2a2a; }
.main-menu__list li:last-child { border-bottom: none; }
.menu-icon { margin-right: 15px; font-size: 20px; width: 24px; text-align: center; }
.menu-item--logout { color: #E50914 !important; font-weight: bold !important; }

/* ==========================================
   VY 21: INSTÄLLNINGAR (KORT & ELEMENT)
   ========================================== */
.settings-card { background-color: #1e1e1e; border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.settings-card__title { margin: 0 0 20px 0; font-size: 18px; color: #ffffff; border-bottom: 1px solid #333; padding-bottom: 10px; }
.settings-alert { padding: 15px; border-radius: 8px; margin-bottom: 15px; font-size: 14px; line-height: 1.4; }
.settings-alert--success { background-color: rgba(76, 175, 80, 0.1); border: 1px solid #4CAF50; color: #a5d6a7; }
.settings-alert--warning { background-color: rgba(255, 152, 0, 0.1); border: 1px solid #FF9800; color: #ffe082; }
.settings-alert--danger { background-color: rgba(244, 67, 54, 0.1); border: 1px solid #F44336; color: #ef9a9a; }

/* ==========================================
   VY 22 & 23: GALLERI & BESÖKARE
   ========================================== */
.gallery-folders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.folder-card { display: flex; flex-direction: column; cursor: pointer; }
.folder-card__cover { position: relative; width: 100%; aspect-ratio: 1 / 1; background-color: #333; border-radius: 8px; background-size: cover; background-position: center; margin-bottom: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.folder-card__count { position: absolute; bottom: 6px; right: 6px; background-color: rgba(0,0,0,0.7); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 10px; font-weight: bold; }
.folder-card__locked { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; font-weight: bold; text-align: center; padding: 5px; box-sizing: border-box; }
.folder-card__title { font-size: 13px; color: #e0e0e0; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.gallery-grid__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; cursor: pointer; }
.gallery-grid__add { width: 100%; aspect-ratio: 1 / 1; border: 2px dashed #444; background-color: transparent; border-radius: 4px; color: #888; font-size: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: color 0.2s, border-color 0.2s; }
.gallery-grid__add:hover { color: #fff; border-color: #888; }

.visitors-locked { position: relative; margin-top: 10px; }
.visitors-locked__blur { filter: blur(4px); opacity: 0.5; pointer-events: none; user-select: none; }
.visitors-locked__overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; text-align: center; padding: 20px; background-color: rgba(30, 30, 30, 0.85); backdrop-filter: blur(10px); border-radius: 12px; border: 1px solid #ffd700; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.visitors-locked__icon { font-size: 32px; margin-bottom: 10px; }

/* ==========================================
   VY 24 & 25: POÄNG & RAPPORTERA
   ========================================== */
.points-balance-box { background-color: #2a2a0a; border: 1px solid #ffd700; border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 25px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.points-balance__label { display: block; font-size: 14px; color: #ccc; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.points-balance__amount { font-size: 36px; font-weight: bold; color: #ffd700; }

.points-packages { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.points-pack { background-color: #1e1e1e; border: 2px solid #333; border-radius: 12px; padding: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; position: relative; transition: border-color 0.2s; }
.points-pack:hover { border-color: #666; }
.points-pack--popular { border-color: #ffd700; background-color: rgba(255, 215, 0, 0.05); }
.points-pack__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background-color: #ffd700; color: #000; font-size: 11px; font-weight: bold; padding: 4px 10px; border-radius: 12px; }
.points-pack__amount { font-size: 18px; font-weight: bold; color: #fff; }
.points-pack__price { font-size: 18px; color: #aaa; }

.report-modal-box { background-color: #1e1e1e; padding: 25px; border-radius: 12px; box-shadow: 0 4px 20 rgba(0,0,0,0.8); }
.report-modal__title { font-size: 18px; color: #fff; }
.report-modal__desc { font-size: 13px; color: #ccc; line-height: 1.4; }
.report-modal__options { display: flex; flex-direction: column; }

/* ==========================================
   CSS FÖR OVERLAY-MENY
   ========================================== */
.main-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Mörkar ner bakgrunden utanför menyn */
    z-index: 2000;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* När menyn är aktiv ändrar vi opacity och tillåter klick */
.main-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.main-menu-container {
    position: absolute;
    top: 0;
    right: -280px; /* Startar utanför skärmen till höger */
    width: 280px;
    height: 100%;
    background-color: #1a1a1a;
    box-shadow: -4px 0 10px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-bottom: 40px;
}

/* När overlayen är aktiv glider container-rutan in */
.main-menu-overlay.active .main-menu-container {
    right: 0;
}

.main-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
    background-color: #121212;
}

.main-menu-close {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
}
.main-menu-close:hover {
    color: #fff;
}

/* ==========================================
   FEATURE CARDS (FÖRDELAR PÅ LANDNINGSSIDAN)
   ========================================== */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 kolumn på mobil */
    gap: 15px;
}

/* Anpassning för lite större skärmar/surfplattor */
@media (min-width: 480px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumner */
    }
}

.feature-card {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid #2a2a2a;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: #444;
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #4CAF50; /* Standardfärg om ingen specifik sätts inline */
}

.feature-title {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.feature-desc {
    color: #aaa;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}