/* Budget Party's Retourportal — Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@600;700;800&display=swap');

.bp-retour-wrap {
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Nunito', sans-serif;
}

/* ── Header ────────────────────────────────────────── */
.bp-retour-header {
    background: #0c3336;
    border-radius: 16px 16px 0 0;
    padding: 20px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 3px solid #f5e800;
    margin-bottom: 0;
}
.bp-retour-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.5));
    mix-blend-mode: normal;
}
.bp-retour-header-title {
    margin-top: 10px;
    font-family: 'Fredoka One', cursive;
    font-size: 20px;
    color: #f5e800;
    text-shadow: 0 2px 0 rgba(0,0,0,.3);
}

/* ── Notices ───────────────────────────────────────── */
.bp-retour-notice {
    padding: 12px 16px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 0;
}
.bp-retour-notice--success {
    background: #e6f8ee;
    border-left: 4px solid #1a7a45;
    color: #0c3336;
}
.bp-retour-notice--error {
    background: #fff2f2;
    border-left: 4px solid #b02020;
    color: #6a1010;
}

/* ── Shared inner panel ────────────────────────────── */
.bp-retour-orders-title,
.bp-retour-success h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    color: #0c3336;
    margin: 20px 0 6px;
}
.bp-retour-orders-sub {
    color: #5a8070;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

/* ── Order list ────────────────────────────────────── */
.bp-retour-order-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bp-retour-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f2f8f6;
    border: 2px solid #cde5da;
    border-radius: 14px;
    padding: 14px 16px;
    text-decoration: none;
    transition: border-color .2s, transform .15s, box-shadow .2s;
}
.bp-retour-order-item:hover {
    border-color: #f5e800;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245,232,0,.2);
    text-decoration: none;
}
.bp-retour-order-item--disabled {
    opacity: .7;
    pointer-events: none;
}
.bp-retour-order-item-num {
    font-weight: 800;
    color: #0c3336;
    font-size: 15px;
}
.bp-retour-order-item-date,
.bp-retour-order-item-products {
    color: #5a8070;
    font-size: 12px;
    font-weight: 600;
}

/* ── Pills ─────────────────────────────────────────── */
.bp-retour-pill {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.bp-retour-pill--green { background: #e6f8ee; color: #1a7a45; border: 1.5px solid #9ed8b8; }
.bp-retour-pill--yellow { background: #fffbe0; color: #8a7000; border: 1.5px solid #f5e800; }
.bp-retour-pill--red { background: #fff2f2; color: #b02020; border: 1.5px solid #ffcece; }

/* ── Detail view ───────────────────────────────────── */
.bp-retour-ghost-btn {
    display: inline-block;
    margin: 16px 0 12px;
    background: transparent;
    color: #0c3336;
    border: 2px solid #cde5da;
    border-radius: 10px;
    padding: 8px 16px;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s;
}
.bp-retour-ghost-btn:hover { border-color: #0c3336; text-decoration: none; color: #0c3336; }

.bp-retour-order-detail { margin-top: 8px; }
.bp-retour-order-detail-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.bp-retour-detail-info h3 { font-family: 'Fredoka One', cursive; font-size: 20px; color: #0c3336; margin: 0; }
.bp-retour-detail-date { color: #5a8070; font-size: 12px; font-weight: 600; }

.bp-retour-detail-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 13px; }
.bp-retour-detail-table td { padding: 9px 4px; border-bottom: 1.5px solid #edf4f1; }
.bp-retour-detail-table td:first-child { color: #5a8070; font-weight: 700; width: 45%; }
.bp-retour-detail-table td:last-child { color: #0c3336; font-weight: 700; }
.bp-retour-green { color: #1a7a45 !important; }
.bp-retour-red { color: #b02020 !important; }

.bp-retour-products { font-size: 13px; color: #3a6a55; margin-bottom: 12px; }
.bp-retour-products ul { margin: 6px 0 0 18px; }
.bp-retour-products li { margin-bottom: 3px; }

.bp-retour-divider { border: none; border-top: 2px solid #edf4f1; margin: 16px 0; }

/* ── Alerts ────────────────────────────────────────── */
.bp-retour-alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}
.bp-retour-alert--green { background: #e6f8ee; border: 2px solid #9ed8b8; color: #0c3336; }
.bp-retour-alert--yellow { background: #fffbe0; border: 2px solid #f5e800; color: #5a4200; }
.bp-retour-alert--red { background: #fff2f2; border: 2px solid #ffcece; color: #6a1010; }

/* ── Form ──────────────────────────────────────────── */
.bp-retour-form { margin-top: 8px; }
.bp-retour-form-group { margin-bottom: 18px; }
.bp-retour-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0c3336;
    margin-bottom: 10px;
}
.bp-retour-required { color: #b02020; margin-left: 2px; }

.bp-retour-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f2f8f6;
    border: 2px solid #cde5da;
    border-radius: 12px;
    padding: 11px 14px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #5a8070;
    transition: border-color .15s, background .15s, color .15s;
}
.bp-retour-radio-label:hover,
.bp-retour-radio-label:has(input:checked) {
    border-color: #f5e800;
    background: #fffbe0;
    color: #0c3336;
}
.bp-retour-radio-label input[type="radio"] { accent-color: #0c3336; width: 16px; height: 16px; flex-shrink: 0; }

.bp-retour-textarea {
    width: 100%;
    background: #f2f8f6;
    border: 2px solid #cde5da;
    border-radius: 12px;
    padding: 12px 14px;
    color: #0c3336;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    resize: vertical;
    transition: border-color .2s;
    box-sizing: border-box;
}
.bp-retour-textarea:focus { border-color: #f5e800; box-shadow: 0 0 0 3px rgba(245,232,0,.2); }

/* ── Cost box ──────────────────────────────────────── */
.bp-retour-cost-box {
    background: #fffbe0;
    border: 2px solid #f5e800;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #5a4200;
    line-height: 1.6;
}
.bp-retour-cost-title {
    font-family: 'Fredoka One', cursive;
    font-size: 15px;
    color: #0c3336;
    margin-bottom: 5px;
    display: block;
}

/* ── Primary button ────────────────────────────────── */
.bp-retour-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #f5e800 0%, #e8d800 100%);
    color: #0c3336;
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-family: 'Fredoka One', cursive;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 4px 0 #b8a800;
    transition: transform .1s, box-shadow .1s;
    text-decoration: none;
    box-sizing: border-box;
}
.bp-retour-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #b8a800;
    text-decoration: none;
    color: #0c3336;
}

/* ── Success state ─────────────────────────────────── */
.bp-retour-success { text-align: left; padding-top: 8px; }
.bp-retour-success-icon { font-size: 48px; text-align: center; display: block; margin-bottom: 12px; }
.bp-retour-success p { color: #5a8070; font-size: 13px; font-weight: 600; margin-bottom: 20px; }

.bp-retour-steps {
    background: #f2f8f6;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 18px;
    border: 1.5px solid #cde5da;
}
.bp-retour-step-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0c3336;
    margin-bottom: 12px;
    display: block;
}
.bp-retour-step-item {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1.5px solid #edf4f1;
    font-size: 13px;
    font-weight: 600;
    color: #2a5540;
    line-height: 1.5;
}
.bp-retour-step-item:last-child { border-bottom: none; }
.bp-retour-step-num {
    font-family: 'Fredoka One', cursive;
    font-size: 16px;
    color: #f5e800;
    text-shadow: 0 1px 0 #b8a800;
    flex-shrink: 0;
    min-width: 22px;
}

/* ── Product selectie ──────────────────────────────── */
.bp-retour-form-hint {
    color: #5a8070;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: -6px;
}

.bp-retour-product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 2px solid #cde5da;
    transition: border-color .15s, background .15s;
}
.bp-retour-product-row--selectable {
    background: #f2f8f6;
    cursor: pointer;
}
.bp-retour-product-row--selectable:hover {
    border-color: #f5e800;
    background: #fffbe0;
}
.bp-retour-product-row--selectable:has(.bp-retour-product-check:checked) {
    border-color: #f5e800;
    background: #fffbe0;
}
.bp-retour-product-row--excluded,
.bp-retour-product-row--expired {
    background: #fafafa;
    opacity: .7;
    border-color: #e0e0e0;
}

.bp-retour-product-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.bp-retour-product-checkbox-wrap input[type="checkbox"] {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: #0c3336;
}
.bp-retour-product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bp-retour-product-name {
    font-weight: 700;
    font-size: 14px;
    color: #0c3336;
}
.bp-retour-product-qty {
    font-size: 11px;
    color: #5a8070;
    font-weight: 600;
}
.bp-retour-product-basis {
    font-size: 11px;
    color: #3a6a55;
    font-weight: 600;
    margin-top: 2px;
}
.bp-retour-product-excl-msg {
    font-size: 11px;
    color: #b02020;
    font-weight: 600;
    margin-top: 2px;
}

/* ── Gast zoekformulier ────────────────────────────────────────────── */
.bp-retour-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #cde5da;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: #0c3336;
    background: #f2f8f6;
    box-sizing: border-box;
    transition: border-color .15s, background .15s;
    margin-top: 4px;
}
.bp-retour-input:focus {
    outline: none;
    border-color: #f5e800;
    background: #fffbe0;
}
.bp-retour-field-hint {
    font-size: 11px;
    color: #5a8070;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}
.bp-retour-gast-zoek {
    max-width: 560px;
}
