* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #292929;
}

.page {
    min-height: 100vh;
    padding: 50px 24px;
}

.container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 36px;
}

.logo {
    width: 150px;
    max-width: 60%;
    height: auto;
    margin-bottom: 18px;
}

.header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.subtitle {
    margin-top: 10px;
    color: #707070;
    font-size: 15px;
}

.card {
    background: white;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.module-card {
    display: block;
    padding: 30px 24px;
    background: white;
    border: 1px solid #eeeeee;
    border-radius: 14px;
    text-decoration: none;
    color: #292929;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease,
                box-shadow 0.15s ease,
                border-color 0.15s ease;
}

.module-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.10);
    border-color: #ff751f;
}

.module-card h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
}

.module-card p {
    margin: 0;
    color: #777777;
    font-size: 14px;
    line-height: 1.5;
}

.module-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #fff1e8;
    color: #ff751f;
    font-size: 22px;
    font-weight: bold;
}

form p {
    margin: 0 0 22px 0;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="file"] {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="file"]:focus {
    outline: none;
    border-color: #ff751f;
    box-shadow: 0 0 0 3px rgba(255, 117, 31, 0.12);
}

button {
    width: 100%;
    padding: 13px 18px;
    border: 0;
    border-radius: 9px;
    background: #ff751f;
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.15s ease,
                transform 0.15s ease;
}

button:hover {
    background: #e96515;
    transform: translateY(-1px);
}

.result {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 10px;
}

.result p {
    margin: 5px 0;
}

.result-success {
    background: #edf8f0;
    border: 1px solid #c8e8cf;
}

.result-error {
    background: #fff0f0;
    border: 1px solid #efcccc;
}

.result-error ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.back-link {
    display: inline-block;
    margin-top: 22px;
    color: #666666;
    font-size: 14px;
    text-decoration: none;
}

.back-link:hover {
    color: #ff751f;
}

.accent {
    color: #ff751f;
}

@media (max-width: 600px) {
    .page {
        padding: 30px 16px;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px 20px;
    }

    .header h1 {
        font-size: 25px;
    }
}

textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    min-height: 300px;

    box-sizing: border-box;
    resize: vertical;

    padding: 12px 13px;

    border: 1px solid #d8d8d8;
    border-radius: 8px;

    background: white;

    font-size: 14px;
    font-family: inherit;
    line-height: 1.4;
}

textarea:focus {
    outline: none;
    border-color: #ff751f;
    box-shadow: 0 0 0 3px rgba(255, 117, 31, 0.12);
}

.picklist-corrections {
    margin-top: 30px;
}

.correction-card {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
}

.correction-card label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
}

.correction-card select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: white;
}

.sku-preview {
    font-size: 14px;
    color: #555555;
}

.picklist-output {
    margin-top: 32px;
}

.picklist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.picklist-header h2 {
    margin-bottom: 4px;
}

.picklist-header p {
    margin: 0;
    color: #777777;
}

.print-button {
    width: auto;
}

.picklist-table {
    width: 100%;
}

.picklist-row {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        75px
        75px
        75px;

    align-items: center;

    min-height: 36px;

    border-bottom: 1px solid #e7e7e7;
}

.picklist-title-row {
    min-height: 40px;
    font-weight: bold;
    color: #ff751f;
    border-bottom: 2px solid #ff751f;
}

.picklist-row > div:not(:first-child) {
    text-align: center;
}

.picklist-sku {
    padding-right: 14px;
    font-size: 13px;
}

.picklist-group-row {
    font-weight: normal;
}

.picklist-group-row .picklist-sku {
    font-weight: normal;
}

.picklist-subrow {
    padding-left: 20px;
}

.picklist-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.picklist-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    border: 1px solid #d8d8d8;
    border-radius: 8px;

    background: white;
    color: #333333;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    cursor: pointer;
}

.reset-button:hover {
    background: #f5f5f5;
}

.home-actions {
    margin-top: 26px;
    text-align: center;
}

.logout-link {
    display: inline-block;
    color: #777777;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.logout-link:hover {
    color: #ff751f;
}

@media print {

    @page {
        size: A4 portrait;
        margin: 12mm;
    }

    body {
        background: white;
        margin: 0;
        padding: 0;
    }

    /* Alles verbergen */
    body * {
        visibility: hidden;
    }

    /* Alleen de picklijst tonen */
    .picklist-output,
    .picklist-output * {
        visibility: visible;
    }

    .picklist-output {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Printknop zelf niet afdrukken */
    .print-button {
        display: none !important;
    }

    .picklist-header {
        margin-bottom: 12px;
    }

    .picklist-header h2 {
        margin: 0;
        font-size: 20px;
    }

    .picklist-header p {
        margin-top: 3px;
        font-size: 11px;
    }

    .picklist-row {
        grid-template-columns:
            minmax(0, 1fr)
            55px
            55px
            55px;

        min-height: 27px;

        page-break-inside: avoid;
        break-inside: avoid;
    }

    .picklist-title-row {
        min-height: 30px;
    }

    .picklist-sku {
        font-size: 10px;
        line-height: 1.2;
    }

    .picklist-row input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .picklist-group-row,
    .picklist-subrow {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .picklist-actions {
    display: none !important;
    }
}
