/* ==================== MODERN CANDIDATE DASHBOARD ==================== */

/* Main Content */
.main-content {
  padding: 0 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Page Header */
.page-header {
  margin-bottom: 2rem;
}

.breadcrumb-modern {
  background: transparent;
  padding: 0;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.breadcrumb-modern a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-modern a:hover {
  color: #dc3545;
}

.breadcrumb-modern .active {
  color: #495057;
  font-weight: 500;
}

/* ==================== JOB DETAIL HEADER ==================== */
.job-detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin: 0;
  line-height: 1.2;
}

.job-meta {
  font-size: 0.9rem;
}

.bg-success-custom {
  background: #10b981 !important;
  color: white !important;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bg-warning-custom {
  background: #f59e0b !important;
  color: white !important;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bg-secondary-custom {
  background: #6b7280 !important;
  color: white !important;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.bg-expired {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
  color: white !important;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  animation: pulse-expired 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

@keyframes pulse-expired {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.8);
  }
}

/* ==================== CONTENT CARDS ==================== */
.content-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.3s ease;
}

.content-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.card-header-custom {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

.card-body-custom {
  padding: 1.5rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
}

/* ==================== JOB CONTENT ==================== */
.job-content {
  color: #495057;
  line-height: 1.8;
  font-size: 0.95rem;
}

.job-content p {
  margin-bottom: 1rem;
}

.job-content ul,
.job-content ol {
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 0.75rem;
  line-height: 1.8;
  list-style-position: outside;
}

.job-content li {
  margin-bottom: 1.25rem;
  padding-left: 0.75rem;
  position: relative;
  display: list-item;
  line-height: 1.8;
}

.job-content ul li::marker {
  color: #dc3545;
  font-size: 1.2em;
  font-weight: bold;
}

.job-content ol li::marker {
  color: #dc3545;
  font-weight: bold;
}

/* Adicionar mais espaço entre listas aninhadas */
.job-content ul ul,
.job-content ol ol,
.job-content ul ol,
.job-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ==================== INFO ITEMS ==================== */
.info-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f3f5;
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-item:first-child {
  padding-top: 0;
}

.info-item i {
  font-size: 1.25rem;
  margin-top: 0.125rem;
}

.info-label {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 0.95rem;
  color: #212529;
  font-weight: 600;
}

/* ==================== CTA CARD ==================== */
.cta-card {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
  border: 2px solid #dc3545;
}

.cta-card.expired-cta {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border: 2px solid #9ca3af;
}

.cta-card .card-body-custom {
  padding: 2rem 1.5rem;
}

/* ==================== DISABLED BUTTONS FOR EXPIRED JOBS ==================== */
.btn-apply:disabled,
.btn-cta-apply:disabled {
  background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%) !important;
  border: none;
  cursor: not-allowed;
  opacity: 0.7;
  position: relative;
  overflow: hidden;
  transform: none !important;
  box-shadow: none !important;
}

.btn-apply:disabled::after,
.btn-cta-apply:disabled::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.1) 10px,
    rgba(255, 255, 255, 0.1) 20px
  );
  animation: stripes 1s linear infinite;
}

@keyframes stripes {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(28px, 0);
  }
}

/* ==================== LISTS ==================== */
.list-unstyled li {
  padding: 0.5rem 0;
  color: #495057;
}

/* ==================== BUTTONS ==================== */
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  border: none;
}

.btn-danger:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-outline-secondary {
  border: 1px solid #6c757d;
  color: #6c757d;
  background: transparent;
}

.btn-outline-secondary:hover:not(:disabled) {
  background: #6c757d;
  color: white;
  transform: translateY(-1px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 767px) {
  .main-content {
    padding: 0 0.5rem;
  }

  .job-detail-title {
    font-size: 1.5rem;
  }

  .job-meta {
    flex-direction: column;
    gap: 0.5rem !important;
  }
}
