body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    color: #1c1e21;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dddfe2;
    padding-bottom: 1rem;
}

header h1 {
    font-size: 2rem;
    color: #1877f2;
    margin: 0;
}

.search-container {
    display: flex;
    margin-bottom: 1rem;
}

#search-input {
    flex-grow: 1;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #dddfe2;
    border-radius: 6px 0 0 6px;
    outline: none;
}

#search-input:focus {
    border-color: #1877f2;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

#search-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    background-color: #1877f2;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

#search-button:hover {
    background-color: #166fe5;
}

.default-tags {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.default-tags span {
    font-weight: bold;
    color: #606770;
}

.tag-btn {
    background-color: #e7f3ff;
    color: #1877f2;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.tag-btn:hover {
    background-color: #d0e7ff;
}

.results-container {
    margin-top: 1rem;
}

.tweet {
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    transition: box-shadow 0.2s;
}

.tweet:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.tweet-author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.tweet-content {
    flex-grow: 1;
}

.tweet-author-info {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.tweet-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
    line-height: 1.5;
}

.tweet-link {
    display: block;
    margin-top: 0.8rem;
    color: #1877f2;
    text-decoration: none;
    font-weight: bold;
}

.tweet-link:hover {
    text-decoration: underline;
}

.loading-indicator {
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: #606770;
}

.placeholder {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.1rem;
    color: #8a8d91;
    line-height: 1.6;
}