/* Bigg Boss 19 News Fetcher - Updated CSS */
.bb19-news-container {
    max-width: 1200px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    padding: 0 15px;
}

.bb19-main-heading {
    text-align: center;
    color: #e91e63;
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 2px solid #ffeb3b;
    padding-bottom: 10px;
}

.bb19-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.bb19-news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bb19-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.bb19-news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bb19-news-title {
    font-size: 18px;
    margin: 0 0 12px;
    color: #333;
    line-height: 1.4;
    font-weight: bold;
}

.bb19-news-excerpt {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.bb19-news-meta {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
}

.bb19-footer {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-style: italic;
    font-size: 14px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.bb19-no-news {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #888;
    border: 1px solid #eee;
    grid-column: 1 / -1;
}

/* Social media rumor styling */
.bb19-social-rumor {
    border-left: 4px solid #ff6b6b;
    background-color: #fff9f9;
}

.bb19-social-tag {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .bb19-news-grid {
        grid-template-columns: 1fr;
    }
    
    .bb19-main-heading {
        font-size: 24px;
    }
}

/* Refresh button styling */
.bb19-refresh-btn {
    background: #e91e63;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin: 10px 0;
    transition: background 0.3s;
}

.bb19-refresh-btn:hover {
    background: #c2185b;
}

.bb19-refresh-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Loading animation */
.bb19-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(233, 30, 99, 0.3);
    border-radius: 50%;
    border-top-color: #e91e63;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Admin test section styling */
.bb19-test-section {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.bb19-test-section h2 {
    margin-top: 0;
    color: #333;
}

/* Alert messages */
.bb19-alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin: 15px 0;
    font-weight: 500;
}

.bb19-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bb19-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}