/* ═══════════════════════════════════════
   Weezine Xfer Pro — Frontend Styles
   v5.0.2
═══════════════════════════════════════ */
:root { --wxp-accent: #111827; --wxp-radius: 10px; --wxp-shadow: 0 2px 16px rgba(0,0,0,.08); }

.wxp-wrap { font-family: 'Roboto', sans-serif; color: #1f2937; }

/* Campos */
.wxp-field { margin-bottom: 16px; }
.wxp-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #374151; }
.wxp-field input[type=text],
.wxp-field input[type=email],
.wxp-field input[type=password],
.wxp-field input[type=file] {
  width: 100%; padding: 10px 13px; border: 1.5px solid #d1d5db;
  border-radius: var(--wxp-radius); font-size: 14px; transition: border .2s;
  box-sizing: border-box;
}
.wxp-field input:focus { outline: none; border-color: var(--wxp-accent); }
.wxp-field input[readonly] { background: #f3f4f6; cursor: default; }
.wxp-file-info, .wxp-file-formats { color: #6b7280; font-size: 12px; display: block; margin-top: 4px; }

/* Botones */
.wxp-btn { display: inline-block; padding: 10px 20px; border-radius: var(--wxp-radius);
  font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all .2s; }
.wxp-btn-primary { background: var(--wxp-accent); color: #fff; }
.wxp-btn-primary:hover { opacity: .88; }
.wxp-btn-outline { background: transparent; color: var(--wxp-accent); border: 2px solid var(--wxp-accent); }
.wxp-btn-outline:hover { background: var(--wxp-accent); color: #fff; }
.wxp-btn-ghost { background: transparent; color: #6b7280; border: 1px solid #d1d5db; }
.wxp-btn-ghost:hover { background: #f3f4f6; }
.wxp-btn-full { width: 100%; text-align: center; margin-top: 4px; }
.wxp-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Status bar */
.wxp-plan-status-bar { display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; background: #f9fafb; border: 1px solid #e5e7eb;
  border-radius: var(--wxp-radius); padding: 12px 16px; margin-bottom: 20px; }
.wxp-plan-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.wxp-stripe-promo { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--wxp-radius);
  padding: 12px 16px; margin-bottom: 20px; font-size: 14px; }

/* Result */
.wxp-result { margin-top: 12px; font-weight: 600; font-size: 14px; }

/* Auth block (inline) */
.wxp-auth { margin-top: 24px; border-top: 1px solid #e5e7eb; padding-top: 20px; }
.wxp-auth-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.wxp-tab-btn { background: none; border: none; font-size: 14px; font-weight: 600;
  color: #6b7280; cursor: pointer; padding: 6px 0; border-bottom: 2px solid transparent; }
.wxp-tab-btn.is-active { color: var(--wxp-accent); border-bottom-color: var(--wxp-accent); }
.wxp-auth-sep { color: #d1d5db; }

/* Auth pages (login / register) */
.wxp-auth-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 32px; box-shadow: var(--wxp-shadow); }
.wxp-auth-title { margin: 0 0 24px; font-size: 22px; font-weight: 700; }
.wxp-remember-row { display: flex; align-items: center; justify-content: space-between; font-size:13px; }
.wxp-forgot-link { color: var(--wxp-accent); font-size: 13px; text-decoration: none; }
.wxp-forgot-link:hover { text-decoration: underline; }
.wxp-auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: #6b7280; }
.wxp-auth-switch a { color: var(--wxp-accent); text-decoration: none; font-weight: 600; }

/* Perfil */
.wxp-profile { }
.wxp-profile-header { display: flex; align-items: flex-start; gap: 20px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 24px; margin-bottom: 24px; box-shadow: var(--wxp-shadow); flex-wrap: wrap; }
.wxp-profile-avatar { width: 60px; height: 60px; border-radius: 50%;
  background: var(--wxp-accent); color: #fff; font-size: 26px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wxp-profile-info { flex: 1; }
.wxp-profile-info h2 { margin: 0 0 4px; font-size: 20px; }
.wxp-profile-info p { margin: 0 0 8px; color: #6b7280; font-size: 14px; }
.wxp-plan-badge { display: inline-block; padding: 3px 10px; border-radius: 20px;
  color: #fff; font-size: 12px; font-weight: 700; }
.wxp-profile-actions { display: flex; flex-direction: column; gap: 6px; min-width: 180px; }

/* Tabs de perfil */
.wxp-profile-tabs { display: flex; gap: 4px; margin-bottom: 16px;
  border-bottom: 2px solid #e5e7eb; }
.wxp-ptab { background: none; border: none; padding: 10px 18px; font-size: 14px; font-weight: 600;
  color: #6b7280; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.wxp-ptab.is-active { color: var(--wxp-accent); border-bottom-color: var(--wxp-accent); }

/* Tabla */
.wxp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wxp-table th { background: #f9fafb; padding: 10px 12px; text-align: left;
  font-weight: 600; border-bottom: 1.5px solid #e5e7eb; }
.wxp-table td { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; }
.wxp-table tr:last-child td { border-bottom: none; }
.wxp-empty { color: #9ca3af; font-size: 14px; padding: 20px 0; text-align: center; }

/* Status badges */
.wxp-status-completed { color: #059669; font-weight: 600; }
.wxp-status-pending   { color: #d97706; font-weight: 600; }
.wxp-status-failed    { color: #dc2626; font-weight: 600; }
