/* Duyuru modalı */
.crm-ann-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.crm-ann-modal[hidden] {
  display: none !important;
}

.crm-ann-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.crm-ann-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 96vw);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  padding: 1rem;
}

.crm-ann-modal__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.crm-ann-modal__close:hover {
  background: rgba(15, 23, 42, 0.9);
}

.crm-ann-modal__image-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.crm-ann-modal__image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.crm-ann-modal__actions {
  display: flex;
  justify-content: center;
  padding: 0.85rem 0.25rem 0.35rem;
}

.crm-ann-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.crm-ann-modal__btn:hover {
  background: #1d4ed8;
}

body.crm-ann-modal-open {
  overflow: hidden;
}
