/**
 * Public styles for Ballard Plugin
 *
 * Minimal utility styles used by public.js (messages, form errors).
 * Template/component styling belongs in the theme.
 *
 * @package Ballard_Plugin
 */

/* Transient messages (used by ClientPluginPublic.showMessage) */
.ballard-plugin-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.ballard-plugin-message.show {
    opacity: 1;
    transform: translateY(0);
}

.ballard-plugin-message-success {
    border-left: 4px solid #46b450;
}

.ballard-plugin-message-error {
    border-left: 4px solid #dc3232;
}

/* Form validation errors */
.ballard-plugin-public-form .error {
    border-color: #dc3232;
}

.ballard-plugin-public-form .error-message {
    display: block;
    color: #dc3232;
    font-size: 0.85em;
    margin-top: 4px;
}
