:root {
    --bs-primary: #198754;
    --bs-secondary: #6c757d;
    --bs-success: #2ecc71;
    --bs-body-color: #1b4332;
}
.opis {
    height: 300px;
    position: relative;
}

.opis .btn {
    position: absolute;
    bottom: 5px;
}

nav {
    background-color: #629460;

}
.card-header, .card-footer, .bg-success {
    background-color: #c9f2c7 !important;
}
.bg-pola{
    background-color: #fd7e14; 
}
.card-header-danger {
    background-color: #f92171;
}
.sredina{
    background-color: #c9f2c7;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    height: 100%;
    margin: 0;
}
body.loading::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
}
select, button {
    padding: 8px;
    font-size: 16px;
    margin-right: 10px;
}
#editor-container {
    height: 80vh;
    border: 1px solid #ccc;

}
.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: black;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
.dropdown button:hover {
    background-color: #3e8e41;
}

.editor-card {
    border-radius: 12px;
    overflow: hidden;
}



.rezultat-badge {
    padding: 4px 8px;
    border-radius: 6px;
    color: white;
    font-size: 13px;
}

.ok { background: #28a745; }
.wa { background: #dc3545; }
.tle { background: #fd7e14; }
.rte { background: #e83e8c; }

#loader {
    display: none;
    position: fixed;
    top: 40%;
    left: 45%;
    z-index: 1000;
}

