/* 推送通知相关样式 */
.push-notification-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.push-notification-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.push-notification-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.push-notification-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

#push-notification-toggle {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

#push-notification-toggle:hover {
    background: #005a87;
    transform: translateY(-1px);
}

#push-notification-toggle.subscribed {
    background: #dc3232;
}

#push-notification-toggle.subscribed:hover {
    background: #a02622;
}

#push-notification-status {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

#push-notification-status.active {
    color: #46b450;
}

.push-notification-message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
    display: none;
}

.push-notification-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.push-notification-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.push-notification-message.info {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b8daff;
}

.push-test-button {
    background: #f0f0f1;
    color: #2c3338;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 13px;
    margin-left: 10px;
}

.push-test-button:hover {
    background: #e9e9ea;
}

/* 不支持通知的浏览器样式 */
.push-notification-unsupported {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .push-notification-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #push-notification-toggle {
        width: 100%;
        text-align: center;
    }
}

/* 管理员设置页面样式 */
.push-notification-admin-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    margin-bottom: 20px;
}

.push-notification-admin-section h3 {
    margin-top: 0;
    color: #23282d;
}

.push-notification-statistics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.push-notification-stat-card {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    border-left: 4px solid #0073aa;
}

.push-notification-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    display: block;
}

.push-notification-stat-label {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}