/* /push-content/parts/widgets/clippak/lookup.css */

body.clippak_overlay_open {
    overflow: hidden;
}

.clippak_overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.clippak_overlay_backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(2px);
}

.clippak_overlay_dialog {
    position: relative;
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.clippak_overlay_dialog_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 max-content;
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.clippak_overlay_dialog_body {
    overflow-y: auto;
    display: block;
    padding: 30px;
}
.clippak_overlay_close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #5b66ff2b;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}
.clippak_overlay_close svg {
    width: 10px;
    height:10px;
}
.clippak_overlay_close svg path {
    fill: var(--bg-color);
}

.clippak_overlay_header {
    padding-right: 56px;
    margin-bottom: 22px;
}

.clippak_overlay_eyebrow {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #16a34a;
}

.clippak_overlay_header h3 {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
}

.clippak_overlay_subtext {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #6b7280;
}

.clippak_selected_plan {
    margin-bottom: 18px;
}

.clippak_selected_plan_card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #eff6ff;
}

.clippak_selected_plan_label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 4px;
}

.clippak_selected_plan_name {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.clippak_selected_plan_meta {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-align: right;
}

.clippak_lookup_form label {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.clippak_lookup_row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.clippak_lookup_row input {
    flex: 1 1 auto;
    height: 56px;
    padding: 0 18px;
    border: 2px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    font-size: 18px;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.clippak_lookup_row input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.clippak_lookup_row button {
    flex: 0 0 auto;
    min-width: 190px;
    height: 56px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: #111827;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.clippak_lookup_row button:hover {
    background: #1f2937;
}

.clippak_lookup_message {
    margin-top: 14px;
    /* min-height: 24px; */
    font-size: 15px;
    font-weight: 600;
}

.clippak_lookup_message.error {
    color: #dc2626;
}

.clippak_lookup_message.success {
    color: #15803d;
}

.clippak_lookup_message.warning {
    color: #f78e1f;
}

.clippak_lookup_message.loading {
    color: #4b5563;
}

.clippak_lookup_suggestions {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px auto;
}
.clippak_suggestion_option {
    padding: 0;
    border: none;
    background: none;
    width: 100%;
    flex: 0 0 max-content;
}
.clippak_suggestion_card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
    padding: 14px 16px;
    width: 100%;
}
.clippak_suggestion_card:hover {
    background: #ececec;
}
.clippak_suggestion_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.clippak_suggestion_market {
    font-size: 16px;
    font-weight: 800;
    color: #111827;
}

.clippak_suggestion_status {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
}

.clippak_suggestion_meta,
.clippak_suggestion_distance {
    font-size: 14px;
    color: #6b7280;
    text-align: left;
}

.clippak_lookup_result {
    margin-top: 16px;
}

.clippak_result_card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    padding: 22px;
}

.clippak_result_head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.clippak_result_card h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
}

.clippak_result_card p {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.55;
    color: #111827;
}
button:active, button:focus-visible, button:focus-within {
    outline: none;
}
.clippak_result_card p:last-child {
    margin-bottom: 0;
}

.clippak_result_card strong {
    font-weight: 800;
}

.clippak_status_pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.clippak_status_waitlist {
    background: #fef3c7;
    color: #92400e;
}

.clippak_status_ready_to_pay {
    background: #dcfce7;
    color: #166534;
}

.clippak_status_open {
    background: #dbeafe;
    color: #1d4ed8;
}

.clippak_status_processing {
    background: #ede9fe;
    color: #6d28d9;
}

.clippak_status_completed {
    background: #ecfccb;
    color: #3f6212;
}

.clippak_status_closed {
    background: #f3f4f6;
    color: #4b5563;
}
.clippak_lookup_actions {
    border-top: 1px solid #e5e7eb;
    padding: 15px 30px;
    flex: 0 0 max-content;
    justify-content: end;
    gap: 30px;
    align-items: end;
}
.clippak_waitlist_options .cwo_top {
    font-size: 14px;
}
.clippak_waitlist_options {
    flex-direction: column;
    flex: 1;
    gap: 5px;
}
.cwo_bottom {
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
}
.cwo_explainer {
    text-transform: uppercase;
    font-size: 10px;
    margin-top: -7px;
}
#clippak_deposit_amount {
    border: none; 
    padding: 0;
    user-select: none;
    pointer-events: none;
    width: 33px;
    font-size: 17px;
    font-weight: 600
}
.clippak_waitlist_options label {
    display: block;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}
.clippak_action_buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.clippak_action_buttons .btn {
    font-size: 16px;
}
.clippak_primary_action {
    border: 0;
    background: var(--bg-color);
    color: #ffffff;
    flex: 0 0 max-content;
}
.clippak_primary_action:hover {
    background: #1e269d;
}
.clippak_secondary_action {
    outline: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
}

.clippak_secondary_action:hover {
    background: #f9fafb;
    outline-color: #9ca3af;
}

@media (max-width: 767px) {
    .clippak_lookup_actions {
        flex-direction: column;
        gap: 15px;
        padding: 15px 15px;
    }
    .clippak_waitlist_options .cwo_top {display:none;}
    .clippak_waitlist_options{text-align: right;}
    .clippak_lookup_actions button, .clippak_action_buttons {
        width: 100%;
    }
    .clippak_overlay_dialog_body {
        padding: 15px;
    }
    .clippak_overlay_dialog {
        width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        margin: 10px auto;
        border-radius: 18px;
    }

    .clippak_overlay_header {
        padding-right: 42px;
    }

    .clippak_overlay_header h3 {
        font-size: 26px;
    }

    .clippak_lookup_row {
        flex-direction: column;
    }

    .clippak_lookup_row button {
        width: 100%;
        min-width: 0;
    }

    .clippak_selected_plan_card {
        flex-direction: column;
        align-items: flex-start;
    }

    .clippak_selected_plan_meta {
        text-align: left;
    }

    .clippak_result_head {
        flex-direction: column;
        align-items: flex-start;
    }

    .clippak_result_card h3 {
        font-size: 24px;
    }

    .clippak_action_buttons {
        flex-direction: column;
    }

    .clippak_primary_action,
    .clippak_secondary_action {
        width: 100%;
        justify-content: center;
    }
}
