.pcr-wrapper {
  margin: 30px auto;
  background: #071631;
  max-width: 980px;
  padding: 28px;
  border-radius: 18px;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

/* ===============================
TITLE & SECTION BASE
=============================== */
.pcr-main-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 24px;
  color: #ffffff;
}

.pcr-section,
.pcr-section-card {
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.pcr-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fb923c;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.pcr-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fb923c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

.pcr-subtitle {
  color: #94a3b8;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  margin-top: 6px;
}

/* ===============================
GRIDS & INPUTS
=============================== */
.pcr-grid-2,
.pcr-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pcr-two-columns { gap: 40px; }

.pcr-wrapper input,
.pcr-wrapper textarea,
.pcr-wrapper select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #22314f;
  background: #0f1c3a;
  color: #ffffff;
  outline: none;
  box-sizing: border-box;
}

.pcr-wrapper input::placeholder,
.pcr-wrapper textarea::placeholder {
  color: #b8c0d3;
}

.pcr-wrapper textarea {
  min-height: 110px;
  resize: vertical;
}

/* ===============================
TAG BUTTONS, STATUS, ACTION
=============================== */
.pcr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pcr-tags button {
  background: #111827;
  border: 1px solid #1f2937;
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s ease;
}

.pcr-tags button:hover {
  border-color: #fb923c;
  color: #fb923c;
}

.pcr-tags button.active {
  background: #fb923c;
  border-color: #fb923c;
  color: white;
}

.pcr-status-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 10px;
}

.pcr-status-btn {
  padding: 16px 0;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: .25s;
  font-size: 14px;
}

.pcr-status-btn.active {
  outline: 2px solid rgba(255,255,255,.25);
  transform: translateY(-1px);
}

.pcr-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}

.pcr-action-btn {
  background: #1a2238;
  border: 1px solid #2b3653;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #9fb3ff;
  cursor: pointer;
  transition: .25s;
  min-height: 74px;
}

.pcr-action-btn.active {
  border-color: #fb923c;
  background: #1f2a46;
  color: #ffffff;
}

/* ===============================
DATE INPUT - ΠΙΟ ΚΟΝΤΑ ΕΙΚΟΝΙΔΙΟ
=============================== */
.pcr-date-input {
    width: 100%;
    margin-top: 8px;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 10px;
    padding: 12px 160px 12px 160px;     /* λιγότερο padding δεξιά */
    color: white;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}

/* Το εικονίδιο ημερολογίου πιο αριστερά και καθαρό */
.pcr-date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.9) brightness(1.6);
    margin-left: 120px;          /* ρυθμίσαμε την απόσταση */
    padding: 50px;
    cursor: pointer;
    opacity: 1;
    position: absolute;
    right: 500px;                /* το τοποθετούμε σταθερά δεξιά αλλά κοντά */
    top: 50%;
    transform: translateY(-50%);
}

/* Firefox */
.pcr-date-input::-moz-calendar-picker-indicator {
    filter: invert(0.9) brightness(1.6);
    opacity: 1;
}

/* Hover & Focus */
.pcr-date-input:hover {
    border-color: #fb923c;
    background: #1a2238;
}

.pcr-date-input:focus {
    outline: none;
    border-color: #fb923c;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.25);
}

/* Notes Area (ξεχωριστά) */
.pcr-notes-area {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* ===============================
MESSAGES
=============================== */

 .pcr-error-msg {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  background: #d9534f;   /* ← Πρόσθεσε το # μπροστά */
  padding: 16px 22px;
  border-radius: 10px;
  margin-bottom: 24px;
  letter-spacing: .3px;
}

.pcr-success-msg {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #10b981, #34d399);
  padding: 18px 24px;
  border-radius: 12px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
  border: 1px solid rgba(255,255,255,0.1);
  animation: pcrSuccessPop 0.4s ease;
}

.pcr-success-msg::before {
  content: "✓";
  font-size: 24px;
  font-weight: 900;
}

@keyframes pcrSuccessPop {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
/* ===============================
USER BAR
=============================== */
.pcr-user-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.20);
}

.pcr-user-info {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.pcr-user-info strong {
  color: #fb923c;
  font-weight: 800;
}



.pcr-date-override {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pcr-date-override-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: #1f2a46;
  color: #ffffff;
  border: 1px solid #334155;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}

.pcr-date-override-btn:hover,
.pcr-date-override-btn.active {
  background: #334155;
  border-color: #fb923c;
  color: #fb923c;
}

.pcr-date-override-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 310px;
  background: #0b1220;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.pcr-date-override-panel.active {
  display: block;
}

.pcr-date-override-panel label {
  display: block;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pcr-date-override-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pcr-date-override-row input[type="date"] {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f1c3a;
  color: #ffffff;
}

.pcr-date-auto-btn {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #475569;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.pcr-date-auto-btn:hover {
  background: #334155;
}

.pcr-date-override-panel small {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  line-height: 1.4;
}

.pcr-logout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fb923c;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: all .2s ease;
}

.pcr-logout-btn:hover {
  background: #ea7a1a;
  color: #ffffff;
}

/* ===============================
FILTERS & RECENT RECORDS
=============================== */
.pcr-filters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin-bottom: 20px;
}

.pcr-filter-item {
  display: flex;
  flex-direction: column;
}

.pcr-filter-item label {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 500;
}

.pcr-filter-item select,
.pcr-filter-item input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 14px;
}

.pcr-filters-actions {
  margin-top: 10px;
}

.pcr-clear-filters-btn,
.pcr-export-btn {
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.pcr-clear-filters-btn {
  background: #475569;
  color: #cbd5e1;
}

.pcr-clear-filters-btn:hover {
  background: #334155;
}

.pcr-export-btn {
  background: #16a34a;
  color: white;
}

.pcr-export-btn:hover {
  background: #15803d;
}

.pcr-recent-records {
  margin: 34px auto 0;
  max-width: 980px;
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border: 1px solid #1e293b;
  border-radius: 18px;
  padding: 30px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.pcr-recent-header {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fb923c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.pcr-recent-card {
  background: #111827;
  border: 1px solid #22314f;
  border-radius: 14px;
  padding: 18px 20px;
  transition: .25s;
  margin-bottom: 12px;
}

.pcr-recent-card:hover {
  border-color: #fb923c;
  transform: translateY(-2px);
}

.pcr-recent-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pcr-recent-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
}

.pcr-recent-date {
  font-size: 13px;
  color: #94a3b8;
  white-space: nowrap;
}

.pcr-recent-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

.pcr-recent-empty {
  background: #111827;
  border: 1px solid #22314f;
  border-radius: 14px;
  padding: 18px 20px;
  color: #cbd5e1;
  font-size: 15px;
}

/* ===============================
LOGIN SCREEN
=============================== */
.pcr-login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.pcr-login-card {
  max-width: 520px;
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border: 1px solid #1e293b;
  border-radius: 22px;
  padding: 42px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.pcr-login-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.pcr-login-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pcr-login-text {
  font-size: 15px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 30px;
}

.pcr-login-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.pcr-login-btn {
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: .25s ease;
}

.pcr-login-btn.primary {
  background: #fb923c;
  color: white;
}

.pcr-login-btn.primary:hover {
  background: #ea7a1a;
}

.pcr-login-btn.secondary {
  border: 1px solid #334155;
  color: #cbd5e1;
}

.pcr-login-btn.secondary:hover {
  border-color: #fb923c;
  color: #fb923c;
}

/* ===============================
ADMIN PANEL - MULTIPLE DELETE STYLES (ΝΕΑ ΠΡΟΣΘΗΚΗ)
=============================== */
.wrap table.widefat th,
.wrap table.widefat td {
  padding: 12px 10px;
  vertical-align: middle;
}

.wrap table.widefat th:first-child,
.wrap table.widefat td:first-child {
  width: 45px;
  text-align: center;
}

.pcr-row-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #fb923c;
}

#select-all {
  width: 18px;
  height: 18px;
  accent-color: #fb923c;
}

.button.button-primary[style*="background:#d63638"] {
  background: #d63638 !important;
  border-color: #d63638 !important;
  color: white;
  font-weight: 600;
}

.button.button-primary[style*="background:#d63638"]:hover {
  background: #b91c1c !important;
}

/* Responsive για Admin Πίνακα */
@media (max-width: 1100px) {
  .wrap table.widefat {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .pcr-filters-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .pcr-user-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .pcr-date-override {
    width: 100%;
    justify-content: flex-start;
  }

  .pcr-date-override-btn,
  .pcr-logout-btn {
    width: 100%;
    text-align: center;
  }

  .pcr-date-override-panel {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 10px;
  }
}
/* ===============================
ADMIN PANEL IMPROVEMENTS
=============================== */

/* Καλύτερο styling για το bulk delete button */
.button.button-large[style*="background:#d63638"] {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 20px;
}

.button.button-large[style*="background:#d63638"]:hover {
    background: #dc2626 !important;
}

/* Καλύτερο spacing και εμφάνιση πίνακα admin */
.wrap .widefat th,
.wrap .widefat td {
    padding: 14px 10px;
    vertical-align: middle;
}

.wrap .widefat th:first-child,
.wrap .widefat td:first-child {
    width: 50px;
    text-align: center;
}

/* Highlight όταν είναι τσεκαρισμένο */
.pcr-row-checkbox:checked {
    accent-color: #fb923c;
}

/* Βελτίωση responsive για admin πίνακα */
@media (max-width: 1200px) {
    .wrap table.widefat {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-collapse: collapse;
    }
    
    .wrap .widefat thead {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #1e2937;
    }
}

/* Μικρή βελτίωση για τα φίλτρα */
.pcr-filters-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===============================
ADMIN EDIT FORM GRID LAYOUT
=============================== */

.wrap .pcr-wrapper {

    max-width: 1200px;

}


.wrap .pcr-grid-2 {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

}


@media (min-width: 1400px) {

.wrap .pcr-grid-2 {

    grid-template-columns: repeat(3, 1fr);

}

}


@media (max-width: 900px) {

.wrap .pcr-grid-2 {

    grid-template-columns: 1fr;

}

}


/* ===============================
ADMIN LABEL STYLING
=============================== */

.wrap .pcr-wrapper label {

    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #e2e8f0;
    margin-bottom: 6px;

}


/* ===============================
ADMIN INPUT STYLING
=============================== */

.wrap .pcr-wrapper input,
.wrap .pcr-wrapper select,
.wrap .pcr-wrapper textarea {

    width: 100%;
    background: #020617;
    border: 1px solid #334155;
    color: white;
    padding: 8px 10px;
    border-radius: 6px;

}


.wrap .pcr-wrapper input:focus,
.wrap .pcr-wrapper select:focus,
.wrap .pcr-wrapper textarea:focus {

    border-color: #22c55e;
    outline: none;

}

/* ===============================
FRONTEND RECORD CARD GRID LAYOUT
=============================== */

.pcr-recent-meta {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 18px;
    margin-top: 8px;

}


/* Notes row full width */

.pcr-recent-meta .pcr-notes-row {

    grid-column: span 2;

}


/* USER FIELD LIME COLOR */

.pcr-recent-meta .pcr-user-row strong {

    color: #84cc16 !important;

}


/* Mobile responsive */

@media (max-width: 700px) {

    .pcr-recent-meta {

        grid-template-columns: 1fr;

    }

}

/* ===============================
RECENT RECORDS LABEL COLORS
=============================== */

.pcr-recent-meta strong {
    color: #fb923c;
    font-weight: 700;
    margin-right: 6px;
}

.pcr-recent-meta .pcr-user-row strong {
    color: #84cc16 !important;
}

/* ==================== REMINDER MODAL - ΒΕΛΤΙΩΜΕΝΗ ΕΚΔΟΣΗ 2 ==================== */
.pcr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.pcr-modal-content {
    background: #0a1428;
    border: 1px solid #475569;
    border-radius: 18px;
    width: 92%;
    max-width: 860px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.pcr-modal-header {
    padding: 20px 28px;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pcr-modal-header h3 {
    margin: 0;
    color: #fbbf24;
    font-size: 21px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcr-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 28px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 10px;
}

.pcr-close-btn:hover {
    background: #ef4444;
    color: white;
}

/* Reminder Card */
.pcr-reminder-list {
    padding: 24px;
    max-height: 72vh;
    overflow-y: auto;
}

.pcr-reminder-item {
    background: #13213a;
    border: 2px solid #334155;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.pcr-reminder-item:hover {
    border-color: #fb923c;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 146, 60, 0.15);
}

.pcr-reminder-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1e293b;
    color: #fbbf24;
    font-weight: 700;
    font-size: 15.5px;
    padding: 8px 18px;
    border-radius: 9999px;
    margin-bottom: 14px;
    border: 1px solid #475569;
}

.pcr-reminder-name {
    font-size: 19.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.pcr-reminder-phone {
    color: #67e8f9;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pcr-reminder-action {
    color: #fb923c;
    font-size: 16.5px;
    font-weight: 700;
    margin: 12px 0 10px;
}

.pcr-reminder-notes {
    color: #e2e8f0;
    line-height: 1.65;
    font-size: 15px;
}

.pcr-reminder-user {
    margin-top: 16px;
    font-size: 13.5px;
    color: #94a3b8;
}
/* ===============================
PAGED RECORD LIST / LOAD 50 BY 50
=============================== */
.pcr-results-summary-paged {
  margin: 14px 0 16px;
  color: #cbd5e1;
  font-size: 15px;
}

.pcr-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #0f172a;
  border: 1px solid #22314f;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0 20px;
}

.pcr-pagination.bottom {
  margin: 22px 0 0;
}

.pcr-pagination-info {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 600;
}

.pcr-pagination-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.pcr-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 9px;
  background: #475569;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: .2s ease;
}

.pcr-page-btn:hover {
  background: #334155;
  color: #ffffff;
}

.pcr-page-btn.primary {
  background: #fb923c;
}

.pcr-page-btn.primary:hover {
  background: #ea7a1a;
}

@media (max-width: 700px) {
  .pcr-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .pcr-pagination-actions {
    justify-content: stretch;
  }

  .pcr-page-btn {
    width: 100%;
  }
}

/* ===============================
SECTION 3 - Customer type & application space
=============================== */
.pcr-type-space-card {
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 64, 175, .28) 0%, transparent 34%),
    linear-gradient(145deg, #071326 0%, #081426 54%, #050b16 100%) !important;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  border-radius: 26px !important;
  padding: 38px 40px !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.025) !important;
}

.pcr-type-space-header {
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: 2.5px !important;
  color: #fb923c !important;
  margin-bottom: 34px !important;
}

.pcr-type-space-card .pcr-step {
  width: 44px;
  height: 44px;
  font-size: 20px;
  background: linear-gradient(135deg, #ffb15f 0%, #fb7a18 100%);
  box-shadow: 0 10px 22px rgba(251, 146, 60, .28);
}

.pcr-type-space-grid {
  gap: 74px !important;
  align-items: start;
}

.pcr-type-space-card .pcr-subtitle {
  color: #9db7d6;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.pcr-icon-tags {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

.pcr-icon-tags button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px !important;
  background: linear-gradient(180deg, rgba(15, 27, 48, .96), rgba(9, 18, 34, .96)) !important;
  border: 1px solid rgba(148, 163, 184, .20) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.pcr-customer-tags button .pcr-tag-icon {
  color: #fb923c;
}

.pcr-space-tags button .pcr-tag-icon {
  color: #2f8cff;
}

.pcr-tag-icon {
  min-width: 30px;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
}

.pcr-icon-tags button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(20, 36, 62, .98), rgba(10, 20, 38, .98)) !important;
  border-color: rgba(251,146,60,.55) !important;
}

.pcr-space-tags button:hover {
  border-color: rgba(47,140,255,.55) !important;
}

.pcr-icon-tags button.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(251,146,60,.26), rgba(15,23,42,.98)) !important;
  border-color: #fb923c !important;
}

.pcr-space-tags button.active {
  background: linear-gradient(135deg, rgba(47,140,255,.25), rgba(15,23,42,.98)) !important;
  border-color: #2f8cff !important;
}

@media (max-width: 760px) {
  .pcr-type-space-card {
    padding: 28px 22px !important;
  }
  .pcr-type-space-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }
  .pcr-icon-tags button {
    font-size: 15px !important;
    min-height: 52px;
  }
}

/* ===============================
CALL RECORD LEFT ADMIN PANEL
=============================== */
.pcr-app-layout {
  max-width: 1380px;
  margin: 28px auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pcr-app-main {
  min-width: 0;
}

.pcr-app-layout .pcr-wrapper,
.pcr-app-layout .pcr-recent-records {
  margin-top: 0;
  max-width: none;
}

.pcr-admin-panel {
  position: sticky;
  top: 22px;
  background: linear-gradient(180deg, #071631 0%, #0b1220 100%);
  color: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.pcr-admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  margin-bottom: 14px;
}

.pcr-admin-logo {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: .5px;
  box-shadow: 0 8px 22px rgba(249, 115, 22, .28);
}

.pcr-admin-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
}

.pcr-admin-brand span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.pcr-admin-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pcr-admin-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(15, 23, 42, 0.48);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  text-align: left;
}

.pcr-admin-nav-item span {
  width: 22px;
  display: inline-flex;
  justify-content: center;
}

.pcr-admin-nav-item:hover,
.pcr-admin-nav-item.active {
  color: #ffffff;
  border-color: rgba(251, 146, 60, .38);
  background: linear-gradient(90deg, rgba(251, 146, 60, .20), rgba(59, 130, 246, .08));
}

.pcr-admin-button {
  font-family: inherit;
}

.pcr-admin-footer {
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(2, 6, 23, .52);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.pcr-admin-footer span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.pcr-admin-footer strong {
  display: block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 14px;
  word-break: break-word;
}

.pcr-admin-footer a {
  display: inline-flex;
  margin-top: 10px;
  color: #fb923c;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 980px) {
  .pcr-app-layout {
    display: block;
    margin: 18px auto;
  }

  .pcr-admin-panel {
    position: relative;
    top: auto;
    margin: 0 12px 16px;
  }

  .pcr-admin-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pcr-admin-footer {
    display: none;
  }
}

@media (max-width: 560px) {
  .pcr-admin-nav {
    grid-template-columns: 1fr;
  }
}

/* ===============================
SECTIONS 2 & 4 - same visual language as section 3
=============================== */
.pcr-styled-choice-card {
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 64, 175, .28) 0%, transparent 34%),
    linear-gradient(145deg, #071326 0%, #081426 54%, #050b16 100%) !important;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  border-radius: 26px !important;
  padding: 38px 40px !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.025) !important;
}

.pcr-styled-choice-header {
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: 2.5px !important;
  color: #fb923c !important;
  margin-bottom: 30px !important;
}

.pcr-styled-choice-card .pcr-step {
  width: 44px;
  height: 44px;
  font-size: 20px;
  background: linear-gradient(135deg, #ffb15f 0%, #fb7a18 100%);
  box-shadow: 0 10px 22px rgba(251, 146, 60, .28);
}

.pcr-styled-choice-card .pcr-subtitle {
  color: #9db7d6;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.pcr-source-card .pcr-icon-tags {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.pcr-problem-product-grid {
  gap: 74px !important;
  align-items: start;
}

.pcr-source-tags button .pcr-tag-icon,
.pcr-problem-tags button .pcr-tag-icon {
  color: #fb923c;
}

.pcr-product-tags button .pcr-tag-icon {
  color: #2f8cff;
}

.pcr-source-tags button:hover,
.pcr-problem-tags button:hover {
  border-color: rgba(251,146,60,.55) !important;
}

.pcr-product-tags button:hover {
  border-color: rgba(47,140,255,.55) !important;
}

.pcr-source-tags button.active,
.pcr-problem-tags button.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(251,146,60,.26), rgba(15,23,42,.98)) !important;
  border-color: #fb923c !important;
}

.pcr-product-tags button.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(47,140,255,.25), rgba(15,23,42,.98)) !important;
  border-color: #2f8cff !important;
}

@media (max-width: 900px) {
  .pcr-source-card .pcr-icon-tags {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .pcr-styled-choice-card {
    padding: 28px 22px !important;
  }
  .pcr-problem-product-grid {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }
}

/* v14: admin panel parent/child hierarchy */
.pcr-admin-nav-item.pcr-admin-parent {
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 950;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(251, 146, 60, .24), rgba(15, 23, 42, .58));
  border-color: rgba(251, 146, 60, .30);
}

.pcr-admin-nav-item.pcr-admin-parent span {
  width: 28px;
  font-size: 18px;
  color: #ffffff;
}

.pcr-admin-nav-item.pcr-admin-child {
  width: calc(100% - 22px);
  margin-left: 22px;
  padding-left: 12px;
  font-size: 13px;
  min-height: 40px;
  background: rgba(15, 23, 42, 0.34);
  border-color: rgba(148, 163, 184, 0.08);
}

.pcr-admin-nav-item.pcr-admin-child span {
  width: 22px;
}

/* V16_a: Counts + old imported records */
.pcr-record-counts-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}
.pcr-record-count-card {
  background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}
.pcr-record-count-card span {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 8px;
}
.pcr-record-count-card strong {
  display: block;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}
.pcr-record-count-card.total { border-color: rgba(59, 130, 246, .55); }
.pcr-record-count-card.active { border-color: rgba(34, 197, 94, .55); }
.pcr-record-count-card.old { border-color: rgba(245, 158, 11, .70); background: linear-gradient(135deg, #3b2412 0%, #111827 100%); }
.pcr-recent-card.pcr-old-import-card {
  background: linear-gradient(135deg, #3b2412 0%, #4a2b12 100%) !important;
  border-color: #f59e0b !important;
  box-shadow: 0 12px 28px rgba(245, 158, 11, .18) !important;
}
.pcr-recent-card.pcr-old-import-card .pcr-recent-date,
.pcr-recent-card.pcr-old-import-card .pcr-recent-meta {
  color: #fef3c7 !important;
}
.pcr-old-import-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f59e0b;
  color: #111827;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  vertical-align: middle;
}
@media (max-width: 760px) {
  .pcr-record-counts-panel { grid-template-columns: 1fr; }
}
