.Admin-Besked-CSS {
    color: #dc3545 !important; 
    font-weight: bold;
    background-color: #f8d7da;
    padding: 0.125rem 0.375rem;
    border-radius: 0.1875rem;
}

.Samtale-Form {
        width: calc(100% - 2.1875rem);
        background: #f0f8ff;
        padding: 0.9375rem;
        margin-bottom: 1.25rem;
        border-radius: 0.3125rem;
        border: 0.0625rem solid #d1e7ff;
}

.Samtale-Form h3 {
        margin-top: 0;
        color: #1976d2;
}

.Bruger-Besked-CSS {
    color: #007bff !important;
    font-weight: bold;
    background-color: #e7f3ff;
    padding: 0.125rem 0.375rem;
    border-radius: 0.1875rem;
}

.hidden {
    display: none !important;
}

.Container-Samtale-List {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-bottom: 4.375rem;
    max-height: calc(100vh - 16.875rem);
    position: relative;
    overflow: hidden;
}

.Enkelt-Samtale-i-List, 
.Samtale-List {
    overflow: auto;    
}

.Enkelt-Samtale-i-List {
    min-height: 5rem; 
    padding: 0.75rem 0;
    border-bottom: 0.0625rem solid #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.Enkelt-Samtale-i-List:hover {
    background-color: #f0f0f0;
}

.Enkelt-Samtale-i-List.aktiv {
    background-color: #e3f2fd;
    border-left: 0.25rem solid #2196f3; 
}

.Samtale-Titel {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.3125rem;
}

.Samtale-Overskrift {
    padding: 0.9375rem 0.9375rem;
    min-height: 3.125rem;
    cursor: pointer;
    background: #f9f9f9;
    border-bottom: 0.0625rem solid #e0e0e0;
}

.Samtale-MetaInfo {
    font-size: 0.85em;
    color: #666;
}

.Samtale-Status {
    margin-top: 0.9375rem;
    float: right;
    font-size: 0.75em;
    padding: 0.125rem 0.5rem;
    border-radius: 0.75rem;
    margin-left: 0.625rem;
}

.Afventer-Status {
    background-color: #fff3cd;
    color: #856404;
    border: 0.0625rem solid #ffeaa7;
}

.Besvaret-Status {
    background-color: #d4edda;
    color: #155724;
    border: 0.0625rem solid #c3e6cb;
}

.Lukkede-Status {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 0.0625rem solid #e9ecef;
}

.Slettet-Status {
    background-color: #f8d7da;
    color: #721c24;
    border: 0.0625rem solid #f5c6cb;
}

.Beskeder-Container {
    height: 25rem;
    overflow-y: auto;
    border: 0.0625rem solid #eee;
    padding: 0.625rem;
    margin-bottom: 0.625rem;
    background: white;
}

.Enkelt-Besked {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.0625rem solid #f0f0f0;
}

.Beksed-BrugerNavn {
    font-weight: bold;
    color: #333;
}

.Samtale-FormList {
    width: calc(100% - 0.9375rem);
    margin-top: 0.9375rem;
    padding: 0.625rem;
    background: #f5f5f5;
    border-radius: 0.3125rem;
}

.Samtale-FormList input[type="text"],
.Samtale-FormList textarea, 
.Samtale-Svar-Form textarea {
    width: calc(100% - 0.9375rem);
    padding: 0.5rem;
    height: 10.75rem;
    margin-bottom: 0.625rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.25rem;
    resize: none;
}

.Samtale-FormList button {
    padding: 0.5rem 0.9375rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    margin-right: 0.3125rem;
}

.Samtale-FormList button:hover {
    background: #0056b3;
}

.Samtale-FormList button.secondary {
    background: #6c757d;
}

.Samtale-FormList button.secondary:hover {
    background: #545b62;
}

.Samtale-FormList button.danger {
    background: #dc3545;
}

.Samtale-FormList button.danger:hover {
    background: #c82333;
}

.blocked-warning {
    background-color: #ffebee;
    color: #c62828;
    padding: 0.9375rem;
    text-align: center;
    border: 0.0625rem solid #ffcdd2;
    margin-bottom: 1.25rem;
    border-radius: 0.3125rem;
}

.admin-controls {
    background-color: #e8f5e9;
    padding: 0.625rem;
    margin: 0.625rem 0;
    border-radius: 0.3125rem;
    z-index: 1000;
    border: 0.0625rem solid #c8e6c9;
}

.LukTraadBesked {
    background: #f8f9fa;
    padding: 0.75rem 0;
    border-radius: 0.3125rem;
    margin-top: 0.9375rem;
    text-align: center;
}

.Besked-Overskrift {
    margin-bottom: 0.3125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.Besked-Tid {
    color: #666;
    font-size: 0.8em;
    margin-left: auto;
    margin-right: 0.625rem;
}

.delete-message-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.125rem 0.5rem;
    border-radius: 0.1875rem;
    font-size: 0.8em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.delete-message-btn:hover {
    background: #c82333;
}

.Besked-Indhold {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.25rem;
    margin: 0.3125rem 0;
    word-wrap: break-word;
}

.Samtale-OpenIndhold {
    max-height: calc(100vh - 16.875rem); 
    overflow-y: visible;
}

.Samtale-OpenIndhold.hidden {
    display: none;     
}

.Samtale-Spoegsmaal {
    background: #f8f9fa;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    margin-bottom: 0.9375rem;
}

.Samtale-Enkelt-Svar {
    padding: 0.625rem;
    border-bottom: 0.0625rem solid #eee;
    margin-bottom: 0.625rem;
}

.Samtale-Svar-Form {
    margin-top: 0.9375rem;
    padding-top: 0.9375rem;
    border-top: 0.0625rem solid #ddd;
    margin: 0.625rem 0;
}

.Samtale-Svar-Container {
    max-height: 29.375rem;
    overflow-y: auto;
    margin-bottom: 0.9375rem;
}

.Samtale-Overskrift:hover {
    background-color: #f0f0f0;
}

.Lille-Knap-CSS {
    padding: 0.125rem 0.5rem;
    border: none;
    border-radius: 0.1875rem;
    cursor: pointer;
    font-size: 0.9em;
    background: #f0f0f0;
    text-decoration: none;
    color: #333;
    display: inline-block;
}

.Lille-Knap-CSS:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

.Bruger-Navigation {
    display: flex;
    gap: 0.625rem;
    padding: 0.9375rem 1.25rem;
    background: #f5f5f5;
    border-bottom: 0.0625rem solid #ddd;
    width: 100%;
    box-sizing: border-box;
}

.Bruger-Navigation button {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1em;
    color: #333;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.button {
    padding: 0.5rem 0.9375rem;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: #545b62;
}

.fullscreen-container {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh !important;
        background: white;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
        padding: 0;
}

.fullscreen-content,
.container-visning-samtale {
        display: block;
        padding: 1.25rem;
        max-width: none;
        width: 100%;
        margin: 0;
        box-sizing: border-box;
}

.fullscreen-luk-knap {
        position: sticky;
        top: 0.625rem;
        right: 0.625rem;
        float: right;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        padding: 0.3125rem 0.9375rem;
        z-index: 10000;
        color: #333;
}

.fullscreen-luk-knap:hover {
        color: #000;
}

.Lille-Knap-CSS {
        margin: 0.125rem;
        flex: 1;
        text-align: center;
}
