/* style.css */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: sans-serif;
    background: #2c3e50;
    color: white;
}

/* Navbar stil - Uklonjeno jer se kontroliše u header.php radi preciznosti */
.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3498db;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    margin-left: 10px;
    transition: 0.3s;
}

.menu a:hover {
    background: transparent;
    color: #3498db;
}

/* Zajednički kontejner za sadržaj */
.main-content {
    display: flex;
}

#sidebar {
    width: 360px;
    height: calc(100vh - 60px);
    background: transparent;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

#map {
    flex: 1;
    height: calc(100vh - 60px);
    background: #ddd;
}

/* Tabele i forme */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 10px;
}

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

th {
    background: transparent;
}

.btn-restart {
    width: 100%;
    padding: 10px;
    background: #e67e22;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 4px;
}

.input-group {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    min-width: 0;
}

.btn-add {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 2px;
    font-weight: bold;
}

.btn-delete {
    color: #e74c3c;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}