/* Merkezi modal mesaj katmanı */
.sk-msg-overlay {
    position: fixed;
    inset: 0;
    z-index: 10800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: sk-msg-fade-in 0.2s ease-out;
}

@keyframes sk-msg-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.sk-msg-dialog {
    width: min(420px, 100%);
    max-height: min(72vh, 520px);
    display: flex;
    flex-direction: column;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    border-radius: 0.85rem;
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    animation: sk-msg-pop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sk-msg-pop {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sk-msg-dialog__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sk-msg-dialog__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.sk-msg-dialog--error .sk-msg-dialog__head {
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
}

.sk-msg-dialog--error .sk-msg-dialog__icon {
    background: #fee2e2;
    color: #dc2626;
}

.sk-msg-dialog--success .sk-msg-dialog__head {
    background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
}

.sk-msg-dialog--success .sk-msg-dialog__icon {
    background: #d1fae5;
    color: #059669;
}

.sk-msg-dialog--warning .sk-msg-dialog__head {
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}

.sk-msg-dialog--warning .sk-msg-dialog__icon {
    background: #fef3c7;
    color: #d97706;
}

.sk-msg-dialog--info .sk-msg-dialog__head {
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
}

.sk-msg-dialog--info .sk-msg-dialog__icon {
    background: #dbeafe;
    color: #2563eb;
}

.sk-msg-dialog__body {
    padding: 1rem 1.1rem 1.25rem;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sk-msg-dialog__foot {
    padding: 0.65rem 1rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.02);
}

.sk-msg-dialog__btn {
    min-width: 6.5rem;
}

.login-body .sk-msg-overlay {
    z-index: 10900;
}
