/* =========================================================
   GLOBAL SETTINGS
   ========================================================= */

body {
    font-family: "Segoe UI", sans-serif;
    padding: 20px;
    background: #f8f8f8;
    margin: 0;
}

.wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.view-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 20px 0;
}

.view-table td {
    padding: 6px 4px;
    border-bottom: 1px solid #ddd;
}



/* =========================================================
   BLOCK / SECTIONS
   ========================================================= */

.block {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

/* Skrivalne sekcije (helikopter, dodatni podatki…) */
.hidden {
    display: none !important;
}

/* =========================================================
   LABELS & FORM ELEMENTS
   ========================================================= */

label {
    display: block;
    margin: 8px 0 4px;
    font-size: 14px;
    text-align: left !important;
}

input,
select,
textarea {
    width: 100%;
    padding: 6px 10px;
    margin-bottom: 8px;
    box-sizing: border-box;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

/* Checkbox popravki */
input[type="checkbox"] {
    width: auto !important;
    margin: 0 6px 0 0;
    padding: 0;
    accent-color: #b30000; /* Rdeča GRS barva */
}

/* Textarea */
textarea {
    resize: vertical;
}

/* Lepši fokus */
input:focus,
select:focus,
textarea:focus {
    border-color: #b30000;
    outline: none;
    box-shadow: 0 0 2px rgba(179, 0, 0, 0.4);
}

/* =========================================================
   PRISOTNI ČLANI – VRSTICE
   ========================================================= */

.clan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
}

.clan-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px; /* enotna širina leve/dese strani */
}

.clan-label {
    font-size: 12px;
    margin-bottom: 4px;
    text-align: center;
    opacity: 0.8;
}

.clan-name {
    flex-grow: 1;
    font-weight: bold;
    padding-left: 10px;
    font-size: 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.km-input {
    width: 70px;
    text-align: center;
}

input:disabled,
select:disabled,
textarea:disabled {
    background: #eee !important;
    color: #777 !important;
    border-color: #ccc !important;
}


/* =========================================================
   GUMBI
   ========================================================= */

.btn-submit {
    margin-top: 30px;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background: #b30000;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn-submit:hover {
    background: #8a0000;
}

.btn-submit:active {
    background: #660000;
    transform: scale(0.99);
}

.btn-draft {
    margin-top: 30px;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background: #00b318;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn-draft:hover {
    background: #008a07;
}

.btn-draft:active {
    background: #036600;
    transform: scale(0.99);
}


.btn-back {
    display: inline-block;
    padding: 10px 16px;
    background: #ccc;
    color: #333;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    margin-bottom: 20px;
}

.btn-back:hover {
    background: #bbb;
}

.btn-export {
    display: inline-block;
    padding: 10px 16px;
    background: #0066cc;
    color: #fff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin: 10px 0 20px 0;
}

.btn-export:hover {
    background: #004c99;
}