/* Styles for job advertisement delete confirmation dialog */
.job-ad-delete-dialog.ui-dialog {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.job-ad-delete-dialog .ui-dialog-titlebar {
  background: #d32f2f !important;
  color: white !important;
  border: none !important;
  padding: 15px 20px !important;
  font-weight: 600 !important;
  font-size: 18px !important;
}

.job-ad-delete-dialog .ui-dialog-titlebar-close {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-ad-delete-dialog .ui-dialog-titlebar-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.job-ad-delete-dialog .ui-dialog-titlebar-close .ui-icon {
  background: none;
  text-indent: 0;
  overflow: visible;
  width: auto;
  height: auto;
}

.job-ad-delete-dialog .ui-dialog-titlebar-close .ui-icon:before {
  content: "×";
  font-size: 24px;
  line-height: 1;
  color: white;
  font-weight: 300;
}

.job-ad-delete-dialog .ui-dialog-content {
  padding: 30px 20px !important;
}

.job-ad-delete-dialog .ui-dialog-content p {
  margin: 0 0 15px 0;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.job-ad-delete-dialog .ui-dialog-content p:last-child {
  margin-bottom: 0;
}

.job-ad-delete-dialog .ui-dialog-content p strong {
  color: #d32f2f;
  font-weight: 600;
}

.job-ad-delete-dialog .ui-dialog-buttonpane {
  padding: 15px 20px;
  background: #f5f5f5;
  border-top: 1px solid #ddd;
}

.job-ad-delete-dialog .ui-dialog-buttonset {
  float: right;
  display: flex;
  gap: 10px;
}

.job-ad-delete-dialog .ui-dialog-buttonset button {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.job-ad-delete-dialog .ui-dialog-buttonset button:first-child {
  background: #fff;
  color: #333;
  border: 1px solid #ccc;
}

.job-ad-delete-dialog .ui-dialog-buttonset button:first-child:hover {
  background: #f5f5f5;
  border-color: #999;
}

.job-ad-delete-dialog .ui-dialog-buttonset button.button--danger {
  background: #d32f2f;
  color: white;
}

.job-ad-delete-dialog .ui-dialog-buttonset button.button--danger:hover {
  background: #b71c1c;
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

/* Overlay */
.ui-widget-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* Messages container styles */
.messages-container {
  margin: 20px 0;
}

.messages {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 15px;
  border-left: 4px solid;
  animation: slideDown 0.3s ease-out;
}

.messages--success {
  background: #e8f5e9;
  border-left-color: #4caf50;
  color: #2e7d32;
}

.messages--error {
  background: #ffebee;
  border-left-color: #f44336;
  color: #c62828;
}

.messages--warning {
  background: #fff3e0;
  border-left-color: #ff9800;
  color: #e65100;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
