/* =========================================================
   ===== REPORT PAGE FIX (FORM + PROGRESS)
   ========================================================= */

/* container */
.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================================================
   ===== PROGRESS BAR (STABLE)
   ========================================================= */

.progress-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0 34px;
}

.pm-step {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pm-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8edf5;
    color: #6f7f95;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.pm-step.active .pm-circle {
    background: #1A3F78;
    color: #fff;
}

.pm-step.done .pm-circle {
    background: #4caf50;
    color: #fff;
}

.pm-label {
    margin-top: 8px;
    font-size: 13px;
    color: #244a86;
}

.pm-line {
    width: 130px;
    height: 2px;
    background: #dfe6f0;
    margin: 0 8px;
    position: relative;
    top: -18px;
}

.pm-line.done {
    background: #4caf50;
}

/* =========================================================
   ===== FORM LAYOUT
   ========================================================= */

.form-section {
    margin-top: 25px;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row > * {
    flex: 1;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 12px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* inputs full width */
.form-row input,
.form-row select,
.grid-2 input,
.grid-3 input,
.grid-4 input,
.grid-2 select,
.grid-3 select,
.grid-4 select {
    width: 100%;
}

/* =========================================================
   ===== LABEL SPACING (DE FIX)
   ========================================================= */

label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
}

/* =========================================================
   ===== INPUTS
   ========================================================= */

input,
textarea,
select {
    width: 100%;
    max-width: 100%;
}

/* kleinere velden */
input.short { max-width: 180px; }
input.medium { max-width: 260px; }

/* textarea */
textarea.large {
    height: 200px;
    resize: vertical;
}

/* =========================================================
   ===== INLINE CHECKBOX
   ========================================================= */

.inline-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inline-check input {
    width: auto;
}

/* =========================================================
   ===== SECTION TITLES
   ========================================================= */

.section-title {
    font-weight: 700;
    font-size: 15px;
    color: #1A3F78;
    margin-bottom: 10px;
}

/* =========================================================
   ===== CARDS
   ========================================================= */

.card {
    margin-bottom: 10px;
}

.card > * + * {
    margin-top: 6px;
}

/* =========================================================
   ===== FILE INPUT
   ========================================================= */

input[type="file"] {
    padding: 6px;
}

/* =========================================================
   ===== RESPONSIVE
   ========================================================= */

@media (max-width: 760px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}

/* =========================================================
   ===== TIMELINE
   ========================================================= */

.timeline-item {
    display: flex;
    margin-bottom: 14px;
    border: 1px solid #e2e8f3;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.timeline-bar {
    width: 10px;
}

.timeline-content {
    flex: 1;
    padding: 10px 12px;
}

.timeline-header {
    font-size: 12px;
    color: #546579;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f3;
}

.timeline-body {
    font-size: 14px;
    margin-top: 6px;
}


/* ===== UTC / LOCAL TOGGLE ===== */

.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #cbd5e1;
    transition: .2s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: white;
    transition: .2s;
    border-radius: 50%;
}

.switch input:checked + .slider {
    background: #1A3F78;
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.time-label{
    color:#6b7280;
    font-weight:400;
    transition:all .15s ease;
}

.time-label.active{
    color:#1d4ed8;
    font-weight:700;
}