.error-message {
    background-color: rgba(255, 80, 80, 0.1);
    border-left: 4px solid #ff5050;
    color: #ff3333;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 5px;
    font-size: 14px;
    text-align: left;
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.05);
    position: relative;
    animation: errorShake 0.5s ease-in-out;
}

.error-message::before {
    content: "⚠️";
    margin-right: 8px;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}