.cpd-dashboard {
  max-width: 1100px;
  margin: 20px auto;
  font-family: inherit;
}

.cpd-dashboard h1 {
  margin-bottom: 16px;
}

.cpd-global-search {
  position: relative;
  margin-bottom: 20px;
}

.cpd-global-search input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#cpd-global-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

#cpd-global-search-results ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#cpd-global-search-results li {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}

.cpd-search-empty {
  padding: 8px 12px;
  color: #888;
}

.cpd-tabs, .cpd-subtabs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 16px;
  padding: 0;
  border-bottom: 2px solid #e2e2e2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.cpd-tabs li, .cpd-subtabs li {
  flex: 0 0 auto;
}

.cpd-tabs li a, .cpd-subtabs li a {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #444;
  border-radius: 4px 4px 0 0;
}

.cpd-tabs li.cpd-tab-active a, .cpd-subtabs li.cpd-tab-active a {
  background: #2c5cc5;
  color: #fff;
}

.cpd-search-form {
  margin-bottom: 14px;
}

.cpd-search-form input[type="text"] {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 280px;
}

.cpd-table {
  width: 100%;
  border-collapse: collapse;
}

.cpd-table th, .cpd-table td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.cpd-table th {
  background: #f7f7f7;
  font-weight: 600;
}

.cpd-inline-field {
  width: 100%;
  min-width: 110px;
  padding: 5px 6px;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  color: #333;
}

.cpd-empty-row td {
  text-align: center;
  color: #888;
  padding: 24px;
}

.cpd-btn {
  display: inline-block;
  padding: 5px 10px;
  margin: 2px 3px 2px 0;
  font-size: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.cpd-btn:hover {
  background: #f0f0f0;
}

.cpd-btn-primary, .cpd-btn-connect, .cpd-btn-hired {
  background: #2c8c4c;
  color: #fff;
  border-color: #2c8c4c;
}

.cpd-btn-rejected {
  background: #c53030;
  color: #fff;
  border-color: #c53030;
}

.cpd-btn-outcome {
  background: #f0ad4e;
  color: #fff;
  border-color: #f0ad4e;
}

.cpd-btn-archive {
  background: #6c757d;
  color: #fff;
  border-color: #6c757d;
}

.cpd-btn-restore {
  background: #2c8c4c;
  color: #fff;
  border-color: #2c8c4c;
}

.cpd-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.cpd-tab-count {
  display: inline-block;
  background: rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 11px;
  margin-left: 4px;
}

.cpd-tabs li.cpd-tab-active .cpd-tab-count, .cpd-subtabs li.cpd-tab-active .cpd-tab-count {
  background: rgba(255,255,255,0.25);
}

.cpd-view-toggle {
  margin-bottom: 14px;
}

.cpd-pagination {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.cpd-pagination-status {
  color: #666;
  font-size: 13px;
}

.cpd-upload p {
  margin-bottom: 12px;
}

.cpd-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.cpd-modal.cpd-hidden {
  display: none;
}

.cpd-modal-box {
  background: #fff;
  border-radius: 6px;
  padding: 24px;
  width: 90%;
  max-width: 480px;
  position: relative;
}

.cpd-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.hidden, .cpd-hidden {
  display: none !important;
}

.cpd-call-mode {
  max-width: 640px;
  margin: 0 auto;
}

.cpd-call-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: #666;
}

.cpd-call-nav {
  display: flex;
  gap: 6px;
}

.cpd-call-empty {
  text-align: center;
  color: #888;
  padding: 60px 0;
}

.cpd-call-card {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.cpd-call-header h2 {
  margin: 0 0 4px;
}

.cpd-call-subline {
  color: #2c5cc5;
  font-size: 13px;
  min-height: 16px;
}

.cpd-call-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 16px 0;
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.cpd-call-contact-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2px;
}

.cpd-call-schedule-info {
  margin-bottom: 12px;
  font-weight: 600;
}

.cpd-call-actions {
  margin-bottom: 20px;
}

.cpd-call-actions .cpd-btn {
  padding: 8px 14px;
  font-size: 13px;
}

.cpd-call-notes textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 6px 0;
}

.cpd-notes-saved {
  color: #2c8c4c;
  margin-left: 8px;
  font-size: 12px;
}

.cpd-call-activity {
  margin-top: 20px;
}

.cpd-call-activity h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.cpd-call-activity ul, #cpd-detail-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
}

.cpd-call-activity li, #cpd-detail-activity li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.cpd-activity-at {
  color: #999;
  font-size: 11px;
}

.cpd-activity-loading, .cpd-activity-empty {
  color: #888;
}

.cpd-template-hint {
  color: #888;
  font-size: 12px;
  margin: 4px 0 12px;
}

.cpd-templates p {
  margin-bottom: 14px;
}

.cpd-template-global-badge {
  display: inline-block;
  background: #eef2f7;
  color: #555;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.cpd-template-readonly-hint {
  color: #999;
  font-size: 12px;
  font-style: italic;
}

/* file end: ./oc-content/plugins/careerplace_dashboard/assets/css/dashboard.css */
