
/* Project Phoenix Tech Inc - CMS v4 (WYSIWYG + email notify + password change) */
:root {
  --color-primary-from: #f97316;
  --color-primary-to: #ef4444;
  --color-accent: #0ea5e9;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--color-text); background: var(--color-bg); }
a { color: var(--color-accent); text-decoration: none; } a:hover { text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 24px; }
.header { border-bottom: 1px solid var(--color-border); background: #ffffffd9; backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.2px; }
.brand img { width: 40px; height: 40px; }
.menu { display: flex; gap: 18px; font-weight: 700; }
.menu a { padding: 10px 8px; border-radius: 8px; }
.menu a.active, .menu a:hover { background: #f1f5f9; }
.hero { padding: 5px 0 5px; }
.hero h1 { font-size: clamp(30px, 6vw, 45px); line-height: 1.05; margin: 0 0 10px; }
.hero p { font-size: clamp(16px, 2.3vw, 20px); color: var(--color-muted); margin: 0 0 20px; }
.cta { display: inline-block; background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to)); color: white; padding: 12px 18px; border-radius: 12px; font-weight: 800; box-shadow: 0 8px 20px #ef444420; }
.cta:hover { filter: brightness(0.95); }
.section { padding: 28px 0; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { border: 1px solid var(--color-border); border-radius: 14px; padding: 18px; background: #fff; }
.card h3 { margin-top: 0; }
.badge { display:inline-block; padding:6px 10px; border-radius:999px; background: #f1f5f9; color: var(--color-muted); font-weight:700; font-size:12px; }
.footer { margin-top: 36px; padding: 24px 0; border-top: 1px solid var(--color-border); color: var(--color-muted); font-size: 14px; }
form { display: grid; gap: 12px; max-width: 720px; }
label { font-weight: 700; }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 12px; font-size: 16px; background: #fff; }
textarea { min-height: 200px; resize: vertical; }
button { background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to)); color: white; padding: 10px 16px; border: 0; border-radius: 12px; font-weight: 800; cursor: pointer; }
button:hover { filter: brightness(0.95); }
.table { width: 100%; border-collapse: collapse; }
.table th, ..table td { border-bottom: 1px solid var(--color-border); padding: 10px; text-align: left; }
.alert { padding: 10px 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; border-radius: 10px; }
.success { padding: 10px 12px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; }
.small { font-size: 13px; color: var(--color-muted); }
.comment { border-top: 1px solid var(--color-border); padding-top: 12px; margin-top: 12px; }
.comment .meta { color: var(--color-muted); font-size: 14px; margin-bottom: 6px; }
.toolbar { display:flex; flex-wrap:wrap; gap:8px; margin: 6px 0 8px; }
.toolbar button { padding:6px 10px; background:#f1f5f9; color:#0f172a; border-radius:8px; border:1px solid #e2e8f0; }
.toolbar button:hover { background:#e2e8f0; }


/* v4.2: Centered hero with logo + blurb */
.hero.center { text-align: center; padding-top: 72px; }
.hero.center .brandmark { display: block; margin: 0 auto 16px; width: min(180px, 40vw); height: auto; border-radius: 10px;}
.hero.center h1 { margin: 0 0 8px; }
.hero.center p.teaser { max-width: 720px; margin: 0 auto 20px; color: var(--color-muted); font-size: clamp(16px, 2.3vw, 20px); }
.hero.center .cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero.center .cta.secondary { background: #f1f5f9; color: var(--color-text); box-shadow: none; }
.hero.center .cta.secondary:hover { filter: none; background: #e2e8f0; }
.lableClass
{
    display: flex;
    margin-bottom: 10px;
    margin-top: 10px;
}

#cke_24, #cke_32, #cke_37, #cke_70, #cke_79, #cke_80, #cke_81, #cke_82, #cke_91, #cke_90, #cke_87,
#cke_19, #cke_20, #cke_21, #cke_22, #cke_23, #cke_75, #cke_76 {
    display: none;
}
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.styled-table th, .styled-table td {
  padding: 12px 15px;
  text-align: left;
}

.styled-table thead {
  background-color: #f5f5f5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.styled-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s;
}

.styled-table tbody tr:hover {
  background-color: #fafafa;
}

/* Status badges */
.status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.status.published {
  background-color: #28a745;
}
.status.draft {
  background-color: #6c757d;
}

/* Action buttons */
.actions {
  white-space: nowrap;
}
.btn {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 3px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.2s ease;
}
.btn.edit {
  background-color: #007bff;
}
.btn.edit:hover {
  background-color: #0069d9;
}
.btn.view {
  background-color: #17a2b8;
}
.btn.view:hover {
  background-color: #138496;
}
.btn.delete {
  background-color: #dc3545;
}
.btn.delete:hover {
  background-color: #c82333;
}
.actions-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1em;
}

.btn.new-post {
  background-color: #4CAF50;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn.new-post:hover {
  background-color: #45a049;
}
.status.approved {
  background: #28a745;
}
.status.pending {
  background: #ffc107;
  color: #333;
}
.btn.approve {
  background: #007bff;
}
.btn.approve:hover {
  background: #0069d9;
}
.required {
  color: red;
  margin-left: 2px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* Pagination buttons */
.pagination .btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  background-color: #fff;
  transition: all 0.2s ease;
}

/* Hover state */
.pagination .btn:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}

/* Current page */
.pagination .current {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
  cursor: default;
}

/* Disabled state */
.pagination .btn.disabled,
.pagination .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Previous/Next arrows */
.pagination .prev,
.pagination .next {
  font-weight: 600;
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .pagination .btn {
    padding: 5px 8px;
    font-size: 13px;
  }
}