/* WPSell Support – Frontend Form */

.wps-form-wrap {
    max-width: 720px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* HEADER */
.wps-form-header { margin-bottom: 24px; }
.wps-form-header h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: #1a1a2e; }
.wps-form-header p  { color: #666; margin: 0; font-size: 15px; }

/* ALERT */
.wps-alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.wps-alert-error { background: #fff3f3; border: 1px solid #fca5a5; color: #b91c1c; }

/* FORM */
.wps-form { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.wps-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .wps-row-2 { grid-template-columns: 1fr; } }

.wps-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.wps-field label { font-size: 13px; font-weight: 600; color: #374151; }
.wps-field .req { color: #ef4444; }
.wps-optional { font-weight: 400; color: #9ca3af; font-size: 12px; }

.wps-field input,
.wps-field select,
.wps-field textarea {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid #d1d5db; border-radius: 8px;
    font-size: 14px; color: #111; background: #fff;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
    box-sizing: border-box;
}
.wps-field input:focus,
.wps-field select:focus,
.wps-field textarea:focus {
    outline: none;
    border-color: #6C5CE7;
    box-shadow: 0 0 0 3px rgba(108,92,231,.12);
}
.wps-field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }

/* FOOTER */
.wps-form-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 16px; flex-wrap: wrap; }
.wps-privacy { font-size: 12px; color: #9ca3af; margin: 0; }

/* BUTTONS */
.wps-btn {
    display: inline-block; padding: 12px 24px; border-radius: 8px; font-size: 15px;
    font-weight: 700; cursor: pointer; text-decoration: none; border: none; transition: all .2s;
}
.wps-btn-primary { background: #6C5CE7; color: #fff; }
.wps-btn-primary:hover { background: #5a4bd1; color: #fff; }
.wps-btn-outline { background: transparent; color: #6C5CE7; border: 2px solid #6C5CE7; }
.wps-btn-outline:hover { background: #6C5CE7; color: #fff; }

/* SUCCESS */
.wps-success {
    background: #fff; border: 1px solid #d1fae5; border-radius: 16px; padding: 48px 32px;
    text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.wps-success-icon { width: 72px; height: 72px; border-radius: 50%; background: #d1fae5; color: #059669; font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.wps-success h3 { font-size: 22px; margin: 0 0 10px; color: #111; }
.wps-success p { color: #555; font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.wps-success-note { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 8px; padding: 12px 16px; color: #5b21b6 !important; }

/* FIELDSETS */
.wps-fieldset { border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px 20px 4px; margin: 0 0 20px; background: #fafafa; }
.wps-fieldset legend { font-size: 13px; font-weight: 700; color: #6C5CE7; text-transform: uppercase; letter-spacing: .04em; padding: 0 8px; }
.wps-fieldset-options { background: #f5f3ff; border-color: #ddd6fe; }

.wps-checkbox-block { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; margin-bottom: 8px; }
.wps-checkbox-block input { margin-top: 4px; width: auto; flex-shrink: 0; }
.wps-checkbox-block strong { display: block; font-size: 14px; color: #1f2937; margin-bottom: 4px; }
.wps-checkbox-block small { display: block; font-size: 12px; color: #6b7280; line-height: 1.5; font-weight: 400; }

.wps-btn-sm { padding: 8px 16px; font-size: 13px; }

/* FORUM – [supportme] */
.wps-forum-wrap { max-width: 900px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.wps-forum-header { margin-bottom: 24px; }
.wps-forum-header h2 { font-size: 26px; font-weight: 700; margin: 0 0 8px; color: #1a1a2e; }
.wps-forum-header p { color: #666; margin: 0; font-size: 15px; }

.wps-forum-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; align-items: center; }
.wps-forum-search { flex: 1; min-width: 180px; padding: 10px 14px; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 14px; }
.wps-forum-filters select { padding: 10px 14px; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 14px; background: #fff; }

.wps-forum-empty { background: #fff; border: 1px dashed #d1d5db; border-radius: 12px; padding: 40px; text-align: center; color: #6b7280; }

.wps-forum-list { display: flex; flex-direction: column; gap: 14px; }
.wps-forum-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; transition: box-shadow .15s, border-color .15s; }
.wps-forum-card:hover { border-color: #c4b5fd; box-shadow: 0 4px 12px rgba(108,92,231,.08); }
.wps-forum-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.wps-forum-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; color: #fff; }
.wps-forum-plugin { font-size: 12px; font-weight: 600; color: #6C5CE7; background: #f5f3ff; padding: 3px 10px; border-radius: 20px; }
.wps-forum-type { font-size: 12px; color: #6b7280; }
.wps-forum-card-title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.wps-forum-card-title a { color: #111827; text-decoration: none; }
.wps-forum-card-title a:hover { color: #6C5CE7; }
.wps-forum-excerpt { margin: 0 0 12px; color: #4b5563; font-size: 14px; line-height: 1.55; }
.wps-forum-card-footer { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #9ca3af; }

.wps-forum-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.wps-forum-page { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid #d1d5db; color: #374151; text-decoration: none; font-size: 14px; font-weight: 600; }
.wps-forum-page:hover { border-color: #6C5CE7; color: #6C5CE7; }
.wps-forum-page.active { background: #6C5CE7; border-color: #6C5CE7; color: #fff; }

.wps-forum-back { display: inline-block; margin-bottom: 20px; color: #6C5CE7; text-decoration: none; font-weight: 600; font-size: 14px; }
.wps-forum-back:hover { text-decoration: underline; }

.wps-forum-single-header h2 { font-size: 24px; margin: 12px 0 8px; color: #111827; }
.wps-forum-single-meta { color: #6b7280; font-size: 14px; margin: 0 0 16px; }

.wps-forum-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.wps-forum-tech span { font-size: 12px; background: #f3f4f6; color: #374151; padding: 4px 10px; border-radius: 6px; font-family: monospace; }

.wps-forum-thread { display: flex; flex-direction: column; gap: 16px; }
.wps-forum-post { display: flex; gap: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 18px; }
.wps-forum-post-admin { border-color: #ddd6fe; background: #faf9ff; }
.wps-forum-avatar { width: 40px; height: 40px; border-radius: 50%; background: #e5e7eb; color: #374151; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.wps-forum-avatar-admin { background: #6C5CE7; color: #fff; }
.wps-forum-post-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 13px; }
.wps-forum-post-head time { color: #9ca3af; margin-left: auto; }
.wps-forum-staff { background: #6C5CE7; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; text-transform: uppercase; }
.wps-forum-post-content { font-size: 15px; line-height: 1.6; color: #1f2937; }
.wps-forum-steps { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e5e7eb; font-size: 14px; color: #4b5563; line-height: 1.55; }
.wps-forum-steps strong { display: block; margin-bottom: 6px; color: #111827; }
