.wts-qf-dash-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    font-family: inherit;
    color: #333;
}

.wts-qf-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.wts-qf-dash-header h2 {
    margin: 0;
    font-size: 26px;
}

.wts-qf-dash-filters {
    display: flex;
    gap: 8px;
}
.wts-qf-filter {
    padding: 7px 16px;
    border-radius: 20px;
    background: #f1f1f1;
    color: #444;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    transition: background 0.15s ease;
}
.wts-qf-filter:hover { background: #e2e2e2; }
.wts-qf-filter.active { background: #2f6f4f; color: #fff; }

.wts-qf-dash-empty {
    text-align: center;
    color: #777;
    padding: 40px 0;
}

.wts-qf-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.wts-qf-card {
    position: relative;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    overflow: hidden;
}
.wts-qf-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.wts-qf-card.is-confirmed {
    border-color: #34a853;
}

.wts-qf-card-summary {
    padding: 18px 20px;
}

.wts-qf-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.wts-qf-badge-pending { background: #fff3cd; color: #8a6d1a; }
.wts-qf-badge-confirmed { background: #e6f4ea; color: #1e7e34; }

.wts-qf-card-name {
    margin: 0 0 6px;
    font-size: 18px;
}
.wts-qf-card-pet {
    margin: 0 0 8px;
    font-size: 14px;
    color: #555;
}
.wts-qf-card-date,
.wts-qf-card-route {
    margin: 4px 0;
    font-size: 13.5px;
    color: #555;
}
.wts-qf-card-route { color: #777; }

.wts-qf-view-btn {
    margin-top: 12px;
    width: 100%;
    padding: 9px;
    background: #f4f4f4;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.wts-qf-view-btn:hover { background: #e8e8e8; }

/* Detail panel — shown as an overlay modal when expanded */
.wts-qf-card-detail {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}
.wts-qf-card-detail[hidden] { display: none; }

.wts-qf-card-detail-inner {
    background: #fff;
    border-radius: 12px;
    max-width: 640px;
    width: 100%;
    padding: 28px 30px 32px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.wts-qf-close-detail {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}
.wts-qf-close-detail:hover { color: #222; }

.wts-qf-card-detail h4 {
    margin: 20px 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2f6f4f;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}
.wts-qf-card-detail h4:first-of-type { margin-top: 4px; }

.wts-qf-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.wts-qf-detail-grid > div {
    display: flex;
    flex-direction: column;
    font-size: 13.5px;
}
.wts-qf-detail-grid strong {
    font-size: 11.5px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
}
.wts-qf-detail-grid span {
    color: #333;
    word-break: break-word;
}
.wts-qf-span-2 { grid-column: span 2; }

.wts-qf-confirm-row {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eee;
}
.wts-qf-confirm-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}
.wts-qf-confirm-check input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.wts-qf-confirmed-label {
    color: #1e7e34;
    font-weight: 700;
}

/* Confirmed pickups list */
.wts-qf-confirmed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wts-qf-confirmed-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-left: 5px solid #34a853;
    border-radius: 8px;
    padding: 14px 18px;
}
.wts-qf-confirmed-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4faf6;
    border-radius: 8px;
    padding: 8px 14px;
    min-width: 56px;
}
.wts-qf-confirmed-day { font-size: 22px; font-weight: 700; color: #1e7e34; line-height: 1; }
.wts-qf-confirmed-month { font-size: 12px; text-transform: uppercase; color: #1e7e34; }

.wts-qf-confirmed-body { flex: 1; }
.wts-qf-confirmed-body h3 { margin: 0 0 4px; font-size: 16.5px; }
.wts-qf-confirmed-meta { margin: 6px 0 0; font-size: 12.5px; color: #888; }

.wts-qf-confirmed-badge {
    font-size: 20px;
    color: #34a853;
    font-weight: 700;
}

/* Access gate */
.wts-qf-access-form {
    max-width: 360px;
    margin: 60px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wts-qf-access-form input[type="password"] {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

@media (max-width: 480px) {
    .wts-qf-detail-grid { grid-template-columns: 1fr; }
    .wts-qf-span-2 { grid-column: span 1; }
}
