/* Unpaused Content Hub Styles */

.unpaused-news-widget,
.unpaused-weather-widget,
.unpaused-crypto-widget,
.unpaused-quotes-widget,
.unpaused-worldclock-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unpaused-news-widget:hover,
.unpaused-weather-widget:hover,
.unpaused-crypto-widget:hover,
.unpaused-quotes-widget:hover,
.unpaused-worldclock-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.unpaused-news-widget h3,
.unpaused-weather-widget h3,
.unpaused-crypto-widget h3,
.unpaused-quotes-widget h3,
.unpaused-worldclock-widget h3 {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* News Widget Styles */
.news-list {
    max-height: 400px;
    overflow-y: auto;
}

.news-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
    line-height: 1.4;
}

.news-item h4 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item h4 a:hover {
    color: #ffd700;
}

.news-item p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    line-height: 1.5;
    opacity: 0.9;
}

.news-item small {
    font-size: 0.8em;
    opacity: 0.7;
    font-style: italic;
}

/* Weather Widget Styles */
.weather-info {
    text-align: center;
    padding: 20px;
}

.weather-city {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
}

.weather-temp {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.weather-desc {
    font-size: 1.1em;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.weather-humidity {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Crypto Widget Styles */
.crypto-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.crypto-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.crypto-name {
    font-weight: 600;
    font-size: 1.1em;
}

.crypto-price {
    font-weight: 700;
    font-size: 1.2em;
    color: #ffd700;
}

.crypto-change {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9em;
}

.crypto-change.positive {
    background: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.crypto-change.negative {
    background: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

/* Quotes Widget Styles */
.quote-content {
    text-align: center;
    padding: 20px;
}

.quote-content blockquote {
    font-size: 1.3em;
    font-style: italic;
    margin: 0 0 15px 0;
    line-height: 1.6;
    position: relative;
}

.quote-content blockquote::before {
    content: '"';
    font-size: 3em;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.quote-content cite {
    font-size: 1em;
    opacity: 0.8;
    font-style: normal;
}

/* World Clock Widget Styles */
.worldclock-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timezone-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timezone-name {
    font-weight: 600;
    font-size: 1em;
}

.timezone-time {
    font-weight: 700;
    font-size: 1.2em;
    color: #ffd700;
    font-family: 'Courier New', monospace;
}

/* Loading and Error States */
.loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    opacity: 0.8;
}

.error {
    text-align: center;
    padding: 20px;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .unpaused-news-widget,
    .unpaused-weather-widget,
    .unpaused-crypto-widget,
    .unpaused-quotes-widget,
    .unpaused-worldclock-widget {
        padding: 15px;
        margin: 15px 0;
    }
    
    .weather-temp {
        font-size: 2.5em;
    }
    
    .quote-content blockquote {
        font-size: 1.1em;
    }
    
    .crypto-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .timezone-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Scrollbar Styling */
.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Animation for loading states */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Hover effects for interactive elements */
.news-item:hover,
.crypto-item:hover,
.timezone-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

/* Additional Widget Styles */

/* Jokes Widget */
.unpaused-jokes-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unpaused-jokes-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.joke-content {
    text-align: center;
    padding: 20px;
}

.joke-content p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.joke-content small {
    font-size: 0.9em;
    opacity: 0.8;
    font-style: italic;
}

/* Facts Widget */
.unpaused-facts-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unpaused-facts-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.fact-content {
    text-align: center;
    padding: 20px;
}

.fact-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.fact-content small {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Trending Widget */
.unpaused-trending-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unpaused-trending-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trending-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.trending-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.trending-number {
    font-weight: 700;
    font-size: 1.2em;
    color: #ffd700;
    min-width: 40px;
}

.trending-topic {
    font-weight: 600;
    font-size: 1.1em;
    flex: 1;
    margin: 0 15px;
}

.trending-count {
    font-weight: 600;
    font-size: 0.9em;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
}

/* Responsive adjustments for new widgets */
@media (max-width: 768px) {
    .trending-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .trending-topic {
        margin: 0;
    }
    
    .joke-content p,
    .fact-content p {
        font-size: 1em;
    }
}

/* RSS Widget */
.unpaused-rss-widget {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rss-container {
    margin-top: 15px;
}

.rss-list {
    max-height: 400px;
    overflow-y: auto;
}

.rss-item {
    display: flex;
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.rss-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.rss-image {
    flex-shrink: 0;
    margin-right: 15px;
}

.rss-image img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.rss-content {
    flex: 1;
}

.rss-content h4 {
    margin: 0 0 8px 0;
    font-size: 0.95em;
    line-height: 1.3;
}

.rss-content h4 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.rss-content h4 a:hover {
    opacity: 0.8;
}

.rss-content p {
    margin: 8px 0;
    font-size: 0.85em;
    opacity: 0.9;
    line-height: 1.4;
}

.rss-categories {
    margin: 8px 0;
}

.category-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    margin-right: 5px;
    margin-bottom: 3px;
}

.rss-date {
    font-size: 0.75em;
    opacity: 0.7;
}

.rss-refresh {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.rss-refresh-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.rss-refresh-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

/* RSS List Widget */
.unpaused-rss-list-widget {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rss-feed-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.rss-feed-item:last-child {
    margin-bottom: 0;
}

.rss-feed-item h4 {
    margin: 0 0 5px 0;
    font-size: 1em;
    color: white;
}

.feed-category {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7em;
    margin-bottom: 10px;
}

.mini-rss-list {
    margin-top: 10px;
}

.mini-rss-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mini-rss-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.mini-rss-item a {
    color: white;
    text-decoration: none;
    font-size: 0.85em;
    line-height: 1.3;
    display: block;
    margin-bottom: 3px;
}

.mini-rss-item a:hover {
    opacity: 0.8;
}

.mini-rss-item small {
    font-size: 0.7em;
    opacity: 0.7;
}

.no-items {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
    font-style: italic;
}

/* Responsive adjustments for RSS widgets */
@media (max-width: 768px) {
    .rss-item {
        flex-direction: column;
    }
    
    .rss-image {
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .rss-image img {
        width: 100%;
        max-width: 200px;
        height: auto;
    }
} 