
/* Clean modern admin panel */

body {
    margin:0;
    padding:0;
    font-family: Arial, sans-serif;
    background:#f5f2e9;
    color:#2f2b24;
}

/* HEADER */
header {
    background:#3b352a;
    color:#f5f2e9;
    padding:15px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 6px rgba(0,0,0,0.3);
}

.logo {
    font-size:22px;
    font-weight:bold;
}
.logo span { color:#d9b15c; }

nav a {
    margin-left:18px;
    color:#f5f2e9;
    text-decoration:none;
    font-size:14px;
    opacity:0.9;
}
nav a:hover { opacity:1; text-decoration:underline; }

/* MAIN WRAPPER */
.main {
    max-width:1200px;
    margin:30px auto;
    padding:0 20px;
}

/* PANEL */
.panel {
    background:#fcfaf4;
    border-radius:10px;
    border:1px solid #ddd1b5;
    padding:25px;
    box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

/* INTRO TEXT */
.intro {
    font-size:14px;
    line-height:1.5;
    margin-bottom:20px;
}

/* GRID FOR CARDS ON ADMIN HOMEPAGE */
.admin-grid {
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
    gap:20px;
    margin-top:25px;
}

/* ADMIN CARDS */
.admin-card {
    display:block;
    background:#fffdf7;
    padding:20px;
    border-radius:8px;
    border:1px solid #e0d4bd;
    box-shadow:0 2px 6px rgba(0,0,0,0.07);
    text-decoration:none;
    color:#2f2b24;
    transition:0.2s;
}
.admin-card:hover {
    background:#f3ece0;
    box-shadow:0 3px 8px rgba(0,0,0,0.12);
}

.admin-card h3 {
    margin-top:0;
    font-size:18px;
    margin-bottom:10px;
}

.admin-card p {
    margin:0;
    font-size:14px;
    opacity:0.85;
}

/* TABLES (lista nalaza, korisnika) */
table {
    width:100%;
    border-collapse:collapse;
    margin-top:15px;
    background:#fffdf7;
    font-size:14px;
}

th, td {
    padding:8px 10px;
    border-bottom:1px solid #e0d4bd;
    text-align:left;
}

thead th {
    background:#f0e2c8;
    border-bottom:2px solid #d3c19d;
}

tr:nth-child(even) td {
    background:#f9f4e8;
}

/* small button links */
.btn-small {
    display:inline-block;
    padding:4px 9px;
    border-radius:4px;
    background:#b49367;
    color:#fff !important;
    text-decoration:none;
    font-size:12px;
}
.btn-small:hover {
    background:#9b7f56;
}

/* messages, errors if needed */
.message {
    padding:10px 12px;
    border-radius:6px;
    margin-bottom:15px;
    font-size:13px;
}

.message-ok {
    background:#e3f6dd;
    border:1px solid #8bbf7c;
}

.message-error {
    background:#fde3e3;
    border:1px solid #e19999;
}

/* login box can reuse .panel but smaller width */
.login-box {
    max-width:420px;
    margin:60px auto;
}
