/* ========== RESET I OSNOVNI STILOVI ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ========== PORUKE (MESSAGES) ========== */
.messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    list-style: none;
    max-width: 400px;
}

.messages li {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.messages .success {
    background-color: #2ecc71;
}

.messages .error {
    background-color: #e74c3c;
}

.messages .warning {
    background-color: #f39c12;
}

.messages .info {
    background-color: #3498db;
}

/* ========== PUSH ANIMACIJA NA GUMBIMA ========== */
@keyframes btn-press {
    0%   { transform: scale(1)    translateY(0);   box-shadow: inherit; }
    40%  { transform: scale(0.93) translateY(2px); box-shadow: inset 0 3px 5px rgba(0,0,0,0.18); }
    100% { transform: scale(1)    translateY(0);   box-shadow: inherit; }
}

.btn-click-anim {
    animation: btn-press 0.22s ease forwards !important;
    transition: none !important;
}
