/* Remote Content Plugin Styles */

.remotecontent-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.remotecontent-loading {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.remotecontent-loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: remotecontent-spin 0.8s linear infinite;
}

@keyframes remotecontent-spin {
    to { transform: rotate(360deg); }
}

.remotecontent-error {
    padding: 15px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    color: #991b1b;
    margin: 10px 0;
}

.remotecontent-content {
    width: 100%;
    border: none;
    display: block;
}

.remotecontent-container.loading {
    min-height: 100px;
}

.remotecontent-container.loaded .remotecontent-loading {
    display: none;
}
