* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #e1e1e1;
    padding: 20px;
}

.tweet-container {
    width: 500px;
    margin: 0 auto;
    border: 1px solid #2f3336;
    border-radius: 0;
    overflow: hidden;
    background-color: #000000;
}

.tweet {
    width: 100%;
    display: flex;
    gap: 0px;
    padding: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
}

.tweet-content {
    flex-grow: 1;
    width: calc(100% - 60px);
}

.tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.display-name {
    font-weight: 700;
    font-size: 15px;
    margin-right: 4px;
    color: #fff;
}

.user-handle, .tweet-time {
    color: #71767b;
    font-size: 15px;
    font-weight: 400;
}

.user-handle {
    margin-right: 4px;
}

.dot-separator {
    color: #71767b;
    margin: 0 4px;
}

.more-options {
    margin-left: auto;
    color: #71767b;
    font-size: 18px;
}

.tweet-text {
    font-size: 15px;
    line-height: 1.3;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.tweet-actions {
    display: flex;
    justify-content: space-between;
    max-width: 425px;
    margin-top: 4px;
}


/* Twitter Card Styling (similar to Discord) */
.platform-card {
    position: relative;
    overflow: hidden;
    background-color: var(--surface-2) !important;
    border: none;
    padding: 0 !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: var(--primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.twitter-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/twitter_preview_background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    transform: scale(1.1);
    opacity: 0.2;
    z-index: 0;
}

.platform-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    background-color: transparent;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.platform-card .platform-name {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}
/* Add this to match Discord card spacing */
.twitter-card .preview-container {
    position: relative;
    z-index: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* Keep the existing gap override */
#preview-container-twitter {
    gap: 38px;
}

.platform-card .preview-description {
    color: rgba(255, 255, 255, 0.7);
}

/* Twitter specific container styling */
.notification-container,
.tweet-container {
    background-color: #000000;
    border-radius: 8px;
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 500px;
}.action-button {
    display: flex;
    align-items: center;
    color: #71767b;
    font-size: 13px;
}
.action-icon {
    margin-right: 6px;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
}
.action-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: middle;
    filter: invert(55%) sepia(10%) saturate(341%) hue-rotate(182deg) brightness(94%) contrast(92%);
}


/* Add new size classes */
.icon-small {
    width: 14px !important;
    height: 14px !important;
}
.icon-large {
    width: 37px !important;
    height: 37px !important;
}
.action-button:hover .action-icon img {
    filter: none;
}
.action-count {
    margin-left: 2px;
}
.action-button:hover {
    color: #1d9bf0;
}
.action-button:hover .action-icon svg path {
    fill: #1d9bf0;
}

/* Twitter Notification Styles */
.notification-container {
    width: 500px;  /* Match tweet-container width */
    margin: 0 auto;
    border-bottom: 1px solid #2f3336;
    padding: 12px 0px;
    background-color: #000000;
}

.notification {
    display: flex;
    align-items: flex-start;
}

.icon-container {
    position: relative;
    width: 32px;
    margin-right: 12px;
    flex-shrink: 0;
}

.heart-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 6px;
    left: 38px;
}

/* Notification avatar specific styles to not interfere with tweet avatar */
.notification-text .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    top: -2px;
    left: 16px;
    border: 2px solid #000000;
}

.notification-content {
    flex-grow: 1;
    padding-left: 20px;
}

.notification-text {
    font-size: 15px;
    font-weight: 400;
    color: #e7e9ea;
    line-height: 1.3;
    margin-bottom: 4px;
}

.notification-detail {
    font-size: 14px;
    color: #71767b;
    line-height: 1.3;
}