/* CSS cho nút mô tả công việc */
.job-description-btn-mtcv-wat {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Khi có nội dung - có thể click */
.job-description-btn-mtcv-wat.clickable {
  background: #cf1508;
  color: white;
  cursor: pointer;
}


/* Khi không có nội dung - disabled */
.job-description-btn-mtcv-wat.disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
}

/* CSS cho popup */
.job-popup-overlay-mtcv-wat {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.job-popup-overlay-mtcv-wat.active {
  display: flex;
}

.job-popup-content-mtcv-wat {
  background: white;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: popupFadeIn-mtcv-wat 0.3s ease;
}

@keyframes popupFadeIn-mtcv-wat {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.job-popup-header-mtcv-wat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 10px;
  border-bottom: 1px solid #eee;
}

.job-popup-header-mtcv-wat h3 {
  margin: 0;
  color: #333;
  font-size: 18px;
}

.job-popup-close-mtcv-wat {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-popup-close-mtcv-wat:hover {
  color: #333;
}

.job-popup-body-mtcv-wat {
  padding: 20px;
}

.job-popup-body-mtcv-wat p {
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .job-popup-content-mtcv-wat {
    width: 95%;
    max-height: 90vh;
  }
  
  .job-popup-header-mtcv-wat,
  .job-popup-body-mtcv-wat {
    padding: 15px;
  }
}