/* ═══════════════════════════════════════════
   BUY EMAIL PAGE — Redesign
═══════════════════════════════════════════ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

body {
    font-family: var(--font-family);
    background: #f1f5f9;
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ── Alert ── */
.be-alert-wrap {
    padding: 0 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 16px;
}

.alert {
    padding: 13px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.25s ease;
}

.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.alert-info    { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }

.alert-persistent {
    position: relative;
    padding: 16px 48px 16px 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: all 0.2s;
}

.alert-close:hover { background: #fff; transform: rotate(90deg); }

.alert-copy {
    position: absolute;
    top: 10px;
    right: 44px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
}

.alert-copy:hover { background: #fff; }

/* ── Redirect notice ── */
.be-redirect {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: var(--text-muted);
}

/* ── Hero strip ── */





/* ── Page container ── */
.be-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    animation: fadeUp 0.35s ease;
}

/* ── 2-col layout ── */
.be-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* ── Left column ── */
.be-left {
    position: sticky;
    top: 24px;
}

/* ── Search grid ── */
.be-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
}

.be-search-field {}

.be-search-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.be-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--text-primary);
    background: #f9fafb;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    box-sizing: border-box;
}

.be-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

/* ── Section block (provider / platform) ── */
.be-section-block {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.be-section-block:last-child { margin-bottom: 0; }

.be-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.be-section-num {
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.be-section-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.be-expiry-note {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef9c3;
    border: 1px solid #fde047;
    border-radius: 7px;
    padding: 8px 12px;
    font-size: 12px;
    color: #854d0e;
    font-weight: 500;
    margin-bottom: 12px;
}

/* ── Loading ── */
.be-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.be-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

/* .loading class used by JS */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2.5px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
    display: block;
}

/* ── Stock grid & cards (used by JS) ── */
.stock-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stock-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 10px 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    position: relative;
    overflow: hidden;
}

.stock-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.15s ease;
}

.stock-card:hover {
    border-color: var(--primary);
    background: #eef2ff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.stock-card:hover::before { transform: scaleY(1); }

.stock-card.hidden,
.stock-card.collapsed { display: none !important; }

.stock-card-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.stock-card-body {
    flex: 1;
    min-width: 0;
}

.stock-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    position: relative;
}

.stock-card-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-card-badge {
    background: var(--primary);
    color: #fff;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.stock-card-count {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary);
    margin: 0;
}

.stock-card-last-added {
    font-size: 10.5px;
    color: var(--text-muted);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-card-last-added.fresh { color: #059669; font-weight: 500; }
.stock-card-last-added.recent { color: #d97706; }

.stock-card-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.stock-card-price strong { color: var(--text-primary); }

/* ── Show all link (used by JS) ── */
.show-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s;
}

.show-all-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* ── Favorite btn (used by JS) ── */
.favorite-btn {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

.favorite-btn:hover { background: rgba(0,0,0,0.08); transform: scale(1.05); }
.favorite-btn.active { background: #f59e0b; border-color: #f59e0b; }

/* ── Back header (provider platforms) ── */
.be-back-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.be-back-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.be-back-provider { color: var(--primary); }

#providerPlatformsView .stock-grid {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
    padding: 12px;
    box-shadow: var(--shadow-sm);
}

/* ── Right column ── */
.be-right {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    min-height: 340px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* ── Placeholder ── */
.be-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    padding: 40px 24px;
    text-align: center;
}

.be-placeholder-icon {
    width: 56px;
    height: 56px;
    background: #eef2ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 14px;
    opacity: 0.7;
}

.be-placeholder-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.be-placeholder-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    max-width: 260px;
}

/* ── Email list header ── */
.be-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
}

.be-list-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Email list (purchase cards — set by JS) ── */
.email-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.email-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
}

.email-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-style: italic;
}

/* ── Purchase email card (rendered by JS) ── */
.purchase-email-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.purchase-email-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.purchase-email-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.purchase-email-details { flex: 1; min-width: 180px; }

.purchase-email-name {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text-primary);
    margin-bottom: 5px;
    word-break: break-all;
}

.purchase-email-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.stats-bar {
    background: #f8fafc;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ── Pagination (used by JS) ── */
.be-pagination,
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.15s;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.pagination-btn:disabled { background: #94a3b8; cursor: not-allowed; transform: none; opacity: 0.6; }

.pagination-info {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 7px;
}

/* ── Bulk section ── */
.be-bulk-section {
    margin: 0 16px 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}

.be-bulk-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.be-field-group { margin-bottom: 12px; }

.be-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.be-price-info {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 8px 0 0;
    font-weight: 500;
}

/* ── Buttons ── */
.be-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.15s;
}

.be-btn:hover:not(:disabled) { transform: translateY(-1px); }
.be-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.be-btn-back { background: #f1f5f9; color: var(--text-primary); border: 1px solid var(--border); }
.be-btn-back:hover:not(:disabled) { background: #e2e8f0; }

.be-btn-primary { background: var(--primary); color: #fff; }
.be-btn-primary:hover:not(:disabled) { background: var(--primary-dark); }

.be-btn-green { background: #16a34a; color: #fff; }
.be-btn-green:hover:not(:disabled) { background: #15803d; }

.be-btn-secondary { background: #f1f5f9; color: var(--text-primary); border: 1px solid var(--border); }
.be-btn-secondary:hover:not(:disabled) { background: #e2e8f0; }

/* .btn classes used by JS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.15s;
    background: var(--primary);
    color: #fff;
}

.btn:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-secondary { background: #dc2626; }
.btn-secondary:hover:not(:disabled) { background: #b91c1c; }
.btn-success { background: #16a34a; }
.btn-success:hover:not(:disabled) { background: #15803d; }
.btn-icon { font-size: 16px; }

/* ── Footer ── */
.be-footer {
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
}

.be-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.be-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.be-footer-links a:hover { color: var(--text-primary); }

.be-footer-copy { font-size: 12px; color: var(--text-muted); margin: 0; }

/* ── Utility ── */
.hidden { display: none !important; }

/* ── Custom Modal ── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeUp 0.25s ease;
}

.modal-overlay.hidden { display: none; }

.modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
    padding: 28px 24px 0;
    text-align: center;
}

.modal-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ecfdf5;
    margin-bottom: 14px;
    font-size: 24px;
}

.modal-header-title {
    color: #1e293b;
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.modal-body { padding: 16px 24px 8px; text-align: center; }

.modal-message {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    word-break: break-word;
}

.modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.modal-btn {
    padding: 10px 28px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    min-width: 100px;
}

.modal-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.modal-btn-cancel:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.modal-btn-ok {
    background: #16a34a;
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}
.modal-btn-ok:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

/* ── Admin Add Stock Section ── */
.be-admin-stock-section {
    max-width: 1100px;
    margin: 0 auto 32px;
    padding: 0 24px;
}

.be-admin-stock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: #111827;
    border-radius: 12px 12px 0 0;
    border: 1px solid #1e2d3d;
}

.be-admin-stock-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #f1f5f9;
}

.be-admin-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: #dc2626;
    padding: 3px 8px;
    border-radius: 6px;
}

#adminStockForm {
    background: #fff;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px 20px 24px;
}

.be-admin-field {
    margin-bottom: 18px;
}

.be-admin-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.be-admin-refresh-row {
    margin-bottom: 10px;
}

.be-admin-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
    padding: 12px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #f8fafc;
}

.be-admin-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    transition: background 0.12s;
    user-select: none;
}

.be-admin-checkbox-label:hover { background: #eef2ff; }

.be-admin-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
}

.be-admin-select-row {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.be-admin-textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    background: #f8fafc;
    color: var(--text-primary);
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.15s;
    line-height: 1.6;
}

.be-admin-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.be-admin-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin: 6px 0 0;
}

.be-admin-submit {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 14.5px;
}

.be-admin-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 13px;
    white-space: pre-line;
    font-family: 'Courier New', monospace;
    line-height: 1.7;
}

.be-admin-result-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.be-admin-result-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ── Request Platform Button ── */
.be-request-platform-wrap {
    margin-top: 12px;
    text-align: center;
}

.be-btn-request-platform {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.be-btn-request-platform:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.be-btn-request-platform:active {
    transform: translateY(0);
}

/* ── Request Platform Modal ── */
.be-rp-dialog {
    max-width: 460px;
}

.be-rp-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 16px;
    line-height: 1.5;
}

.be-rp-field {
    margin-bottom: 14px;
}

.be-rp-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.be-rp-textarea {
    min-height: 80px;
    resize: vertical;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .be-layout { grid-template-columns: 1fr; }
    .be-left { position: static; }
}

@media (max-width: 600px) {
    .be-page { padding: 16px 16px 40px; }
    .be-search-grid { grid-template-columns: 1fr; }
    .be-list-header { flex-wrap: wrap; }
    .purchase-email-info { flex-direction: column; align-items: stretch; }
    .purchase-email-info .btn { width: 100%; justify-content: center; }
}
