.pqfs-paid-questions {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    padding: 18px;
    margin: 0 0 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pqfs-paid-questions__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.pqfs-paid-questions__header strong {
    display: block;
    color: #0f172a;
    font-size: 16px;
    line-height: 1.3;
}

.pqfs-paid-questions__header span {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 3px;
}

.pqfs-paid-questions__total {
    min-width: 130px;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: right;
}

.pqfs-paid-questions__total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 6px;
}

.pqfs-paid-questions__total-row:last-child {
    margin-bottom: 0;
}

.pqfs-paid-questions__total-row span {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.pqfs-paid-questions__total-row strong {
    color: #0f172a;
    font-size: 14px;
    white-space: nowrap;
}

.pqfs-paid-questions__total-row--muted {
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.pqfs-paid-questions__total-row--final strong {
    font-size: 17px;
}

.pqfs-paid-questions__list {
    display: grid;
    gap: 10px;
}

.pqfs-question-card {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 13px;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pqfs-question-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.pqfs-question-card input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.pqfs-question-card__body {
    display: block;
    min-width: 0;
}

.pqfs-question-card__title {
    display: block;
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
}

.pqfs-question-card__description {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 3px;
}

.pqfs-question-card__price {
    color: #0f172a;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    background: #eef2ff;
    border: 1px solid #dfe5ff;
    border-radius: 999px;
    padding: 6px 10px;
}

.pqfs-paid-questions__notice,
.pqfs-empty,
.pqfs-muted {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    margin-top: 12px;
}

.pqfs-status {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pqfs-status h2 {
    margin-top: 0;
}

.pqfs-status--success {
    border-color: #bbf7d0;
}

.pqfs-status--cancel {
    border-color: #fecaca;
}

@media (max-width: 680px) {
    .pqfs-paid-questions__header {
        display: block;
    }

    .pqfs-paid-questions__total {
        margin-top: 12px;
        text-align: left;
    }

    .pqfs-question-card {
        grid-template-columns: 22px minmax(0, 1fr);
    }

    .pqfs-question-card__price {
        grid-column: 2;
        justify-self: start;
    }
}

.pqfs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #0f172a;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff !important;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pqfs-button:hover {
    background: #1e293b;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
    transform: translateY(-1px);
}

.pqfs-dashboard {
    display: grid;
    gap: 18px;
    color: #0f172a;
}

.pqfs-dashboard__hero,
.pqfs-dashboard__card,
.pqfs-dashboard__answers {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pqfs-dashboard__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
}

.pqfs-dashboard__hero h2 {
    margin: 6px 0 8px;
    color: #0f172a;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.1;
}

.pqfs-dashboard__hero p {
    margin: 0;
    color: #64748b;
}

.pqfs-dashboard__eyebrow {
    display: inline-flex;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pqfs-dashboard__status {
    min-width: 150px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
    padding: 12px 14px;
    text-align: right;
}

.pqfs-dashboard__status span {
    display: block;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pqfs-dashboard__status strong {
    display: block;
    color: #14532d;
    font-size: 18px;
}

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

.pqfs-dashboard__card,
.pqfs-dashboard__answers {
    padding: 20px;
}

.pqfs-dashboard__card h3,
.pqfs-dashboard__answers h3 {
    margin: 0 0 12px;
    color: #0f172a;
}

.pqfs-dashboard__card p {
    margin: 7px 0;
    color: #334155;
}

.pqfs-answer-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
    padding: 16px;
    margin: 0 0 12px;
}

.pqfs-answer-card:last-child {
    margin-bottom: 0;
}

.pqfs-answer-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.pqfs-answer-card h4 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
}

.pqfs-answer-card header span {
    flex: 0 0 auto;
    border: 1px solid #dfe5ff;
    border-radius: 999px;
    background: #eef2ff;
    color: #0f172a;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 800;
}

.pqfs-answer-card p,
.pqfs-answer-card__content p {
    color: #334155;
    line-height: 1.65;
}

@media (max-width: 760px) {
    .pqfs-dashboard__hero,
    .pqfs-answer-card header {
        display: block;
    }

    .pqfs-dashboard__status {
        margin-top: 16px;
        text-align: left;
    }

    .pqfs-dashboard__grid {
        grid-template-columns: 1fr;
    }

    .pqfs-answer-card header span {
        display: inline-flex;
        margin-top: 10px;
    }
}
