/* Sitenin tek bildirim sistemi: bildirim yığını ve onay penceresi. Firma rengi --efor-red ile gelir. */
.ydk-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* --ydk-toast-top: ydk-notify.js yapışkan başlığın alt kenarını yazar; başlık yoksa köşeden 16px. */
.ydk-toasts { position: fixed; top: var(--ydk-toast-top, 16px); right: 16px; z-index: 1090; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }

.ydk-toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 8px 12px 14px; border: 1px solid #e3e5ea; border-left-width: 4px; border-radius: 10px; background: #fff; color: #15171b; box-shadow: 0 10px 28px -10px rgba(18, 24, 31, .28); font-size: .875rem; line-height: 1.4; pointer-events: auto; opacity: 0; transform: translateX(12px); transition: opacity .18s ease, transform .22s cubic-bezier(.2, .7, .2, 1); }
.ydk-toast.is-visible { opacity: 1; transform: none; }
.ydk-toast.is-leaving { opacity: 0; transform: translateX(12px); }

.ydk-toast__icon { flex: none; display: flex; width: 20px; height: 20px; margin-top: 1px; }
.ydk-toast__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ydk-toast__body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ydk-toast__title { display: block; font-weight: 700; }
.ydk-toast__text { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.ydk-toast__count { margin-left: 6px; font-weight: 700; color: #5f6570; font-variant-numeric: tabular-nums; }
.ydk-toast__action { margin-top: 6px; padding: 0; border: 0; background: none; color: var(--efor-red-dark, #a6121a); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ydk-toast__close { flex: none; width: 28px; height: 28px; margin: -4px 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #5f6570; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.ydk-toast__close:hover { background: #f1f2f4; color: #15171b; }
.ydk-toast button:focus-visible, .ydk-toast a:focus-visible { outline: 2px solid var(--efor-red, #d71920); outline-offset: 1px; }

/* Görselli bildirim (media), ikinci satır (detail) ve düğme satırı (buttons) */
.ydk-toast__media { flex: none; width: 56px; height: 56px; border: 1px solid #eceef1; border-radius: 8px; background: #fff; overflow: hidden; }
.ydk-toast__media img { width: 100%; height: 100%; object-fit: contain; }
.ydk-toast__head { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.ydk-toast__head .ydk-toast__icon { width: 16px; height: 16px; margin: 0; }
.ydk-toast__head .ydk-toast__icon svg { width: 16px; height: 16px; stroke-width: 2.5; }
.ydk-toast__detail { margin: 2px 0 0; color: #5f6570; font-size: .8125rem; font-variant-numeric: tabular-nums; }
.ydk-toast__buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ydk-toast__button { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; color: #15171b; font: inherit; font-size: .8125rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.ydk-toast__button:hover { background: #f1f2f4; color: #15171b; }
.ydk-toast__button.is-primary { border-color: var(--efor-red, #d71920); background: var(--efor-red, #d71920); color: #fff; }
.ydk-toast__button.is-primary:hover { background: var(--efor-red-dark, #a6121a); color: #fff; }

.ydk-toast--success { border-left-color: #1f8a4c; }
.ydk-toast--success .ydk-toast__icon { color: #1f8a4c; }
.ydk-toast--info, .ydk-toast--loading { border-left-color: #4b5563; }
.ydk-toast--info .ydk-toast__icon, .ydk-toast--loading .ydk-toast__icon { color: #4b5563; }
.ydk-toast--warning { border-left-color: #b45309; }
.ydk-toast--warning .ydk-toast__icon { color: #b45309; }
.ydk-toast--error { border-left-color: #c4242a; }
.ydk-toast--error .ydk-toast__icon { color: #c4242a; }
.ydk-toast--loading .ydk-toast__icon svg { animation: ydk-spin .9s linear infinite; }
@keyframes ydk-spin { to { transform: rotate(360deg); } }

.ydk-confirm { width: min(420px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 14px; background: #fff; color: #15171b; box-shadow: 0 24px 60px -16px rgba(18, 24, 31, .4); }
.ydk-confirm__panel { padding: 20px; }
.ydk-confirm::backdrop { background: rgba(18, 24, 31, .5); }
.ydk-confirm__title { margin: 0 0 6px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: inherit; }
.ydk-confirm__text { margin: 0; font-size: .9375rem; line-height: 1.5; color: #3f444c; overflow-wrap: anywhere; white-space: pre-line; }
.ydk-confirm__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ydk-confirm__actions button { min-height: 40px; padding: 8px 16px; border-radius: 9px; font: inherit; font-size: .875rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.ydk-confirm__cancel { border: 1px solid #d1d5db; background: #fff; color: #15171b; }
.ydk-confirm__cancel:hover { background: #f1f2f4; }
.ydk-confirm__accept { border: 1px solid #15171b; background: #15171b; color: #fff; }
.ydk-confirm__accept:hover { background: #000; }
.ydk-confirm__accept.is-danger { border-color: var(--efor-red, #d71920); background: var(--efor-red, #d71920); }
.ydk-confirm__accept.is-danger:hover { background: var(--efor-red-dark, #a6121a); }
.ydk-confirm button:focus-visible { outline: 2px solid var(--efor-red, #d71920); outline-offset: 2px; }

@media (max-width: 575px) {
  .ydk-toasts { top: var(--ydk-toast-top, 8px); right: 8px; width: calc(100vw - 16px); }
  .ydk-toast { transform: translateY(-8px); }
  .ydk-toast.is-leaving { transform: translateY(-8px); }
  .ydk-confirm__actions button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ydk-toast { transition: none; transform: none; }
  .ydk-toast.is-leaving { transform: none; }
  .ydk-toast--loading .ydk-toast__icon svg { animation: none; }
}
@media print {
  .ydk-toasts { display: none; }
}
