.dpc-auth, .dpc-pricing { font-family: 'Inter', -apple-system, sans-serif; }
.dpc-auth * , .dpc-pricing * { box-sizing: border-box; }

/* ── Login card ── */
.dpc-auth {
    display: flex;
    justify-content: center;
    padding: 40px 16px;
}
.dpc-auth-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 32px 28px;
    width: 100%;
    max-width: 380px;
}
.dpc-auth-title { font-size: 20px; font-weight: 800; color: #111827; margin: 0 0 6px; }
.dpc-auth-sub { font-size: 13px; color: #6b7280; margin: 0 0 20px; }
.dpc-auth-error {
    background: #fff5f5;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
    font-size: 13px;
    padding: 10px 14px;
    margin-bottom: 16px;
}
.dpc-auth-form { display: flex; flex-direction: column; gap: 6px; }
.dpc-auth-form label { font-size: 12.5px; font-weight: 600; color: #374151; margin-top: 10px; }
.dpc-auth-form input[type=text],
.dpc-auth-form input[type=password],
.dpc-auth-form input[type=email] {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13.5px;
    outline: none;
}
.dpc-auth-form input:focus { border-color: #f76a0c; }
.dpc-auth-remember { display: flex !important; flex-direction: row !important; align-items: center; gap: 6px; font-weight: 400 !important; color: #6b7280; margin-top: 12px !important; }
.dpc-auth-remember input { accent-color: #f76a0c; }

.dpc-auth-btn, .dpc-pricing-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #f76a0c;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 20px;
    margin-top: 18px;
    cursor: pointer;
    text-decoration: none;
}
.dpc-auth-btn:hover, .dpc-pricing-btn:hover { background: #e55e00; }

.dpc-auth-links { display: flex; justify-content: center; gap: 8px; margin-top: 18px; font-size: 12.5px; }
.dpc-auth-links a { color: #6b7280; text-decoration: none; }
.dpc-auth-links a:hover { color: #f76a0c; }
.dpc-auth-links span { color: #d1d5db; }

/* ── Pricing grid ── */
.dpc-pricing { padding: 32px 16px; max-width: 1000px; margin: 0 auto; }
.dpc-pricing-intro { text-align: center; margin-bottom: 32px; }
.dpc-pricing-intro h2 { font-size: 26px; font-weight: 800; color: #111827; margin: 0 0 8px; }
.dpc-pricing-intro p { font-size: 14px; color: #6b7280; margin: 0; }
.dpc-pricing-empty { text-align: center; color: #6b7280; }

.dpc-pricing-notice {
    background: #f3f4f6;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    color: #374151;
    font-size: 13.5px;
    padding: 12px 16px;
    margin-bottom: 20px;
    text-align: center;
}
.dpc-pricing-notice-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.dpc-pricing-notice a { color: inherit; font-weight: 700; text-decoration: underline; }

.dpc-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.dpc-pricing-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    padding: 26px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.2s, transform 0.2s;
}
.dpc-pricing-card:hover { border-color: #f76a0c; transform: translateY(-3px); }
.dpc-pricing-name { font-size: 15px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.dpc-pricing-price { font-size: 34px; font-weight: 800; color: #111827; margin-bottom: 8px; }
.dpc-pricing-period { font-size: 14px; font-weight: 500; color: #9ca3af; }
.dpc-pricing-desc { font-size: 13px; color: #6b7280; margin-bottom: 12px; }
.dpc-pricing-credits {
    background: #fff3ec;
    border: 1px solid #fdd0b3;
    border-radius: 30px;
    color: #f76a0c;
    font-size: 12.5px;
    font-weight: 600;
    padding: 4px 14px;
    margin-bottom: 6px;
}

@media (max-width: 500px) {
    .dpc-pricing-grid { grid-template-columns: 1fr; }
}

/* ── Account page ── */
.dpc-account { font-family: 'Inter', -apple-system, sans-serif; padding: 32px 16px; max-width: 640px; margin: 0 auto; }
.dpc-account * { box-sizing: border-box; }
.dpc-account h2 { font-size: 24px; font-weight: 800; color: #111827; margin: 0 0 20px; }

.dpc-account-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 16px;
}
.dpc-account-card-title { font-size: 13px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.dpc-account-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: #111827; margin-bottom: 6px; }
.dpc-account-row:last-child { margin-bottom: 0; }
.dpc-account-muted { color: #6b7280; font-size: 13px; justify-content: flex-start; }
.dpc-account-plan-name { font-size: 16px; font-weight: 700; }

.dpc-account-badge { font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 30px; }
.dpc-account-badge-active { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.dpc-account-badge-warn { background: #fff5f5; color: #991b1b; border: 1px solid #fecaca; }
.dpc-account-badge-off { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

.dpc-account-link { display: inline-block; margin-top: 12px; color: #f76a0c; font-size: 13px; font-weight: 700; text-decoration: none; }
.dpc-account-link:hover { text-decoration: underline; }

.dpc-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    margin-top: 10px;
    cursor: pointer;
    text-decoration: none;
}
.dpc-account-btn:hover { background: #b91c1c; }

.dpc-account .limit-bar-track { background: #f3f4f6; border-radius: 30px; height: 8px; overflow: hidden; margin-bottom: 10px; }
.dpc-account .limit-bar-fill { background: #f76a0c; height: 100%; border-radius: 30px; }

.dpc-account-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dpc-account-table th { text-align: left; color: #6b7280; font-weight: 600; padding: 6px 8px; border-bottom: 1.5px solid #e5e7eb; }
.dpc-account-table td { padding: 8px; border-bottom: 1px solid #f3f4f6; color: #111827; }
.dpc-account-table a { color: #f76a0c; text-decoration: none; font-weight: 600; }
.dpc-account-table a:hover { text-decoration: underline; }
