﻿/*.annons-box {
    color: black;
    background-color: #ffffff;
    width: 20vw;
    height: 38vh;
    border-radius: 10%;
    color: inherit;
    text-decoration: none;
  

    display: grid !important;
    grid-template-columns: repeat(5, 4vw) !important;
    grid-template-rows: repeat(19, 2vh) !important;
}
    .annons-box a {
        color: inherit !important;
        text-decoration: none !important;
    }

    .annons-box img {
        grid-row:1/6;
        object-fit: cover;
        border-top-right-radius: 10%;
        border-top-left-radius: 10%;
        box-sizing: border-box;
        grid-column:1/6;
        width:100%;

       
    }



.posts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3vw;
    padding: 0vw 5vw;
    margin:0;
}
.annons-desc {
    display:grid;
    grid-template-columns:repeat(5, 4vw);
    grid-template-rows:repeat(4, 2vh);
    
}
.annons-titel {
    font-family: 'Poppins';
    font-weight: 550;
    grid-column: 1/6;
    grid-row: 15;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annons-value {
    grid-column: 6/6;
    grid-row: 9;
    font-family: 'inter';
    color: #3E3E3E;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2vw;
}

.annons-condition {
    grid-column: 1/3;
    grid-row: 13;
    font-family: 'inter';
    color: #3E3E3E;
    display: flex;
    align-items: center;
    margin-left: 1vh;
}

.annons-location {
    grid-column: 1;
    grid-row: 14;
    font-family: 'inter';
    color: #3E3E3E;
    display: flex;
    align-items: center;
    margin-left: 1vh;
}

.annons-urgency {
    grid-column: 4/6;
    grid-row: 14;
    font-family: 'inter';
    color: #3E3E3E;
    justify-self: center;
}

.annons-date {
    grid-column: 1;
    grid-row: 1;
    font-family: 'inter';
    color: #3E3E3E;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.deck{
    color:white;
    font-family:'Poppins';
}

*/
.deck {
    color: white;
    font-size: 80px;
    font-family: 'Bebas neue';
    align-self: center;
    justify-self: center;
}

.input-row {
    display: flex;
    gap: 20px; /* Avstånd mellan inputs */
    margin-top: 20px;
}

.input-wrapper {
    flex: 1; /* Inputs delar lika på radens bredd */
    display: flex;
    flex-direction: column;
}

/* För att posta foto ska inte ligga i flexbox, så den är kvar som innan */

/* Responsiv: staplar inputs på smal skärm */
@media (max-width: 600px) {
    .input-row {
        flex-direction: column;
    }
}

.form-container {
    max-width: 50vw;
    margin-left: 25vw;
    margin-top: 3vh;
    background-color: #1f1f1f;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    color: white;
    font-family: 'poppins';
}

.form-title {
    text-align: center;
    font-size: 60px;
    margin-bottom: 30px;
    letter-spacing: 7px;
    font-family: 'Bebas neue';
    color:white;
}

.form-label {
    font-size: 20px;
    margin-top: 20px;
    display: block;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background-color: #2a2a2a;
    border: 1px solid #555;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    transition: border 0.3s ease;
}

    .form-input:focus,
    .form-select:focus {
        outline: none;
        border: 2px solid #00C9FF; /* blågrön border */
        background-color: #3b3b3b;
    }

.form-input-file {
    margin-top: 10px;
    color: white;
}

.submit-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-image: linear-gradient(to right, #00C9FF 0%, #92FE9D 51%, #00C9FF 100%);
    background-size: 200% auto;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: 0.5s;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-family: 'poppins';
    font-weight: 600;
    margin-top: 20px;
    justify-self: center;
    align-self: center;
}

    .submit-button:hover {
        background-position: right center;
        color: #fff;
        text-decoration: none;
        transform: scale(1.05);
    }


.file-upload-wrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.custom-file-input {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.custom-file-label {
    display: inline-block;
    background-color: #2a2a2a;
    color: white;
    padding: 12px 20px;
    border: 1px solid #555;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    transition: border 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.custom-file-input:focus + .custom-file-label,
.custom-file-input:hover + .custom-file-label {
    border: 2px solid #4ABF63;
}

.posts-container {
    display: flex;
    
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem;
    background-color: #000;
    text-decoration: none;
    color: inherit;
    margin-bottom: 10vh;
}

.card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    width: 20vw;
    height: 38vh;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit; /* Behåller färgen från föräldern */

    border: none;
    outline: none;
    box-shadow: none;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    }

.card-image {
    width: 20vw;
    height: 25vh;
    object-fit: cover;
    flex-shrink: 0;
}

.card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    margin: 0 0 .5rem;
    color: #333;
    font-weight: 600;
    justify-self: center;
    text-decoration: underline;
    color: black;
    text-decoration-color: #0000EE;
}

.card-meta {
    font-family: 'inter';
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    color: #666;
    margin-bottom: .5rem;
}

.card-text {
    font-size: .95rem;
    color: #444;
    margin-bottom: 1rem;
    flex: 1;
}


.card-footer {
    font-family: 'inter';
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    color: #555;
    margin-top: auto;
    width:100%;
    background-color:white;
}


@media (max-width: 480px) {
    .posts-container {
        flex-wrap: wrap; /* Låter korten radbrytas vertikalt */
        justify-content: center;
        gap: 1.5rem; /* Lite mindre mellanrum på mobilen */
        padding: 1rem;
    }

    .card {
        width: 90%; /* Större kort på mobilen */
        height: auto; /* Anpassar höjd efter innehåll */
        border-radius: 20px;
        margin-bottom: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .card-image {
        width: 100%;
        height: 25vh; /* Anpassad höjd för mobil */
        object-fit: cover;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .card-body {
        padding: 0.75rem;
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-meta, .card-footer {
        font-size: 0.9rem;
    }
}

/*    ----------------------------------------Desc vyn------------------------------ */
.desc-wrapper {
    display: grid;
    grid-template-columns: repeat(20, 5vw);
    grid-template-rows: repeat(20, 5vh);
}

.gray-box {
    grid-column: 6/16;
    grid-row: 3/21;
    background-color: #292929;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
    overflow-y: auto;
}

.desc-photo {
    width: 35vw;
    height: 40vh;
    object-fit: cover;
    border-radius: 10px;
    object-fit: cover;
    grid-column: 5/17;
    grid-row: 4;
    justify-self: center;
    z-index: 2;
}

.desc-titel {
    color: white;
    font-family: 'Poppins';
    grid-column: 7/10;
    grid-row: 13/15;
    align-self: center;
    margin-left: 3.4vw;
    font-weight: 500;
    font-size: 3.5vh;
}

.desc-value {
    color: white;
    font-family: 'Poppins';
    grid-column: 12/15;
    grid-row: 13/15;
    align-self: center;
    justify-self: center;
    font-weight: 600;
    font-size:4vh;
}

.desc-Firstname {
    grid-column: 7;
    grid-row: 15;
    color: white;
    margin-left: 3.3vw;
    font-family: 'poppins';
    margin-top: 3vh;
    font-size: 3.5vh;
    white-space: nowrap;
}

.desc-line1 {
    background-color: #ffffff;
    height: 1px;
    border-radius: 20px;
    grid-column: 7/15;
    grid-row: 14/15;
    width: 35vw;
    display: flex;
    justify-self: center;
    align-self: center;
}

.desc-date {
    color: aliceblue;
    font-family: 'poppins';
    grid-column: 7/11;
    grid-row: 12/13;
    align-self: center;
    justify-self: start;
    color: #D2CFCF;
    margin-left: 3.6vw;
}

.desc-location {
    color: #D2CFCF;
    font-family: 'poppins';
    grid-column: 7/10;
    grid-row: 12/14;
    align-self: center;
    margin-left: 3.6vw;
}

.desc-created-by {
    color: #D2CFCF;
    font-family: 'poppins';
    grid-row: 15;
    grid-column: 7/10;
    justify-self: center;
    align-self: center;
    margin-right: 2vw;
}

.desc-condition {
    color: #FFFFFF;
    font-family: 'poppins';
    grid-column: 7/11;
    grid-row: 16/18;
    display: flex;
    align-items: center;
    margin-left: 3.4vw;
}

.desc-line2 {
    background-color: #ffffff;
    height: 1px;
    border-radius: 20px;
    grid-column: 7/15;
    grid-row: 17;
    width: 35vw;
    display: flex;
    justify-self: center;
    align-self: center;
}

.desc-word {
    color: #D2CFCF;
    font-family: 'poppins';
    grid-column: 7/9;
    grid-row: 18;
    justify-self: center;
    margin-left: 1.5vw;
}


.desc-desc {
    margin-left: 7vh;
    color: white;
    font-family: 'poppins';
    grid-column: 7/14;
    grid-row: 19/21;
    overflow-y: auto;
}



/*------------------------------------------------------------------mobil--------------------------------------------------------*/
@media(max-width: 480px) {
    .desc-wrapper{
        display:none;
    }
    .desc-mobile-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem;
        background-color: #111;
    }

    .desc-card {
        background-color: #1a1a1a;
        border-radius: 15px;
        padding: 1rem;
        color: white;
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }

    .desc-photo {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }

    .desc-title {
        font-size: 5vw;
        margin: 0;
        text-align: center;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
    }

    .desc-value {
        font-size: 4vw;
        text-align: center;
        color: #a6ecff;
    }

    .desc-meta p {
        margin: 0.3rem 0;
        font-size: 3.5vw;
    }

    .desc-description {
        margin-top: 0.5rem;
    }

        .desc-description h3 {
            margin: 0 0 0.3rem 0;
            font-size: 4vw;
        }

        .desc-description p {
            font-size: 3.5vw;
            line-height: 1.4;
        }

    .desc-actions {
        display: flex;
        justify-content: space-around;
        margin-top: 0.5rem;
        gap: 1rem;
    }

        .desc-actions a {
            background-color: #4ABF63;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            text-decoration: none;
            font-size: 3.5vw;
            text-align: center;
            flex: 1;
            transition: background 0.3s;
        }

            .desc-actions a:hover {
                background-color: #34a853;
            }

}
    

/* Endast mobil */
@media(min-width: 769px) {
    .desc-mobile-wrapper {
        display: none;
    }
}

.desc-edit {
    background-image: linear-gradient(to right, #667eea 0%, #764ba2 51%, #667eea 100%);
    text-align: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'poppins';
    font-size: 2.5vh;
    grid-column: 13/14;
    grid-row: 14/16;
    height: 5vh;
    margin-top: 32%;
    border: none;
}

    .desc-edit:hover {
        background-position: right center;
        color: #fff;
        text-decoration: none;
        box-shadow: 0 0 7px #eee;
    }




.desc-delete {
    background-image: linear-gradient(to right, #ff416c 0%, #ff4b2b 51%, #ff416c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    background-size: 200% auto;
    color: white !important;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'poppins';
    font-size: 2.5vh;
    grid-column: 13/14;
    grid-row: 16;
}

    .desc-delete:hover {
        background-position: right center;
        color: #fff;
        text-decoration: none;
        box-shadow: 0 0 7px #eee;
    }


.desc-cid {
    color: white;
    font-family: 'Bebas neue';
    grid-column: 1/21;
    letter-spacing: 2vh;
    font-size: 5vh;
    justify-self: center;
    grid-row: 2/4;
    align-self: start;
}


.desc-message {
    background-image: linear-gradient(to right, #00b09b 0%, #96c93d 51%, #00b09b 100%);
    display: flex;
    align-self: center;
    justify-content: center;
    align-items: center; /* <-- DETTA CENTRERAR TEXTEN VERTIKALT */
    transition: 0.5s;
    background-size: 200% auto;
    color: white !important;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'poppins';
    font-size: 2.5vh;
    grid-column: 13/14;
    grid-row: 15/17;
    height: 5vh;
    width: 8vw;
}s

    .desc-message:hover {
        background-position: right center;
        color: #fff;
        text-decoration: none;
        box-shadow: 0 0 7px #96c93d;
    }


/*
-------------------------------------------------edit---------------------------------------

*/


.styled-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    height: 4vh;
    width: 10vw;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5' viewBox='0 0 10 5'%3E%3Cpath fill='white' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65rem;
    cursor: pointer;
    transition: border 0.3s ease, background 0.3s ease;
    grid-column: 7/11;
    grid-row: 16/18;
    display: flex;
    align-items: center;
    margin-left: 3.2vw;
    margin-top: 2.5vh;
}

    .styled-select:focus {
        outline: none;
        border: 1px solid #00C9FF;
        background: rgba(255, 255, 255, 0.2);
    }

    .styled-select option {
        background: #222;
        color: white;
        border-radius: 30px;
    }

.upload-btn {
    font-family: 'poppins';
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    height: 4vh;
    width: 10vw;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all ease 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    grid-column: 1/21 !important;
    grid-row: 7 !important;
    align-self: center;
    justify-self: center;
    z-index: 3;
}

    .upload-btn:hover,
    .upload-btn:focus {
        border: 1px solid #00C9FF;
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }


.location-div {
    grid-column: 7/10;
    grid-row: 12/14;
    align-self: center;
    margin-left: 3.6vw;
    font-family: 'poppins';
    color: #D2CFCF;
    display: flex; /* gör att elementen ligger på samma rad */
    align-items: center; /* justerar vertikalt i mitten */
    gap: 0.5rem; /* avstånd mellan text och input */
}

.edit-location {
    color: #D2CFCF;
    font-family: 'poppins';
    background-color: transparent;
    border: 1px solid #D2CFCF;
    margin-bottom: 2vh;
    border-radius: 4px;
}

/*
---------------------------------------------------------------------messages-----------------------------------------------------------------------------------------------------------
*/

/* ------------------- CHAT KONTROLLER OCH BAKGRUND ------------------- */

.chat-container-wrapper {
    max-width: 50vw;
    margin: 3rem auto;
    background-color: #1f1f1f; 
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 80vh;
}

.chat-header {
    background-color: #121212;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #333;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
}

.chat-container {
    flex: 1;
    background-color: #252525;
    overflow-y: hidden;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    overflow-y: auto;
}

    /* Scrollbar styling (Chrome, Edge, Safari) */
    .chat-container::-webkit-scrollbar {
        width: 6px;
    }

    .chat-container::-webkit-scrollbar-track {
        background: #1f1f1f;
        border-radius: 3px;
    }

    .chat-container::-webkit-scrollbar-thumb {
        background-color: #555;
        border-radius: 3px;
    }

/* ------------------------ CHATT-BUBBLOR ------------------------ */

.chat-bubble,
.chat-bubble2 {
    display: inline-block;
    max-width: 75%;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    position: relative;
    word-wrap: break-word;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* EGET MEDDELANDE (höger) */
.chat-bubble {
    background-color: #00C9FF;
    color: #121212;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* ANNAT ANVÄNDARES MEDDELANDE (vänster) */
.chat-bubble2 {
    background-color: #3a3a3a;
    color: #eee;
    margin-right: auto;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 16px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

    /* Pil-effekt (triangel) för bubbla */
    .chat-bubble::after,
    .chat-bubble2::after {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
    }

.chat-bubble::after {
    bottom: 0;
    right: -8px;
    border-top: 8px solid #00C9FF;
    border-left: 8px solid transparent;
}

.chat-bubble2::after {
    bottom: 0;
    left: -8px;
    border-top: 8px solid #3a3a3a;
    border-right: 8px solid transparent;
}

/* Namn och tid */
.chat-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: inherit; /* ärvt från bubblan */
    font-family:'Poppins';
}

.chat-text {
    /* Standardtextstil */
    font-family:'inter';
    font-weight:500;
}

.chat-timestamp {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    text-align: right;
    letter-spacing: 0.5px;
}

/* -------------------- FORMULÄR FÖR NYTT MEDDELANDE -------------------- */

.message-form {
    display: flex;
    align-items: center;
    background-color: #171717;
    padding: 0.75rem 1rem;
    font-family:'inter';
    border-top: 1px solid #333;
}

.input-group {
    display: flex;
    width: 100%;
    max-width: 100%;
}

    .input-group input[type="text"] {
        flex: 1;
        padding: 0.75rem 1rem;
        background-color: #2a2a2a;
        border: 1px solid #444;
        border-radius: 20px 0 0 20px;
        color: #eee;
        font-size: 0.95rem;
        outline: none;
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

        .input-group input[type="text"]:focus {
            border-color: #00C9FF;
            background-color: #333;
        }

.send-button {
    background-color: #00C9FF;
    border: none;
    border-radius: 0 20px 20px 0;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family:'poppins';
}

    .send-button:hover {
        background-color: #00a5d1;
    }

    .send-button i {
        color: #121212;
        font-size: 1.2rem;
    }

/* ------------------------ RESPONSIVITET ------------------------ */

@media (max-width: 500px) {
    .chat-container-wrapper {
        margin: 1.5rem 1rem;
    }

    .chat-bubble,
    .chat-bubble2 {
        max-width: 90%;
    }

    .input-group input[type="text"] {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }

    .send-button i {
        font-size: 1rem;
    }
}


    /*-----------------------------------------------------------------------chats----------------------------------------------
*/
.inbox-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem 5rem;
    padding: 2rem;
    background-color: #000;
    justify-content: center; /* centrera korten horisontellt */
}

.conversation-card {
    background-color: #1f1f1f;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    
    flex-direction: column;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    width: 25vw;
}

.conversation-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 201, 255, 0.15), transparent 70%);
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.4s ease;
    z-index: 2;
}

.conversation-card:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite linear;
}

.conversation-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to right, #00c9ff, #a6ecff);
    transition: height 0.4s ease;
    z-index: 1;
    border-radius: 20px;
}

.conversation-card:hover::after {
    height: 100%;
}

.conversation-card * {
    position: relative;
    z-index: 3;
}

.conversation-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 80px rgba(0, 201, 255, 0.7);
    border: none;
}

.conversation-card:hover,
.conversation-card:hover p,
.conversation-card:hover span,
.conversation-card:hover strong {
    color: #000;
}

@keyframes shimmer {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%);
    }
}

.conversation-header {
    text-align: center;
    margin: 1rem 0 0.8rem 0;
}

.cid-label {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    display: inline-block;
    letter-spacing: 0.05em;
    font-family: 'Poppins', sans-serif;
    background-color: #00c9ff;
}

.conversation-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: center;
    height: 100%;
}

.conversation-text {
    flex: 1;
}

.conversation-text p {
    margin: 0.3rem 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.conversation-text p strong {
    color: #00C9FF;
    font-weight: 600;
}

.conversation-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.conversation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Dölj all text utom .cid-label vid hover */
.conversation-card:hover .conversation-text p,
.conversation-card:hover .conversation-text span,
.conversation-card:hover .conversation-text small {
    display: block;
}
