/* Reset i osnovno */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
}

body {
    display: flex;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    height: 100vh;
    background-color: #f3f4f6;
}

/* Kontejner za formu */
.container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

/* Naslov */
h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Polja */
label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border 0.3s;
}

input:focus {
    border-color: #2563eb;
    outline: none;
}

select {
    width: 100%;
    padding: 0.6rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    font-size: 1rem;
    transition: border 0.3s;
}

select:focus {
    border-color: #2563eb;
    outline: none;
}


/* Gumb */
button {
    width: 100%;
    padding: 0.6rem;
    background-color: #2563eb;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1d4ed8;
}

/* Link */
a {
    display: inline-block;
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Poruke */
.message {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: #e0f2fe;
    color: #0369a1;
    border-radius: 6px;
    text-align: center;
}

.sidebar {
    width: 220px;
    height: 100vh;
    background-color: #1e293b;
    color: white;
    padding: 2rem 1rem;
    height: 100vh;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.sidebar h2 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-align: center;
}

.sidebar a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: #334155;
    color: white;
}

.content {
    flex: 1;
    padding: 2rem;
    background-color: #f9fafb;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    border: 1px solid #000000;
    padding: 0.6rem;
    text-align: left;
}

th {
    background-color: #f3f4f6;
}

tr:nth-child(even) {
    background-color: #f9fafb;
}

.status-active {
    color: green;
    font-weight: bold;
}

.status-suspended {
    color: red;
    font-weight: bold;
}

