/* --- OPĆE POSTAVKE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #B2DF8A;
    color: black;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* --- KARTICA I KONTEJNER --- */
.container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.card {
    background-color: white;
    width: 100%;
    max-width: 600px;
    padding: 35px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid #33A02C;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

h1 {
    color: #33A02C;
    margin-bottom: 30px;
    text-align: center;
    font-size: 26px;
}

/* --- FORMA STILOVI --- */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

label {
    display: block;
    color: black;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 18px;
}

.input-polje {
    width: 100%;
    padding: 14px;
    border: 2px solid #B2DF8A;
    font-size: 16px;
    outline: none;
}

.input-polje:focus {
    border-color: #33A02C;
}

/* --- DUGME STILOVI --- */
.dugme {
    width: 100%;
    padding: 14px;
    background-color: #33A02C;
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.dugme:hover {
    background-color: #267821;
}

/* --- TABLICA STILOVI --- */
.tablica-wrapper {
    overflow-x: auto;
    width: 100%;
}

.tablica-wrapper table {
    width: 100%;
    min-width: 350px;
    border-collapse: collapse;
    border: 1px solid #33A02C;
}

th {
    background-color: #33A02C;
    color: white;
    padding: 14px;
    text-align: center;
    font-size: 17px;
}

td {
    padding: 14px;
    color: black;
    text-align: center;
    font-size: 16px;
}

tr:nth-child(even) td {
    background-color: rgba(178, 223, 138, 0.3);
}

tr:hover td {
    background-color: #B2DF8A;
    cursor: default;
}

/* --- LINK STILOVI --- */
.back-link {
    display: block;
    width: 100%;
    margin-top: 30px;
    padding: 14px;
    background-color: #33A02C;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.back-link:hover {
    background-color: #267821;
}