/**
 * Gyta Buyback - Admin Styles
 *
 * Extracted from inline <style> blocks in v2.0.0.
 *
 * @package GytaBuyback
 * @since 2.0.0
 */

/* Dashboard page */
.logoBackground {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 300px;
    height: 300px;
}

.gytah1label {
    padding-left: 45px;
    background-size: 36px auto;
    background-repeat: no-repeat;
}

/* ── Batch Labels Freemium Upgrade ── */
.wcpti-batch-upgrade-wrap {
    position: relative;
    margin-top: 15px;
}

.wcpti-batch-upgrade-overlay {
    position: relative;
}

.wcpti-batch-upgrade-overlay .wcpti-batch-preview {
    opacity: 0.35;
    pointer-events: none;
    filter: grayscale(0.6);
}

.wcpti-batch-upgrade-cta {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #2271b1;
    padding: 20px 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.wcpti-batch-upgrade-cta .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #2271b1;
}

.wcpti-batch-upgrade-cta h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.wcpti-batch-upgrade-cta p {
    margin: 0 0 10px;
    color: #646970;
}

.wcpti-batch-upgrade-cta .button-primary {
    margin-top: 4px;
}

/* Free-plan locked settings rows + Pro upsell badge/link. */
.form-table .wcpti-locked,
.form-table tr.wcpti-locked input,
.form-table tr.wcpti-locked select,
.form-table tr.wcpti-locked textarea {
    opacity: .6;
}
.wcpti-pro-badge {
    display: inline-block;
    background: #8e44ad;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .03em;
    padding: 2px 5px;
    border-radius: 3px;
    vertical-align: middle;
    margin: 0 2px;
}
.wcpti-pro-link {
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* Hidden data-carrier column for Quick Edit (Products list). */
.column-wcpti_cap {
    display: none !important;
}

/* ── Payout-methods overview card (free plan) ── */
.wcpti-payout-card table {
    width: 100%;
    max-width: 560px;
    border-collapse: collapse;
}
.wcpti-payout-card td {
    padding: 6px 8px;
    border-bottom: 1px solid #f0f0f1;
}
.wcpti-payout-row-locked {
    opacity: .6;
}
.wcpti-status-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 10px;
}
.wcpti-status-pill.enabled {
    background: #edfaef;
    color: #007017;
}
.wcpti-status-pill.disabled {
    background: #f0f0f1;
    color: #646970;
}

/* ── Flow badges: which store flow a setting belongs to ── */
.wcpti-flow-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 4px;
    white-space: nowrap;
}
.wcpti-flow-buyback { background: #e7f1fb; color: #1d5d90; }
.wcpti-flow-dual    { background: #f3ebf9; color: #6d3f8f; }
.wcpti-flow-net     { background: #e9f6ef; color: #1f7a4d; }
.wcpti-flow-hint    { color: #646970; font-size: 12px; }

/* ── Design tab: style-template picker cards ── */
.wcpti-style-picker {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.wcpti-style-option {
    display: block;
    width: 190px;
    border: 2px solid #dcdcde;
    border-radius: 10px;
    padding: 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.wcpti-style-option:hover {
    border-color: #2271b1;
}
.wcpti-style-option.is-selected {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}
.wcpti-style-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.wcpti-style-option strong {
    display: block;
    margin: 8px 0 2px;
}
.wcpti-style-desc {
    display: block;
    color: #646970;
    font-size: 12px;
    line-height: 1.4;
}
/* Mini previews — pure CSS mockups of each template. */
.wcpti-style-thumb {
    display: block;
    height: 74px;
    border-radius: 6px;
    background: #f6f7f7;
    padding: 10px;
    box-sizing: border-box;
}
.wcpti-thumb-panel {
    display: block;
    height: 100%;
    box-sizing: border-box;
    padding: 8px;
    position: relative;
}
.wcpti-style-thumb-classic .wcpti-thumb-panel {
    border: 1px solid #dcdcde;
    border-radius: 5px;
    background: #fafbfc;
}
.wcpti-style-thumb-card .wcpti-thumb-panel {
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 10px -4px rgba(20, 30, 50, .35);
}
.wcpti-style-thumb-minimal .wcpti-thumb-panel {
    border-left: 3px solid #1f7a4d;
    border-radius: 0;
    background: transparent;
}
.wcpti-thumb-line {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: #c3c4c7;
    margin-bottom: 5px;
    width: 80%;
}
.wcpti-thumb-line.short { width: 55%; }
.wcpti-thumb-btn {
    display: block;
    height: 12px;
    width: 46px;
    background: #1f7a4d;
    position: absolute;
    bottom: 8px;
    left: 8px;
    border-radius: 3px;
}
.wcpti-style-thumb-card .wcpti-thumb-btn { border-radius: 999px; }
.wcpti-style-thumb-minimal .wcpti-thumb-btn { border-radius: 0; }