@charset "UTF-8";
.pc-auth-card {
  box-sizing: border-box;
  max-width: 360px;
  margin: 40px auto;
  padding: 28px 26px;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08), 0 1px 2px rgba(60, 64, 67, 0.06);
  font-family: inherit;
}
@media (max-width: 420px) {
  .pc-auth-card { margin: 20px auto; padding: 22px 18px; border-radius: 14px; }
}
.pc-auth-title { margin: 0 0 18px; font-size: 1.4rem; font-weight: 700; text-align: center; color: #202124; }
.pc-auth-form { display: flex; flex-direction: column; gap: 14px; }
.pc-auth-label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 600; color: #5f6368; }
.pc-auth-input {
  padding: 10px 14px;
  border: 1px solid #dadce0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #202124;
}
.pc-auth-input:focus { outline: none; border-color: #016a5e; box-shadow: 0 0 0 3px rgba(1, 106, 94, 0.15); }
.pc-auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 4px;
  font-size: 0.88rem;
  color: #5f6368;
  cursor: pointer;
}
.pc-auth-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #016a5e;
  cursor: pointer;
}
/* !important bắt buộc — CSS nút bấm chung của theme (Ignition Roxima) có độ ưu tiên/thứ tự nạp
   thắng class thường của mình. */
.pc-auth-submit {
  margin-top: 6px;
  padding: 12px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 12px !important;
  background: #016a5e !important;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.pc-auth-submit:hover { background: #014f45 !important; }
.pc-auth-submit:focus, .pc-auth-submit:active { border: none !important; outline: none !important; box-shadow: 0 0 0 3px rgba(1, 106, 94, 0.25) !important; }
.pc-auth-links { margin: 18px 0 0; text-align: center; font-size: 0.88rem; }
.pc-auth-links a { color: #016a5e; text-decoration: none; font-weight: 600; }
.pc-auth-links a:hover { text-decoration: underline; }
.pc-auth-error { margin: 0 0 14px; padding: 10px 14px; background: #fce8e6; border: 1px solid #f6c6c2; border-radius: 10px; color: #d93025; font-size: 0.88rem; text-align: center; }
.pc-auth-success { margin: 0 0 14px; padding: 10px 14px; background: #e6f4ea; border: 1px solid #ceead6; border-radius: 10px; color: #1e8e3e; font-size: 0.88rem; text-align: center; }

/* --- Popup "giới hạn thiết bị" (class-device-limiter.php) --- */
.pc-device-limit-overlay {
  position: fixed; inset: 0; background: rgba(32, 33, 36, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 16px; box-sizing: border-box;
}
.pc-device-limit-modal {
  background: #fff; border-radius: 16px; padding: 28px 24px; max-width: 380px;
  width: 100%; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.pc-device-limit-icon { font-size: 34px; margin-bottom: 10px; }
.pc-device-limit-modal h3 { margin: 0 0 10px; font-size: 1.15rem; color: #202124; }
.pc-device-limit-modal p { margin: 0 0 18px; font-size: 0.92rem; color: #5f6368; line-height: 1.5; }
.pc-device-limit-modal .pc-auth-submit { width: 100%; }

/* --- Danh sách thiết bị đã đăng nhập (trang "Tài khoản của tôi") --- */
.pc-device-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pc-device-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fafafa;
}
.pc-device-info { display: flex; flex-direction: column; gap: 2px; }
.pc-device-label { font-weight: 700; color: #202124; font-size: 0.92rem; }
.pc-device-meta { font-size: 0.78rem; color: #80868b; }
.pc-device-remove-btn {
  border: 1px solid #f6c6c2 !important; background: #fce8e6 !important; color: #d93025 !important;
  border-radius: 8px !important; padding: 6px 12px !important; font-size: 0.8rem !important;
  font-weight: 600; cursor: pointer; white-space: nowrap;
}
.pc-device-remove-btn:hover { background: #f6c6c2 !important; }

/* Nút đăng nhập/đăng ký qua Nextend Social Login (Google/Facebook...) — chỉ render khi plugin
   đang bật, xem PC_Auth_Shortcode::render_social_login(). */
.pc-auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0 14px; color: #80868b; font-size: 0.8rem; }
.pc-auth-divider::before, .pc-auth-divider::after { content: ""; flex: 1; height: 1px; background: #dadce0; }
.pc-auth-social .nsl-container { margin-top: 0 !important; }

/* --- Trang "Tài khoản của tôi" (class-account-shortcode.php) --- */
.pc-account-wrap { max-width: 640px; margin: 40px auto; font-family: inherit; }
.pc-account-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.pc-account-title { margin: 0; font-size: 1.6rem; font-weight: 700; color: #202124; }
.pc-account-logout { color: #d93025; font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.pc-account-logout:hover { text-decoration: underline; }

.pc-account-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  margin-bottom: 20px;
  background: #e0f2ef;
  border: 1px solid #b7ddd6;
  border-radius: 14px;
}
.pc-account-summary-item { display: flex; flex-direction: column; }
.pc-account-summary-value { font-size: 1.8rem; font-weight: 700; color: #016a5e; }
.pc-account-summary-label { font-size: 0.85rem; color: #5f6368; }
.pc-account-expiry { margin: 6px 0 0; font-size: 0.82rem; color: #5f6368; }
.pc-account-expiry-expired { color: #d93025; font-weight: 600; }
.pc-account-buy-btn { text-decoration: none; display: inline-flex; align-items: center; padding: 10px 18px; margin-top: 0; }

.pc-account-section {
  padding: 22px 24px;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 14px;
}
.pc-account-section-title { margin: 0 0 16px; font-size: 1.1rem; font-weight: 700; color: #202124; }

.pc-account-orders-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.pc-account-orders-table th { text-align: left; padding: 8px 10px; border-bottom: 2px solid #dadce0; color: #5f6368; font-weight: 600; }
.pc-account-orders-table td { padding: 10px; border-bottom: 1px solid #f1f3f4; color: #202124; }

@media (max-width: 600px) {
  .pc-account-summary { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pc-account-orders-table { display: block; overflow-x: auto; white-space: nowrap; }
}
