/* =========================================
   MODALS - Coming Soon + Confirm + Job Modal
   ========================================= */

/* =========================================
   UNIVERZÁLNÍ MODAL (pro Job Ads a další)
   ========================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  width: 500px;
  max-width: 90vw;
  max-height: 85vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

.modal.modal-wide {
  width: 780px;
  max-width: 90vw;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.modal-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-icon svg {
  color: var(--color-accent);
}

.modal-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-close:hover {
  background: var(--color-hover);
  color: var(--color-text);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Job Modal specifické styly */
.job-modal-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-muted);
}

.job-modal-meta div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.job-modal-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
}

.job-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.job-modal-link:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================
   COMING SOON MODAL
   ========================================= */
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.coming-soon-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.coming-soon-dialog {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 360px;
  max-width: 90vw;
  max-height: 80vh;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.coming-soon-dialog.modal-wide {
  width: 780px;
  max-width: 90vw;
}

.coming-soon-overlay.open .coming-soon-dialog { transform: scale(1); }

.coming-soon-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  padding: 10px;
  background: var(--color-accent-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coming-soon-icon svg { color: var(--color-accent); }

.coming-soon-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 12px;
}

.coming-soon-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 24px;
  overflow-y: auto;
  max-height: 60vh;
}

.coming-soon-close {
  background: var(--color-accent);
  color: var(--color-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.coming-soon-close:hover {
  background: var(--color-accent-hover);
}

.employee-contacts-refresh:hover {
  text-decoration: underline;
}

.employee-contacts-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 11px;
  color: var(--color-text-muted);
}

.employee-contacts-error {
  font-size: 11px;
  color: var(--color-danger);
  padding: 6px 0;
}

/* Komunikační profil - výsledky */
.employee-profile-result {
  margin-top: 0;
}

.employee-profile-content {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.employee-profile-disclaimer {
  font-size: 10px;
  color: var(--color-warning);
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.2);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.employee-profile-nodata {
  padding: 8px 0;
}

.employee-profile-nodata-text {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.employee-source {
  font-size: 11px;
  color: var(--color-text);
  padding: 4px 0;
}

.employee-source-type {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--color-surface-3);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--color-text-muted);
}

.employee-source-insight {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 2px;
  padding-left: 4px;
  line-height: 1.4;
}

.employee-profile-box {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}

.employee-profile-type {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 6px;
}

.employee-profile-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 6px;
}

.employee-profile-evidence {
  font-size: 10px;
  color: var(--color-text-dim);
  font-style: italic;
}

.employee-rec-row {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text);
  padding: 3px 0;
}

.employee-rec-row strong {
  font-weight: 600;
  color: var(--color-accent);
}
