/* Additional styles for API integration */

.loading-posts {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border: 1px solid #f5c6cb;
}

.loading-message {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border: 1px solid #bee5eb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    border: 1px solid #c3e6cb;
}

/* Like button styles */
.like-btn i.liked {
    color: #e91e63 !important;
}

.like-btn:hover i {
    color: #e91e63;
}

/* API status indicator */
.api-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1000;
}

.api-status.connected {
    background-color: #28a745;
    color: white;
}

.api-status.disconnected {
    background-color: #dc3545;
    color: white;
}

/* Message container styles */
#messageContainer {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10000 !important;
    pointer-events: none !important;
}

.message {
    pointer-events: auto !important;
    margin-bottom: 0.5rem !important;
}
