body {
    font-family: sans-serif;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.tweet-thread {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 16px;
    margin: 16px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}
.tweet-author {
    font-size: 14px;
    margin: 0 0 8px 0;
    display: flex;
    flex-direction: row;
    gap: 4px;
    max-width: max-content;
}
.author-avatar {
    height: 1.6em;
    width: 1.6em;
    border-radius: 0.5em;
    display: inline-block;
    vertical-align: middle;
}
.author-name {
    font-weight: bold;
}
.author-username {
    color: #657786;
}
.author-verified {
    background: url('assets/verified.svg');
    height: 1.3em;
    width: 1.3em;
    display: inline-block;
    vertical-align: middle;
}
.tweet-parent {
    border-bottom: 1px solid #e1e8ed;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.tweet-content {
    font-size: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tweet-text {
    line-height: 1.5;
    white-space: pre-line;
}
.tweet-media {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}
.tweet-media-item {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tweet-quote {
    border: 1px solid #ccd6dd;
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    background-color: #f5f8fa;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.icon {
    height: 1.6em;
    width: 1.6em;
    display: inline-block;
    vertical-align: middle;
}
.icon-heart.filled {
    fill: #F91880
}
.tweet-metadata {
    font-size: 12px;
    color: #657786;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}
.tweet-interactions {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.tweet-interaction {
    display: flex;
    flex-direction: row;
    gap: 2px;
}



/* Styling for tweet media (images) */

.tweet-poll {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    background-color: #f5f8fa;
}

.tweet-poll-option {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px dashed #e1e8ed;
}

.tweet-poll-option:last-child {
    border-bottom: none;
}

.poll-option-label {
    flex-grow: 1;
    font-size: 14px;
    color: #333;
}

.poll-option-votes {
    font-weight: bold;
    font-size: 14px;
    color: #000;
}
