/* Layout */
body { background: transparent; margin-top: 10px; }
.container { max-width: 800px; }

/* Polja */
label { color: #333333; }
.form-control { border: 1px solid #ced4da; border-radius: 4px; color: #111111; }
.form-control:focus { border-color: #0072B5; box-shadow: none; }
.custom-control-label { color: #333333; }

/* Gumb */
.btn-send, .btn-next { display: inline-block; font-size: 18px; line-height: 2em; border: none; padding: 0 40px; margin-bottom: 20px; box-shadow: none; outline: none; background-color: #28a745; color: #ffffff; border-radius: 4px; cursor: pointer; }
.btn-send:hover, .btn-send:active, .btn-send:focus,
.btn-next:hover, .btn-next:active, .btn-next:focus { background-color: #218838; color: #ffffff; opacity: 1; }

/* Checkbox */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before { background-color: #0072B5; border-color: #0072B5; }

/* Greške */
.help-block.with-errors { color: #cc0000; }

/* File upload */
.custom-file-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.custom-file-label::after { content: "Dodaj"; }
.custom-file { display: flex; align-items: center; }
.input-group-append { flex-shrink: 0; }

/* Drag & drop */
#drag-and-drop-area { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 60px; border: 2px dashed #ccc; border-radius: 4px; text-align: center; color: #999; }
#drag-and-drop-area.dragover { background-color: #e0f7fa; border-color: #999; }
#drag-and-drop-area.uploaded { background-color: #e0ffe0; border-color: #0072B5; }

/* ======= ANKETA ======= */
.survey-section { margin-bottom: 20px; }
.survey-question { font-weight: 500; margin-bottom: 10px; color: #333333; }

/* Zvjezdice */
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-rating input { display: none; }
.star-rating label { font-size: 28px; color: #ddd; cursor: pointer; transition: color 0.15s, transform 0.15s; line-height: 1; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #f5a623; }
.star-rating label:hover { transform: scale(1.2); }
.star-rating label::before { content: '\2605'; }

/* Rating item row */
.rating-item { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.rating-item .rating-label { min-width: 140px; color: #333333; font-size: 14px; }

/* Choice radio */
.survey-choice .custom-control { margin-bottom: 6px; }

/* Step indicator */
.step-indicator { display: flex; gap: 8px; margin-bottom: 20px; }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; transition: background 0.3s; }
.step-dot.active { background: #0072B5; }
