.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-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-logout-btn {
    width: 100%;
    text-align: center;
  }
}
/* ===============================
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;
}