.account-list::after {  /* Adressleiste auf Smartphones berücksichtigen */
    content: '';
    display: block;
    height: 40px;
}

.account-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}
.account-card-link:hover {
    text-decoration: none;
}

.account-card-link p {
    text-decoration: none;
}

.account-card {
    display: flex;
    flex-direction: column;
    align-items: left;
    padding: 15px;
    margin: 0;
    margin-bottom: 20px;
    border-radius: 15px;
    background-color: var(--secondary-background-color);
    border: 1px solid var(--secondary-background-color);
    text-align: left;
    position: relative;
    min-height: 170px;
    padding-bottom: 65px;
}

.account-card-link:hover .account-card {
    border: 1px solid var(--primary-color-hover);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.account-card-header {
    display: flex;
    margin-bottom: 10px;
    width: 100%;
    overflow: hidden;
}

.account-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0px 15px 0px 10px;
    border: solid 2px #777;
}

.account-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 100%;
}

.display-name {
    font-weight: bold;
    font-size: 1.4rem;
    margin: 0;
    padding-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 360px;
    display: block;
}

.handle {
    font-size: 0.75rem;
    color: #ccc;
    margin: 0;
    margin-top: -5px;
}

.server-handle {
    font-size: 0.75em;
    color: white;
    background-color: #45596d;
    padding: 0.1em 0.5em;
    margin-left: 0.2em;
    border-radius: 7px;
    display: inline;
}

.account-card-content {
    margin-bottom: 10px;
}

.note {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;

    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.note p {
    padding: 0;
    margin: 0;
}

.account-card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    text-align: center;
    padding: 10px;
    padding-top: 5px;
    margin: 0 15px;
    color: #aaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 15px 15px;

}

.follower-count,
.last-post {
    text-align: center;
    flex-direction: column;
    align-items: center;
    color:#ccc;
}

.line2 {
    color: white;
}

.qr-code-button {
    background-color: transparent;
    color: var(--background-color);
    padding: 5px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 50%;
    border: solid 0px var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: background-color 0.3s, box-shadow 0.3s ease;
}

.qr-code-button:hover {
    background-color: var(--primary-color-hover);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.qr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* QR-Popup */
.qr-popup {
    position: relative;
    background: var(--secondary-background-color);content: '';
    display: block;
    height: 20px; /* Höhe des zusätzlichen Platzes */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #ffffff;
    max-width: 90%;
    width: 300px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Schließen-Button */
.close-popup {
    background-color: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    border-radius: 50%;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 15px;
    right: 15px;
    transition: background-color 0.3s, box-shadow 0.3s ease;
}

.close-popup:hover {
    background-color: rgb(255, 99, 71);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: none;
}

/* QR-Code-Container */
.qr-code-container {
    margin: 20px auto;
}

.qr-handle {
    margin-bottom:20px;
    font-size: 1rem;
    color: #cccccc;
    text-align: center;
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.qr-server-handle {
    font-size: 0.75em;
    color: white;
    background-color: #45596d;
    padding: 0.1em 0.5em;
    margin-left: 0.2em;
    border-radius: 7px;
    display: inline-block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.qr-popup canvas {
    border: 2px solid #45596d;
    border-radius: 10px;
    padding: 10px;
    background-color: var(--background-color);
}