﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
}

.navbar .navbar-brand.text-white,
.navbar .navbar-brand.text-white:hover,
.navbar .navbar-brand.text-white:focus {
    color: #fff !important;
}



.loading {
    position: fixed;
    left: 50%;
    top: 50%;
    height: 5%;
}

.card-header .card-title {
    margin-top: 5px;
}

table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgba(96, 180, 141, 0.5);
}

table.dataTable .dt-type-numeric {
    text-align: center !important;
}

.btn-gls {
    background-color: #061AB1 !important;
    width: 100px;
}

.btn-pick {
    width: 100px;
}

    .btn-gls i, .btn-pick i {
        float: left;
    }

div.barcode-border {
    border-color: red !important;
}

.strikethrough div {
    text-decoration: line-through;
}

@media only screen and (max-width: 1000px) {
    body {
        font-size: 1.2rem !important;
    }

    .btn-gls {
        padding: 20px !important;
    }

    .dropdown .btn {
        padding: 20px !important;
    }

    .dropdown .dropdown-item {
        padding: 10px !important;
    }

    .ddl-serienummers {
        padding: 20px !important;
        width: 100%;
        border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;
    }
}

@media (min-width: 576px) {
    .container-sm, .container {
        max-width: 95% !important;
    }
}

@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        max-width: 95% !important;
    }
}

.nav-pills .nav-link {
    border-radius: 999px;
    color: #495057;
    background: transparent;
    border: 1px solid transparent;
}

    .nav-pills .nav-link:hover {
        background: #f1f3f5;
        color: #212529;
    }

    .nav-pills .nav-link.active {
        background: #0d6efd;
        color: #fff;
    }

.admin-detail-fields {
    display: grid;
    gap: 0.75rem;
}

.admin-detail-field {
    border: 1px solid #e6ecf2;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.admin-detail-label {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0.2rem 0.65rem;
    margin: 0.55rem 0.65rem 0;
    border-radius: 999px;
    background: #e7f1ff;
    color: #0b5ed7;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-detail-value {
    padding: 0.45rem 0.75rem 0.7rem;
    color: #1f2937;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.wizard-step.done {
    background: #198754;
    color: white;
    position: relative;
}



.wizard-step.final {
    background: #198754;
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.2);
}

.welcome-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: 1.75rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.55), transparent 28%),
        linear-gradient(135deg, #dff4ea 0%, #f7fbf9 46%, #e8f2ff 100%);
    border: 1px solid rgba(13, 110, 253, 0.12);
}

.welcome-hero__content {
    max-width: 760px;
}

.welcome-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #0d6efd;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.welcome-badge--alt {
    background: #198754;
}

.welcome-hero__title {
    max-width: 14ch;
    margin-bottom: 1rem;
    color: #14324a;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.03;
}

.welcome-hero__intro {
    max-width: 60ch;
    margin-bottom: 1.5rem;
    color: #49657b;
    font-size: 1.05rem;
    line-height: 1.7;
}

.welcome-card {
    border-radius: 1.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.welcome-card--steps {
    background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.welcome-list,
.welcome-steps {
    margin: 0;
    padding-left: 1.2rem;
}

.welcome-list li,
.welcome-steps li {
    margin-bottom: 0.85rem;
    color: #2b3e50;
    line-height: 1.6;
}

.welcome-steps li::marker {
    font-weight: 800;
    color: #0d6efd;
}

/* === WIZARD CONTAINER === */
.wizard-card .card-body {
    overflow: hidden;
}

.wizard-mobile-summary {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.wizard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
}

/* === STEP ITEM === */
.wizard-step-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.wizard-step-wrapper-last {
    flex: 0 0 auto;
}

.wizard-step-link {
    display: inline-flex;
    flex: 0 0 auto;
}

/* === CIRCLE === */
.wizard-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}

/* === LABEL === */
.wizard-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 6px;
    text-align: center;
    width: 80px;
}

/* === LINE === */
.wizard-line {
    height: 2px;
    background: #dee2e6;
    flex: 1;
    min-width: 24px;
    margin: 0 8px;
    transition: all 0.25s ease;
}

/* ========================= */
/* STATES */
/* ========================= */

/* DONE */
.wizard-step.done {
    background: #198754;
    color: white;
}

    .wizard-step.done::after {
        content: "✓";
        font-size: 14px;
    }

/* ACTIVE */
.wizard-step.active {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
}

/* UPCOMING */
.wizard-step.upcoming {
    background: #e9ecef;
    color: #adb5bd;
}

/* LINE STATES */
.wizard-line.done {
    background: #198754;
}

.wizard-line.active {
    background: linear-gradient(to right, #198754, #0d6efd);
}

.wizard a {
    text-decoration: none;
}

.wizard-label-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.65rem;
    color: #6c757d;
    font-size: 0.78rem;
    text-align: center;
}

/* ========================= */
/* HOVER (nice extra UX) */
/* ========================= */

.wizard-step:not(.active):hover {
    transform: scale(1.05);
    cursor: pointer;
}

.wizard a:hover .wizard-step {
    transform: scale(1.1);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {
    .wizard-card .card-body {
        padding: 0.85rem;
    }

    .wizard {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0.2rem 0.05rem 0.55rem;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .wizard-step-wrapper {
        flex: 0 0 58px;
        scroll-snap-align: start;
    }

    .wizard-step-wrapper-last {
        flex-basis: 34px;
    }

    .wizard-label,
    .wizard-label-row {
        display: none;
    }

    .wizard-step {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .wizard-step.active {
        transform: none;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.14);
    }

    .wizard-line {
        min-width: 18px;
        margin: 0 5px;
    }

    .welcome-hero {
        padding: 1.4rem;
        border-radius: 1.25rem;
    }

    .welcome-hero__title {
        max-width: none;
    }
}

/* Customer-facing Maene-inspired styling */
.customer-page {
    --maene-black: #1d1c1c;
    --maene-ink: #232323;
    --maene-muted: #6f6a63;
    --maene-border: #e6dfd3;
    --maene-cream: #f7f3ec;
    --maene-paper: #fffaf2;
    --maene-gold: #b88a44;
    --maene-gold-dark: #946a2f;
    --maene-success: #4f6f52;
    background: var(--maene-cream);
    color: var(--maene-ink);
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.customer-page .navbar {
    background: #fff !important;
    border-bottom: 1px solid var(--maene-border) !important;
    box-shadow: 0 4px 22px rgba(29, 28, 28, 0.07);
}

.customer-page .navbar .container-fluid {
    min-height: 66px;
}

.customer-page .navbar-brand {
    color: var(--maene-black) !important;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.customer-page .navbar .btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.customer-page .navbar .btn-primary,
.customer-page .btn-primary {
    background: var(--maene-black) !important;
    border-color: var(--maene-black) !important;
    color: #fff !important;
}

.customer-page .navbar .btn-primary:hover,
.customer-page .btn-primary:hover,
.customer-page .btn-primary:focus {
    background: var(--maene-gold-dark) !important;
    border-color: var(--maene-gold-dark) !important;
    color: #fff !important;
}

.customer-page .btn-outline-secondary {
    color: var(--maene-black) !important;
    border-color: var(--maene-border) !important;
    background: #fff !important;
}

.customer-page .btn-outline-secondary:hover,
.customer-page .btn-outline-secondary:focus {
    color: #fff !important;
    border-color: var(--maene-black) !important;
    background: var(--maene-black) !important;
}

.customer-page .container {
    max-width: 1180px !important;
}

.customer-page main {
    padding-top: 1.2rem;
}

.customer-page .section-card,
.customer-page .welcome-card,
.customer-page .wizard-card {
    border: 1px solid var(--maene-border) !important;
    border-radius: 0.35rem;
    background: rgba(255, 250, 242, 0.96);
    box-shadow: 0 16px 38px rgba(29, 28, 28, 0.08);
}

.customer-page .card-body {
    color: var(--maene-ink);
}

.customer-page h1,
.customer-page h2,
.customer-page h3,
.customer-page h4,
.customer-page h5,
.customer-page h6 {
    color: var(--maene-black);
    font-weight: 800;
    letter-spacing: 0;
}

.customer-page .text-muted,
.customer-page .form-text {
    color: var(--maene-muted) !important;
}

.customer-page .form-label {
    color: var(--maene-black);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.customer-page .form-control,
.customer-page .form-select {
    min-height: 46px;
    border-color: var(--maene-border);
    border-radius: 0.2rem;
    background-color: #fff;
    color: var(--maene-black);
    font-weight: 500;
}

.customer-page .form-control:focus,
.customer-page .form-select:focus,
.customer-page .form-check-input:focus {
    border-color: var(--maene-gold);
    box-shadow: 0 0 0 0.18rem rgba(184, 138, 68, 0.18);
}

.customer-page .form-check-input:checked {
    background-color: var(--maene-black);
    border-color: var(--maene-black);
}

.customer-page hr {
    border-color: var(--maene-border);
    opacity: 1;
}

.customer-page .welcome-hero {
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
    background:
        linear-gradient(90deg, rgba(29, 28, 28, 0.98) 0%, rgba(29, 28, 28, 0.94) 28%, rgba(29, 28, 28, 0.82) 48%, rgba(29, 28, 28, 0.58) 66%, rgba(29, 28, 28, 0.28) 84%, rgba(29, 28, 28, 0.08) 100%),
        url("../img/verhuisfoto.png") right center / auto 100% no-repeat,
        #211f1d;
    box-shadow: 0 22px 50px rgba(29, 28, 28, 0.18);
}

.customer-page .welcome-hero__content {
    max-width: 760px;
}

.customer-page .welcome-badge {
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customer-page .welcome-badge--alt {
    background: rgba(184, 138, 68, 0.88);
    border-color: rgba(184, 138, 68, 0.88);
}

.customer-page .welcome-hero__title {
    max-width: 16ch;
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 2.375rem);
    font-weight: 800;
    line-height: 1.08;
    text-transform: uppercase;
}

.customer-page .welcome-hero__intro {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.customer-page .welcome-hero__actions .btn-primary {
    background: var(--maene-gold) !important;
    border-color: var(--maene-gold) !important;
    color: #1d1c1c !important;
}

.customer-page .welcome-hero__actions .btn-primary:hover,
.customer-page .welcome-hero__actions .btn-primary:focus {
    background: #d5aa63 !important;
    border-color: #d5aa63 !important;
    color: #1d1c1c !important;
}

.customer-page .welcome-card--steps {
    background: #fff;
}

.customer-page .welcome-list li,
.customer-page .welcome-steps li {
    color: var(--maene-ink);
}

.customer-page .welcome-steps li::marker {
    color: var(--maene-gold);
}

.customer-page .wizard-step {
    background: #f0e8db;
    color: var(--maene-muted);
    border: 1px solid var(--maene-border);
}

.customer-page .wizard-step.done {
    background: var(--maene-success);
    color: #fff;
    border-color: var(--maene-success);
}

.customer-page .wizard-step.active {
    background: var(--maene-black);
    color: #fff;
    border-color: var(--maene-gold);
    box-shadow: 0 0 0 4px rgba(184, 138, 68, 0.18);
}

.customer-page .wizard-step.upcoming {
    background: #f0e8db;
    color: #9c9285;
}

.customer-page .wizard-line {
    background: var(--maene-border);
}

.customer-page .wizard-line.done {
    background: var(--maene-success);
}

.customer-page .wizard-line.active {
    background: linear-gradient(to right, var(--maene-success), var(--maene-black));
}

.customer-page .wizard-label-row {
    color: var(--maene-muted);
    font-weight: 600;
}

.customer-page .alert-warning {
    border-color: rgba(184, 138, 68, 0.36);
    background: #fff8ea;
    color: #6d4b1f;
}

.customer-page .alert-danger {
    border-color: #e2b8b8;
    background: #fff2f2;
    color: #7b2222;
}

@media (max-width: 768px) {
    .customer-page .welcome-hero {
        min-height: 360px;
        padding: 1.4rem;
    }

    .customer-page .welcome-hero__title {
        max-width: none;
    }
}
