* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f7f9f9;
    min-height: 100vh;
}

.centre {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
}

.compose-wrapper {
    width: 540px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tweet-card {
    background: white;
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-picture {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.textbox {
    flex-grow: 1;
    font-size: 18px;
    border: none;
    outline: none;
    color: #0f1419;
}

.textbox::placeholder {
    color: #536471;
}

.tweet-button {
    background-color: rgb(29, 155, 240);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 0 18px;
    height: 38px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.tweet-button:hover {
    background-color: rgb(26, 140, 216);
}

.tweet-button:active {
    transform: scale(0.97);
}

/* Feed */
.feed-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.posted-tweet {
    background: white;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.tweet-header {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 14px;
}

.tweet-header .name {
    font-weight: 700;
    color: #0f1419;
}

.tweet-header .handle {
    color: #536471;
}

.tweet-body {
    font-size: 15px;
    color: #0f1419;
    line-height: 1.4;
    margin-bottom: 12px;
    word-break: break-word;
}

.tweet-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    background: transparent;
    border: none;
    color: #536471;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    padding: 4px 6px;
    border-radius: 6px;
}

.action-btn:hover {
    color: rgb(29, 155, 240);
}

.like-btn:hover,
.like-btn.liked {
    color: #f91880 !important;
}

.repost-btn:hover {
    color: #00ba7c !important;
}

.delete-btn:hover {
    color: #e0245e !important;
}
