/**
 * Стили для функционала скриншотов Watson Builder
 *
 * @package Watson_Builder
 */

/* Стили для уведомлений о создании скриншотов */
.watson-notification {
    position: fixed;
    bottom: 30px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 300px;
    font-family: 'Roboto', sans-serif;
}

.watson-notification.screenshot-loading {
    background-color: #f5f5f5;
    border-left: 4px solid #000;
    color: #333;
}

.watson-notification.screenshot-loading:before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #000;
    border-left-color: transparent;
    border-radius: 50%;
    margin-right: 10px;
    animation: watson-spinner 1s linear infinite;
    vertical-align: middle;
}

.watson-notification.screenshot-success {
    background-color: #e8f5e9;
    border-left: 4px solid #4CAF50;
    color: #2e7d32;
}

.watson-notification.screenshot-error {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #c62828;
}

@keyframes watson-spinner {
    to { transform: rotate(360deg); }
}
