/* Swift Offload Admin Styles */

.swift-offload-offloaded {
    color: #10b981;
    font-weight: bold;
}

.swift-offload-local {
    color: #6b7280;
}

.swift-offload-error {
    color: #ef4444;
}

.swift-offload-warning {
    color: #f59e0b;
}

/* Media library column styles */
.column-swift_offload_status {
    width: 80px;
    text-align: center;
}

/* Admin notices */
.notice.swift-offload-notice {
    border-left-color: #667eea;
}

.notice.swift-offload-notice .notice-title {
    font-weight: 600;
    color: #667eea;
}

/* Loading states */
.swift-offload-loading {
    opacity: 0.6;
    pointer-events: none;
}

.swift-offload-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: swift-offload-spin 1s linear infinite;
}

@keyframes swift-offload-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress bars */
.swift-offload-progress {
    background-color: #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.swift-offload-progress-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 8px;
    transition: width 0.3s ease;
}

/* Status badges */
.swift-offload-status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.swift-offload-status-badge.success {
    background-color: #d1fae5;
    color: #065f46;
}

.swift-offload-status-badge.error {
    background-color: #fee2e2;
    color: #991b1b;
}

.swift-offload-status-badge.warning {
    background-color: #fef3c7;
    color: #92400e;
}

.swift-offload-status-badge.info {
    background-color: #dbeafe;
    color: #1e40af;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .column-swift_offload_status {
        display: none;
    }
}
