body {
    font-family: 'Nunito', sans-serif;
}

/* === Login box stilovi === */

.login-box {
    background: white;
    max-width: 400px;
    margin: 80px auto;
    border: 1px solid #ccc;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.login-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #0072BC;
}

.login-box label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
    font-weight: bold;
}

.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.login-box input.bt {
    margin-top: 20px;
    width: 100%;
    background-color: #0072BC;
    color: white;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-box input.bt:hover {
    background-color: #005fa3;
}

.login-box .error-message {
    color: #CC0000;
    background-color: #ffe6e6;
    padding: 10px;
    border: 1px solid #cc0000;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: left;
}

.login-box a {
    color: #0072BC;
    text-decoration: none;
}

.login-box a:hover {
    text-decoration: underline;
}



/* === Moderni izgled kutija i tablica === */

.box {
    background: white;
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.box-title {
    font-size: 20px;
    color: #0072BC;
    margin-bottom: 20px;
    text-align: center;
}

.box-actions {
    text-align: right;
    margin-bottom: 20px;
}

.bt-primary {
    background-color: #0072BC;
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bt-primary::before {
    content: "+ ";
    color: white;
    font-weight: bold;
}
.bt-primary:hover {
    background-color: #005fa3;
}


.year-filter {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.year-filter a {
    color: #0072BC;
    text-decoration: none;
    font-weight: bold;
}
.year-filter a:hover {
    text-decoration: underline;
}
.year-filter strong {
    color: black;
}

.table-list {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table-list th,
.table-list td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.table-list th {
    background-color: #0072BC;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
}

.table-list tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table-list tr:hover {
    background-color: #f1f1f1;
}

.text-muted {
    color: #999;
}

.action-link {
    text-decoration: none;
    font-size: 16px;
    margin: 0 4px;
    display: inline-block;
    color: #333;
}
.action-link:hover {
    color: #0072BC;
}

.pdf-link {
    text-decoration: none;
    color: #0072BC;
    font-weight: bold;
}

.pdf-link:hover {
    text-decoration: underline;
}

.year-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 20px;
}

.year-filter a {
    padding: 5px 10px;
    text-decoration: none;
    font-weight: bold;
    color: #0072BC;
    background: white;
    border: 1px solid #0072BC;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.year-filter a:hover {
    background: #0072BC;
    color: white;
}

.year-filter strong {
    padding: 5px 10px;
    font-weight: bold;
    color: white;
    background: #0072BC;
    border-radius: 4px;
}



/* Stilizirana forma */
.form-container {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    margin: auto;
    margin-top: 20px;
}

.form-container h2 {
    text-align: center;
    color: #0072BC;
    margin-bottom: 15px;
}

/* Grupa elemenata forme */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group select,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

/* Gumb za potvrdu */
.form-actions {
    text-align: center;
    margin-top: 15px;
}

.bt-primary {
    background-color: #0072BC;
    color: white;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.bt-primary:hover {
    background-color: #005fa3;
}

/* File input bolji stil */
input[type="file"] {
    border: 1px solid #ccc;
    padding: 6px;
    background: #fff;
    cursor: pointer;
}

/* Stilizirana forma */
.form-container {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    margin: auto;
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
}

.form-container h2 {
    text-align: center;
    color: #0072BC;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Grupa elemenata forme */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group select,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* File input mora biti punog width-a */
.full-width-input {
    display: block;
    width: 100%;
}

/* Gumbi */
.form-actions {
    text-align: center;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.bt-primary, .bt-secondary {
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.2s ease-in-out;
    text-align: center;
    display: inline-block;
}

.bt-primary {
    background-color: #0072BC;
    color: white;
    border: none;
    cursor: pointer;
}

.bt-primary:hover {
    background-color: #005fa3;
}

.bt-secondary {
    background-color: #ccc;
    color: #333;
}

.bt-secondary:hover {
    background-color: #b0b0b0;
}


