﻿body {
    margin: 0;
    padding: 0;
}
/*
Inloggning*/
.Inloggning {
    display: grid;
    grid-template-columns: 35% 65%;
    height: 100vh;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background-color: #282A2D;
    padding: 12px;
    border-radius: 12px;
    width: fit-content;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #444;
}

.info-comment {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.comment-username {
    background-color: #323539;
    padding: 6px 10px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    width: fit-content;
}

.comment-text {
    background-color: #1A1C1E;
    padding: 10px;
    border-radius: 10px;
    color: #ddd;
    max-width: 100%;
}

.Inloggning-vanster {
    background: #24282b;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.8px);
    -webkit-backdrop-filter: blur(4.8px);
    border: 1px solid rgba(122, 147, 170, 0.26);
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    font-family: Optimistic, "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 20px;
    background: #24282b;
}

.remove {
    transition: 2s ease-out;
}

    .remove:hover {
        color: red;
        transition: 0.67s ease-in;
    }

.Inloggning-top {
    display: flex;
    justify-content: center;
    align-items: center;
}

.comment-toogle {
    background-color: #282A2D;
    color: white;
    border: none;
}

.like-btn {
    background-color: #282A2D;
    color: white;
    border: none;
}

    .like-btn:hover {
        transition: 1s ease-out;
        transform: scale(1.2);
    }

.addfriend {
    background-color: #1A1C1E;
    color: white;
    border: 1px solid grey;
    border-radius: 8px;
    transition: 0.5s ease-out;
}

    .addfriend:hover {
        background-color: #1A1C1E;
        color: #ffeeed;
        border: 1px solid #ffeeed;
        border-radius: 8px;
        transition: 0.5s ease-in;
    }



.Ukat {
}

.Ukat {
    position: relative;
    display: inline-block;
}

#ukat-panel {
    position: absolute;
    top: 100%;
    left: 80%;
    background-color: #282A2D;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px;
    min-width: 160px;
    z-index: 999;
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-top: 4px;
}

.Ukat-button {
    height: 3.7vh;
    margin-left: 45vw;
    width: 5vw;
    border-radius: 10px;
    background-color: #323539;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 0.0676767px solid #DBDBDB;
    transition: 2s ease-out;
}

.ukat-option {
    text-decoration: none;
    height: 20vh;
    width: 10vw;
    background-color: red;
    margin-left: 20vw;
}

.ukat-text {
    text-decoration: none;
    color: white;
}

.Inloggning-mid {
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    padding-left: 100px;
}

.input-box {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-top: 15px;
    gap: 0.75vh;
}

    .input-box input {
        padding: 12px 15px;
    }

.input-login {
    padding: 14px;
    border-radius: 15px;
    border: 1px solid #26282A;
    background-color: #282A2D;
    font-size: 14px;
    margin-bottom: 12px;
    transition: 0.2s;
    color: white;
    height: 2vh;
}

    .input-login:focus {
        outline: none;
        border-color: #ff0000;
        color: black;
        background: white;
        box-shadow: 0 0 0 3px rgba(122,167,255,0.2);
    }

.input-createpost {
    border-radius: 22px;
    padding: 8px;
    border: 1px solid #26282A;
    outline: none;
    height: 3.5vh;
    background-color: #282A2D;
    color: white;
}

    .input-createpost:hover {
        border: 2px solid #1A1C1E;
        cursor: text;
        transition: 0.1s;
        background-color: #282A2D;
    }

input[type="submit"] {
    border-radius: 40px;
    padding: 10px 20px;
    border: 1px solid #26282A;
    margin-top: 20px;
    background-color: #282A2D;
    color: #FFFFFF;
    cursor: pointer;
    width: 15vw;
    margin-left: 30px;
    height: 45px;
    font-family: Optimistic, "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skapa-konto {
    border-radius: 40px;
    padding: 10px 10px;
    border: 1.5px solid #1A1C1E;
    margin-top: 20px;
    background-color: #323539;
    color: #FFFFFF;
    cursor: pointer;
    width: 14.2vw;
    margin-left: 30px;
    height: 30px;
    font-family: Optimistic, "Segoe UI Historic", "Segoe UI", Helvetica, Arial, sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
}

p {
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
}

/*////////////////*/






/*
input [type="text"],
input[type="password"],
input[type="number"]
*/


/*/////section/////*/

.feed {
    display: flex;
    flex-direction: column;
    margin-top: 4vh;
    margin-left: 16vw;
}

.post-card {
    display: flex;
    width: 34vw;
    flex-direction: column;
    padding: 20px;
    border-radius: 5px;
    margin-top: 3vh;
    background-color: #282A2D;
    margin-left: 4vw;
}

.post-header {
    display: flex;
    align-items: flex-start;
    color: white;
    width: 34vw;
}

.post-header-info {
    width: 27vw;
    display: flex;
    flex-direction: column;
}

.post-namn {
    font-size: 15px;
    font-family: Inter;
    color: #FFFFFF;
}

.post-datum {
    color: #9CA3AF;
    font-family: Inter;
    font-size: 13px;
}

.post-text {
    font-family: Inter;
    font-size: 13px;
    color: #A0A5AB;
    margin-top: 20px;
}

.post-profilebild {
    width: 57px;
    height: 57px;
    border: 1px solid #5a6f89;
    border-radius: 50%;
    margin-right: 20px;
}

.post-actions {
    color: white;
    background-color: #282A2D;
    width: 32vw;
}

.post-image {
    width: 100%;
    max-width: 34vw;
    height: 100%;
    background-color: #282A2D;
    object-fit: cover;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    width: 300px;
}

.item {
    width: 33vw;
    height: 33vh;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
    margin: 0;
    background-color: #1A1C1E;
}

.topbar {
    display: grid;
    grid-template-columns: 10vw 65vw 25vw;
    align-items: center;
    height: 7.4vh;
    background-color: #282A2D;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 0.000067676767px solid red;
}

.topbar-left {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.topbar-left-icon {
    width: 65px;
    height: auto;
    object-fit: cover;
}

.topbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.topbar .logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-family: "Inknut Antiqua";
    font-size: 24px;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 0;
    text-decoration: none;
    transition: 120s ease-out;
}

    .logo-text:hover {
        font-family: "Inknut Antiqua";
        font-size: 24px;
        letter-spacing: 1px;
        color: red;
        margin-bottom: 0;
        text-decoration: none;
        transition: 0.3s ease-in;
    }

.profile-link {
    text-decoration: none;
}

.topbar-center {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 16px;
}

.nav-kat {
    padding: 14px;
    margin-left: 50px;
    width: 9.9vw;
    border-radius: 999px;
    background-color: #323539;
    color: white;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    border: 0.0676767px solid rgba(255,255,255,0.08);
    transition: 2s ease-out;
}

    .nav-kat:hover {
        padding: 14px;
        margin-left: 50px;
        width: 9.9vw;
        border-radius: 999px;
        background-color: #323539;
        color: red;
        text-decoration: none;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        border: 0.0676767px solid red;
        transition: 0.3s ease-in;
    }


/*    .nav-pill.active {
        background-color: rgba(40, 60, 90, 0.8);
    }
*/
.topbar-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    height: 100%;
    width: 100%;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid white;
    background-color: #1A1C1E;
    margin-left: 26.5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 120s ease-out;
}


    .avatar:hover {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 1.5px solid red;
        background-color: #1A1C1E;
        margin-left: 26.5vw;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in;
    }

.avatar-icon {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background-color: #c4c4c4;
}

.topbar-search {
    width: 17.3vw;
    padding: 8px 16px;
    border-radius: 999px;
    border: 0.000676767767676px solid rgba(255,255,255,0.08);
    background-color: #282A2D;
    outline: none;
    font-size: 13px;
    height: 3vh;
    color: white;
    transition: 2s ease-out;
}

    .topbar-search:hover {
        width: 17.3vw;
        padding: 8px 16px;
        border-radius: 999px;
        border: 0.000676767767676px solid red;
        background-color: #282A2D;
        outline: none;
        font-size: 13px;
        height: 3vh;
        transition: 0.8s ease-in;
    }

/*/////Sidebar/////*/

/* ===== SIDEBAR ===== */

.sidebar {
    height: calc(100vh - 60px);
    width: 12vw;
    z-index: 999;
    background-color: #1A1C1E;
    position: fixed;
    padding: 16px 12px;
    left: 0;
    top: 60px;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    transition: border-color 0.15s ease;
}

    .sidebar:hover {
        border-right: 1px solid rgba(255,255,255,0.18);
        transition: border-color 0.15s ease;
    }

.sidebar-top {
    width: 100%;
    background-color: #282A2D;
    border-radius: 10px;
    display: flex;
    border: 1px solid rgba(255,255,255,0.06);
    flex-direction: column;
    gap: 1px;
    padding: 10px;
    margin-top: 3vh;
}

    .sidebar-top:hover {
        border: 1px solid rgba(255,255,255,0.13);
        transition: border-color 0.15s ease;
    }

.sidebar-users {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

    .sidebar-user:hover {
        background: rgba(255,255,255,0.06);
    }

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #3a3d42;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-avatar-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
    color: #e8eaed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-subtitle {
    font-size: 11px;
    color: #888;
    margin-top: 1px;
}

.sidebar-mid {
    width: 100%;
    background-color: #282A2D;
    border-radius: 10px;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255,255,255,0.06);
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    height: 15vh;
    margin-top: 1px;
    margin-top: 4vh;
}

    .sidebar-mid:hover {
        border: 1px solid rgba(255,255,255,0.13);
        transition: border-color 0.15s ease;
    }

.sidebar-mid-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 8px;
    background-color: transparent;
    color: #b0b4bb;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

    .sidebar-mid-button:hover {
        background: rgba(255,255,255,0.07);
        color: #e8eaed;
    }

.sidebar-mid-icons {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 0;
}

.sidebar-bot {
    margin-top: auto;
    width: 100%;
    background-color: #282A2D;
    border-radius: 10px;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255,255,255,0.06);
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    height: auto;
}

    .sidebar-bot a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 10px;
        border-radius: 8px;
        color: #888;
        font-size: 13px;
        text-decoration: none;
        transition: background 0.15s ease, color 0.15s ease;
    }

        .sidebar-bot a:hover {
            background: rgba(220,60,60,0.12);
            color: #f07070;
        }

/* ===== LAYOUT ===== */
.layout {
    display: flex;
    min-height: 100vh;
    background-color: #0f1011;
    padding-top: 60px;
}

/* ===== FEED ===== */
.feed {
    margin-left: 15vw;
    flex: 1;
    max-width: 680px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/*////////Skapa Konto Spalt////////*/
body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    background: #1A1C1E;
}


.LoginPage {
    display: flex;
    min-height: 100vh;
}



.LoginLeft {
    flex: 1;
    background: #1A1C1E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

    .LoginLeft img {
        width: 300px;
        height: auto;
        margin-right: -50px;
    }

    .LoginLeft h1 {
        font-size: 72px;
        font-weight: 900;
        color: white;
        margin-bottom: -20px;
        letter-spacing: 2px;
        margin-left: -20px;
    }

    .LoginLeft p {
        font-size: 16px;
        color: #9CA3AF;
        font-style: italic;
        margin-left: -40px;
    }


.LoginRight {
    width: 420px;
    background: #24282b;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    border-left: 1px solid #e5e7eb;
}

.LoginLogo {
    width: 50px;
    margin-bottom: 25px;
}

.LoginTitle {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    border: 2px solid #26282A;
}

.LoginForm {
    display: flex;
    flex-direction: column;
}

.LoginInput {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #26282A;
    background-color: #282A2D;
    font-size: 14px;
    margin-bottom: 12px;
    transition: 0.2s;
    color: white;
}

    .LoginInput:focus {
        outline: none;
        border-color: #ff0000;
        color: black;
        background: white;
        box-shadow: 0 0 0 3px rgba(122,167,255,0.2);
    }



.LoginButton {
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #323539;
    color: white;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

    .LoginButton:hover {
        background: #5574e0;
    }


.LoginOutline {
    margin-top: 12px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #6b8cff;
    background: white;
    color: #6b8cff;
    font-weight: 600;
    cursor: pointer;
}

.LoginLink {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #6b7280;
}

    .LoginLink a {
        color: #6b8cff;
        text-decoration: none;
        font-weight: 500;
    }

/*//Skapa Inlägg spalt HAMSE - /*/

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    padding: 44px;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-window {
    background: #282A2D;
    width: 35vw;
    padding: 40px;
    border-radius: 85px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}

    .popup-header h3 {
        color: #CD1C18;
        font-size: 16px;
        font-weight: 600;
        margin: 0;
    }

.popup-window input,
.popup-window textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 2.5px solid rgba(255,255,255,0.1);
    background: #1e2023;
    color: #e0e0e0;
    font-size: 14px;
    font-family: inherit;
    outline: none;
}

    .popup-window input:focus,
    .popup-window textarea:focus {
        border-color: #5a6f89;
    }


.popup-window textarea {
    resize: vertical;
    min-height: 90px;
}

    .popup-window input::after placeholder,
    .popup-window textarea::after placeholder {
        color: #555;
    }

.post-btn {
    background: #5a6f89;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-size: 18px;
}

    .post-btn:hover {
        background: #6e85a0;
    }

.close-btn {
    cursor: pointer;
    font-size: 20px;
    color: #888;
    background: none;
    border: none;
    line-height: 1;
}

    .close-btn:hover {
        color: #e0e0e0;
    }





.VIEWPTEXT {
    color: #e0e0e0;
}


/* ===== DIREKTMEDDELANDE ===== */

.dm-layout {
    display: flex;
    height: calc(100vh - 60px);
    margin-top: 60px;
    background-color: #1A1C1E;
}

.dm-sidebar {
    width: 220px;
    background-color: #24282b;
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    overflow-y: auto;
    flex-shrink: 0;
}

.dm-sidebar-header {
    color: #e8eaed;
    font-size: 14px;
    font-weight: 600;
    padding: 0 16px 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
}

.dm-friend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    color: #b0b4bb;
    font-size: 14px;
    transition: background 0.15s ease;
}

    .dm-friend-item:hover {
        background: rgba(255,255,255,0.06);
        color: #e8eaed;
    }

    .dm-friend-item.active {
        background: rgba(255,255,255,0.1);
        color: #ffffff;
    }

.dm-friend-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dm-friend-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chat area */
.dm-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #1A1C1E;
}

.dm-chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background-color: #24282b;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dm-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.dm-chat-name {
    color: #e8eaed;
    font-size: 16px;
    font-weight: 600;
}

/* Messages */
.dm-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dm-empty {
    color: #888;
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

.dm-message {
    display: flex;
    flex-direction: column;
    max-width: 60%;
}

.dm-message-mine {
    align-self: flex-end;
    align-items: flex-end;
}

.dm-message-theirs {
    align-self: flex-start;
    align-items: flex-start;
}

.dm-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.dm-message-mine .dm-bubble {
    background-color: #CD1C18;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.dm-message-theirs .dm-bubble {
    background-color: #282A2D;
    color: #e8eaed;
    border-bottom-left-radius: 4px;
}

.dm-time {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
    padding: 0 4px;
}

/* Input area */
.dm-input-area {
    display: flex;
    gap: 10px;
    padding: 16px 24px;
    background-color: #24282b;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.dm-input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #1A1C1E;
    color: #e8eaed;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

    .dm-input:focus {
        border-color: #CD1C18;
    }

.dm-send-btn {
    padding: 10px 20px;
    background-color: #CD1C18;
    color: white;
    border: none;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

    .dm-send-btn:hover {
        background-color: #a81510;
    }

/* DM-link i sidebar på Index */
.dm-link {
    color: #5a6f89;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.15s;
}

    .dm-link:hover {
        color: #CD1C18;
    }

.liked {
    color: #CD1C18;
}

/*viewprofile*/

.viewprofile {
    max-width: 680px;
    margin: 24px auto;
    padding: 0 16px;
    margin-top: 15vh;
}

.viewprofile-background {
    height: 60px;
    background: #282A2D;
    border-radius: 12px 12px 0 0;
    border: 1px solid rgba(255,255,255,0.08);
}

.viewprofile-header {
    background-color: #282A2D;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 0 24px 20px;
    margin-bottom: 16px;
}

.viewprofile-avatar-rad {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: -36px;
    margin-bottom: 12px;
}

.viewprofile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #1A1C1E;
    object-fit: cover;
}

.viewprofile-add-btn {
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #CD1C18;
    background: transparent;
    color: #CD1C18;
    font-size: 13px;
    cursor: pointer;
}

.viewprofile-name {
    font-size: 20px;
    font-weight: 500;
    color: #e8eaed;
    margin-bottom: 2px;
}

.viewprofile-username {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 10px;
}

.viewprofile-stats {
    display: flex;
    gap: 24px;
}

.viewprofile-stat {
    font-size: 13px;
    color: #9CA3AF;
}

    .viewprofile-stat span {
        font-weight: 500;
        color: #e8eaed;
    }

.vp-section {
    font-size: 11px;
    font-weight: 500;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.vp-post {
    background-color: #282A2D;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.vp-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.vp-post-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.vp-post-meta {
    flex: 1;
}

.vp-post-name {
    font-size: 14px;
    font-weight: 500;
    color: #e8eaed;
}

.vp-post-date {
    font-size: 12px;
    color: #9CA3AF;
}

.vp-post-badge {
    font-size: 11px;
    background: #1A1C1E;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 2px 8px;
    color: #9CA3AF;
}

.vp-post-text {
    font-size: 14px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.vp-post-actions {
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 10px;
}

.vp-action {
    font-size: 13px;
    color: #9CA3AF;
    cursor: pointer;
    transition: color 0.2s;
}

    .vp-action:hover {
        color: #CD1C18;
    }

/* ===== Trending ställe JOHAN ===== */

.trending-panel {
    width: 14vw;
    min-width: 180px;
    max-width: 220px;
    position: fixed;
    right: 1.5vw;
    top: calc(60px + 24px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-card {
    background-color: #282A2D;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.15s ease;
}

    .trending-card:hover {
        border-color: rgba(255,255,255,0.16);
    }

.namn {
    color:white;
}

.kat-buttons {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.kat-btn {
    flex: 1;
    padding: 10px;
    background: #2a2a2a;
    color: #ccc;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

    .kat-btn:hover {
        background: #333;
        color: white;
    }

    .kat-btn.selected {
        border-color: #e63946;
        color: white;
        background: #3a1a1a;
    }




.active
.trending-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #CD1C18;
}

.trending-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trending-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.trending-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trending-username {
    font-size: 13px;
    font-weight: 500;
    color: #e8eaed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-date {
    font-size: 11px;
    color: #888;
}

.trending-titel {
    font-size: 13px;
    font-weight: 600;
    color: #e0e0e0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-info {
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.5;
}

.trending-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 8px;
}

.trending-likes {
    font-size: 12px;
    color: #888;
}

.feed--profile {
    max-width: none;
    width: calc(85vw - 60vw);
}

    .feed--profile .viewprofile {
        max-width: 50%;
        margin: 0;
    }
