/* ── Conference Dashboard ─────────────────────────────────────────────────── */
.pcafi-conf-wrap { font-family: inherit; color: #1a1a2e; }

/* Top Bar */
.pcafi-conf-topbar {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 16px; padding: 14px 20px;
    background: #fff; border: 1px solid #dde3f0;
    border-radius: 10px; margin-bottom: 18px;
}
.pcafi-conf-selector-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcafi-conf-selector-wrap select {
    padding: 7px 12px; border: 1px solid #c5cfe0;
    border-radius: 6px; font-size: 14px; min-width: 220px;
}
.pcafi-conf-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #555; }
.pcafi-conf-meta span { display: flex; align-items: center; gap: 4px; }

/* Badges */
.pcafi-badge {
    display: inline-block; padding: 3px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.pcafi-badge-draft    { background: #f0f0f0; color: #666; }
.pcafi-badge-active   { background: #e6f4ea; color: #2e7d32; }
.pcafi-badge-archived { background: #fce8e6; color: #c62828; }

/* Tabs */
.pcafi-conf-tabs {
    display: flex; gap: 4px; flex-wrap: wrap;
    border-bottom: 2px solid #dde3f0; margin-bottom: 22px;
}
.pcafi-tab {
    padding: 9px 20px; border: none; background: none;
    font-size: 14px; font-weight: 500; color: #555;
    cursor: pointer; border-bottom: 3px solid transparent;
    margin-bottom: -2px; border-radius: 6px 6px 0 0;
    transition: all .15s;
}
.pcafi-tab:hover  { background: #f4f6fb; color: #002855; }
.pcafi-tab.active { color: #002855; border-bottom-color: #c8a951; font-weight: 700; background: #f4f6fb; }

/* Panel Header */
.pcafi-panel-header {
    display: flex; align-items: center; gap: 10px;
    flex-wrap: wrap; margin-bottom: 18px;
}
.pcafi-panel-header h3 { margin: 0; font-size: 18px; color: #002855; flex: 1; }

/* Buttons */
.pcafi-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 7px; font-size: 13px;
    font-weight: 600; cursor: pointer; border: none; transition: all .15s;
    text-decoration: none;
}
.pcafi-btn-primary  { background: #002855; color: #fff; }
.pcafi-btn-primary:hover { background: #003d80; }
.pcafi-btn-secondary { background: #c8a951; color: #fff; }
.pcafi-btn-secondary:hover { background: #b8973e; }
.pcafi-btn-outline  { background: #fff; color: #002855; border: 1.5px solid #002855; }
.pcafi-btn-outline:hover { background: #f0f4ff; }
.pcafi-btn-ghost    { background: transparent; color: #666; border: 1px solid #ddd; }
.pcafi-btn-ghost:hover { background: #f5f5f5; }
.pcafi-btn-danger   { background: #c62828; color: #fff; }
.pcafi-btn-danger:hover { background: #a31515; }
.pcafi-btn-sm  { padding: 6px 12px; font-size: 12px; }
.pcafi-btn-xs  { padding: 4px 9px;  font-size: 11px; }

/* Card Grid (Rooms) */
.pcafi-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.pcafi-room-card {
    background: #fff; border: 1px solid #dde3f0;
    border-radius: 10px; padding: 16px; position: relative;
}
.pcafi-room-card h4 { margin: 0 0 6px; font-size: 15px; color: #002855; }
.pcafi-room-card .pcafi-room-meta { font-size: 12px; color: #777; margin-bottom: 10px; }
.pcafi-room-card .pcafi-room-meta span { margin-right: 10px; }
.pcafi-room-fp-thumb {
    width: 100%; height: 100px; object-fit: cover;
    border-radius: 6px; margin-bottom: 10px; border: 1px solid #eee;
}
.pcafi-room-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }

/* Schedule Grid */
.pcafi-sched-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.pcafi-sched-filters select {
    padding: 6px 12px; border: 1px solid #c5cfe0;
    border-radius: 6px; font-size: 13px;
}
.pcafi-schedule-grid { overflow-x: auto; }
.pcafi-schedule-grid table {
    width: 100%; border-collapse: collapse; font-size: 13px;
}
.pcafi-schedule-grid th {
    background: #002855; color: #fff;
    padding: 10px 12px; text-align: left; white-space: nowrap;
}
.pcafi-schedule-grid td {
    padding: 9px 12px; border-bottom: 1px solid #eef0f6;
    vertical-align: top;
}
.pcafi-schedule-grid tr:hover td { background: #f8f9ff; }

/* Technology Columns */
.pcafi-tech-columns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .pcafi-tech-columns { grid-template-columns: 1fr; } }
.pcafi-tech-col h4 { font-size: 14px; color: #002855; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 2px solid #c8a951; }
.pcafi-tech-item, .pcafi-vendor-item, .pcafi-alloc-item {
    background: #fff; border: 1px solid #dde3f0;
    border-radius: 8px; padding: 12px; margin-bottom: 10px;
}
.pcafi-tech-item h5, .pcafi-vendor-item h5, .pcafi-alloc-item h5 {
    margin: 0 0 4px; font-size: 13px; color: #002855;
}
.pcafi-item-meta { font-size: 11px; color: #888; margin-bottom: 8px; }
.pcafi-item-actions { display: flex; gap: 6px; }

/* Staff Table */
.pcafi-table-wrap { overflow-x: auto; }
.pcafi-table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pcafi-table-wrap th {
    background: #002855; color: #fff;
    padding: 10px 12px; text-align: left; white-space: nowrap;
}
.pcafi-table-wrap td { padding: 9px 12px; border-bottom: 1px solid #eef0f6; vertical-align: middle; }
.pcafi-table-wrap tr:hover td { background: #f8f9ff; }
.pcafi-status-confirmed { color: #2e7d32; font-weight: 600; }
.pcafi-status-invited   { color: #e65100; font-weight: 600; }
.pcafi-status-declined  { color: #c62828; font-weight: 600; }

/* Floor Plans */
.pcafi-fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pcafi-fp-card {
    background: #fff; border: 1px solid #dde3f0;
    border-radius: 10px; overflow: hidden;
}
.pcafi-fp-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.pcafi-fp-card-body { padding: 12px; }
.pcafi-fp-card-body h4 { margin: 0 0 4px; font-size: 14px; color: #002855; }
.pcafi-fp-card-body p  { margin: 0 0 10px; font-size: 12px; color: #777; }
.pcafi-fp-actions { display: flex; gap: 6px; }

/* Reports */
.pcafi-reports-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.pcafi-report-card {
    background: #fff; border: 1px solid #dde3f0;
    border-radius: 10px; padding: 18px;
}
.pcafi-report-card h4 { margin: 0 0 14px; font-size: 15px; color: #002855; border-bottom: 2px solid #c8a951; padding-bottom: 8px; }
.pcafi-report-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pcafi-report-table th { background: #f0f4ff; color: #002855; padding: 7px 10px; text-align: left; }
.pcafi-report-table td { padding: 7px 10px; border-bottom: 1px solid #eef0f6; }
.pcafi-report-table tr:last-child td { border-bottom: none; }
.pcafi-over-allocated { color: #c62828; font-weight: 700; }

/* Modal */
.pcafi-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.5);
    z-index: 99999; display: flex; align-items: center; justify-content: center;
}
.pcafi-modal-box {
    background: #fff; border-radius: 12px;
    width: 90%; max-width: 1000px; max-height: 90vh;
    padding: 0; position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    display: flex; flex-direction: column;
}
#pcafi-conf-modal-content {
    overflow-y: auto; padding: 28px 32px;
    flex: 1; min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: #c5cfe0 transparent;
}
#pcafi-conf-modal-content::-webkit-scrollbar { width: 5px; }
#pcafi-conf-modal-content::-webkit-scrollbar-track { background: transparent; }
#pcafi-conf-modal-content::-webkit-scrollbar-thumb { background: #c5cfe0; border-radius: 10px; }
#pcafi-conf-modal-content::-webkit-scrollbar-thumb:hover { background: #002855; }
.pcafi-modal-close {
    position: absolute; top: 14px; right: 18px;
    background: none; border: none; font-size: 22px;
    cursor: pointer; color: #888; line-height: 1;
}
.pcafi-modal-close:hover { color: #c62828; }
#pcafi-conf-modal-content h3 { margin: 0 0 20px; color: #002855; font-size: 18px; }

/* Forms */
.pcafi-form-row { margin-bottom: 14px; }
.pcafi-form-row label { display: block; font-size: 12px; font-weight: 600; color: #444; margin-bottom: 4px; }
.pcafi-form-row input,
.pcafi-form-row select,
.pcafi-form-row textarea {
    width: 100%; padding: 8px 11px;
    border: 1px solid #c5cfe0; border-radius: 6px;
    font-size: 13px; box-sizing: border-box;
}
.pcafi-form-row textarea { min-height: 80px; resize: vertical; }
.pcafi-form-row input:focus,
.pcafi-form-row select:focus,
.pcafi-form-row textarea:focus {
    outline: none; border-color: #002855;
    box-shadow: 0 0 0 3px rgba(0,40,85,.08);
}
.pcafi-form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcafi-form-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid #eee; }
.pcafi-form-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; margin: 18px 0 8px; padding-bottom: 4px; border-bottom: 1px solid #e5e7eb; }
.pcafi-form-msg { padding: 8px 12px; border-radius: 6px; font-size: 13px; margin-top: 10px; }
.pcafi-form-msg.success { background: #e6f4ea; color: #2e7d32; }
.pcafi-form-msg.error   { background: #fce8e6; color: #c62828; }

/* Upload area */
.pcafi-upload-area {
    border: 2px dashed #c5cfe0; border-radius: 8px;
    padding: 20px; text-align: center; cursor: pointer;
    transition: border-color .15s; background: #fafbff;
}
.pcafi-upload-area:hover { border-color: #002855; }
.pcafi-upload-preview { max-width: 100%; max-height: 200px; margin-top: 10px; border-radius: 6px; }

/* Empty state */
.pcafi-empty { text-align: center; padding: 40px 20px; color: #aaa; font-size: 14px; }
.pcafi-empty svg { display: block; margin: 0 auto 12px; opacity: .3; }

/* Loading */
.pcafi-loading { text-align: center; padding: 30px; color: #888; font-size: 14px; }

/* Technology Sub-tabs */
.pcafi-tech-subtabs {
    display: flex; gap: 4px; margin: 16px 0 0;
    border-bottom: 2px solid #dde3f0;
    padding-bottom: 0;
}
.pcafi-tech-subtab {
    background: none; border: none; border-bottom: 3px solid transparent;
    padding: 8px 18px; font-size: 13px; font-weight: 600;
    color: #667; cursor: pointer; margin-bottom: -2px;
    border-radius: 6px 6px 0 0; transition: all 0.15s;
}
.pcafi-tech-subtab:hover { background: #f0f4ff; color: #002855; }
.pcafi-tech-subtab.active {
    color: #002855; border-bottom: 3px solid #c8a951;
    background: #f8f9ff;
}
.pcafi-tech-subtab-panels { padding: 16px 0; }
.pcafi-tech-subtab-panel { display: none; }
.pcafi-tech-subtab-panel.active { display: block; }

/* Technology Type Groups */
.pcafi-tech-type-group {
    margin-bottom: 20px;
}
.pcafi-tech-type-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; color: #c8a951;
    padding: 4px 0 6px; margin-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.mce-floatpanel, .mce-menu { z-index: 100001 !important; }

/* --- Onboarding Admin Modal (clean UI) --- */
.pcafi-ob-admin-head{
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #f8f9fb;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
}
.pcafi-ob-admin-title{
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #667085;
  margin-bottom: 4px;
}
.pcafi-ob-admin-sub{
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.pcafi-ob-admin-sub2{
  font-weight: 500;
  color: #475467;
}
.pcafi-ob-admin-progress{
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.pcafi-ob-admin-progressbar{
  width: 220px;
  height: 8px;
  background: #e9edf5;
  border-radius: 999px;
  overflow: hidden;
}
.pcafi-ob-admin-progressfill{
  height: 100%;
  background: #2563eb;
}
.pcafi-ob-admin-progresslabel{
  font-size: 12px;
  color: #667085;
}

.pcafi-ob-admin-table td{
  vertical-align: top;
}
.pcafi-ob-admin-step-title{
  font-weight: 700;
}
.pcafi-ob-admin-completed{
  color: #475467;
  font-size: 13px;
}
.pcafi-ob-admin-response-row td{
  background: #fafafa;
}
.pcafi-ob-admin-pre{
  margin: 8px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.35;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 8px;
}

/* Badges */
.pcafi-badge{
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.pcafi-badge-outline{
  background: #fff;
  border: 1px solid #d0d5dd;
  color: #344054;
}
.pcafi-badge-info{
  background: #eff8ff;
  color: #175cd3;
}
.pcafi-badge-success{
  background: #ecfdf3;
  color: #027a48;
}
.pcafi-badge-warn{
  background: #fffaeb;
  color: #b54708;
}
.pcafi-badge-muted{
  background: #f2f4f7;
  color: #475467;
}

/* Response modal formatting */
.pcafi-ob-response-modal{
  margin-top: 10px;
}
.pcafi-ob-response-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pcafi-ob-response-table td{
  border-bottom: 1px solid #eef0f6;
  padding: 10px 10px;
  vertical-align: top;
}
.pcafi-ob-response-key{
  width: 220px;
  font-weight: 700;
  color: #002855;
  background: #f8f9fb;
}
.pcafi-ob-response-val{
  color: #344054;
  word-break: break-word;
}
.pcafi-ob-response-pre{
  margin: 12px 0 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.4;
}

/* Response modal (v2) */
.pcafi-ob-response-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e6e8ef;
  background: #f8f9fb;
  border-radius: 12px 12px 0 0;
}
.pcafi-ob-response-title{
  font-size: 16px;
  font-weight: 800;
  color: #0b1b3a;
}
.pcafi-ob-response-actions{
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.pcafi-ob-response-body{
  padding: 14px 16px 18px;
  max-height: 55vh;
  overflow: auto;
}
.pcafi-ob-response-rawlabel{
  font-size: 12px;
  font-weight: 700;
  color: #667085;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Make the response table feel like a UI component */
.pcafi-ob-response-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}
.pcafi-ob-response-table tr:first-child td{
  border-top: 1px solid #eef0f6;
}
.pcafi-ob-response-table td{
  border-bottom: 1px solid #eef0f6;
  padding: 10px 10px;
  vertical-align: top;
}
.pcafi-ob-response-key{
  width: 240px;
  font-weight: 800;
  color: #0b1b3a;
  background: #fbfbfd;
}
.pcafi-ob-response-val{
  color: #344054;
  word-break: break-word;
}

/* Raw response */
.pcafi-ob-response-pre{
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.45;
}
