/* ==================== LOGIN FORMA ==================== */

/* Kontejner cele forme */
.login-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 380px;              /* forma nije preširoka */
    text-align: center;
}

/* Naslov unutar forme */
.login-form h2 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Polja za unos – jedno ispod drugog */
.login-form input[type="text"],
.login-form input[type="password"] {
    display: block;
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 1rem;           /* razmak između polja */
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form input:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
}

/* Dugme za prijavu */
.login-form button {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    margin-top: 0.5rem;
    background: #4361ee;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.1s;
    /* Blagi 3D efekat */
}

.login-form button:hover {
    background: #3a56d4;
}

.login-form button:active {
    transform: translateY(2px);
}

/* Poruka o grešci */
.login-form .error {
    color: #dc3545;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}