body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #121212;
    color: #e5e5e5;
}

.container {
    max-width: 70%;
    margin: auto;
    background: #1e1e1e;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

h1, h2 {
    color: #58a6ff;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #e5e5e5;
}

hr {
    background-color: #333;
    height: 1px;
    border: none;
    margin-bottom: 20px;
}

label .fa, .fa-regular {
    margin-right: 8px;
    color: #58a6ff;
}

input[type="text"], input[type="email"], input[type="date"], select, textarea {
    width: 100%;
    padding: 10px;
    background-color: #2b2b2b;
    border: 1px solid #444;
    border-radius: 6px;
    color: #e5e5e5;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus,
select:focus, textarea:focus {
    outline: none;
    border-color: #58a6ff;
    background-color: #262626;
}

textarea {
    resize: none;
    font-family: 'Segoe UI', sans-serif;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #58a6ff;
    margin-right: 10px;
}

.term {
    color: #ccc;
    font-weight: normal;
}

.section {
    border: 1px solid #333;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #1a1a1a;
}

.child-section {
    border: 1px solid #333;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    background-color: #1a1a1a;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}

.row .form-group {
    flex: 1 0 46%;
}

.row .form-group.d {
    flex: 1 0 30%;
}

@media (max-width: 999px) {
    .row .form-group {
        flex: 1 0 100%;
    }

    .container {
        max-width: 100%;
    }
}

button, input[type="submit"] {
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

button:hover, input[type="submit"]:hover {
    background-color: #005f99;
}

button:active, input[type="submit"]:active {
    background-color: #004c7a;
}

button:disabled, input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.otvoriModal {
    background-color: #3461f3;
}

.otvoriModal:hover {
    background-color: #1b368b;
}

.posalji {
    width: 100%;
    margin-top: 10px;
}

.responsive-div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #1e1e1e;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    color: #e5e5e5;
}

.text {
    color: #58a6ff;
    font-weight: bold;
}

.odlomak {
    font-weight: bold;
    margin-bottom: 10px;
    color: #58a6ff;
}

/* Radio buttons */
.radio-inline {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.radio-inline input[type="radio"] {
    display: none;
}

.radio-inline label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    font-weight: normal;
    color: #e5e5e5;
}

.radio-inline label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border: 2px solid #58a6ff;
    border-radius: 50%;
    background-color: transparent;
}

.radio-inline input[type="radio"]:checked + label::before {
    background-color: #58a6ff;
}

.radio-inline label::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: white;
    transition: transform 0.2s;
}

.radio-inline input[type="radio"]:checked + label::after {
    transform: translateY(-50%) scale(1);
}
/* ============================== */
/* 🔷 HEADER DARK MODE STIL */
/* ============================== */

.dark-header {
    background: #1e1e1e;
    border-bottom: 1px solid #2b2b2b;
    padding: 16px 0;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand {
    color: #58a6ff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sub {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 3px;
}

.nav-right a {
    color: #58a6ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-right a:hover {
    color: #82c7ff;
}

/* Mobile */
@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
