﻿.field-validation-error {
    color: #dc3545;
}

.input-validation-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220,53,69,.25);
}

.k-window-content {
    padding: 0 !important
}

:root {
    --toast-success: #10b981;
    --toast-error: #ef4444;
    --toast-warning: #f59e0b;
    --toast-info: #3b82f6;
}

.ebys-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column-reverse; /* Yeni gelen en altta, eskiler yukarı kayar */
    gap: 12px;
    max-width: 380px;
    pointer-events: none;
}

.ebys-toast {
    display: flex;
    align-items: center;
    min-width: 320px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border-left: 5px solid #ccc;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    animation: toastSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .ebys-toast.success {
        border-left-color: var(--toast-success);
        color: #065f46;
    }

    .ebys-toast.error {
        border-left-color: var(--toast-error);
        color: #991b1b;
    }

    .ebys-toast.warning {
        border-left-color: var(--toast-warning);
        color: #92400e;
    }

    .ebys-toast.info {
        border-left-color: var(--toast-info);
        color: #1e40af;
    }

.ebys-toast-icon {
    font-size: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.ebys-toast.success .ebys-toast-icon {
    color: var(--toast-success);
}

.ebys-toast.error .ebys-toast-icon {
    color: var(--toast-error);
}

.ebys-toast.warning .ebys-toast-icon {
    color: var(--toast-warning);
}

.ebys-toast.info .ebys-toast-icon {
    color: var(--toast-info);
}

.ebys-toast-content {
    flex: 1;
    margin-right: 20px;
}

.ebys-toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.ebys-toast-message {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.4;
}

.ebys-toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.2s;
}

    .ebys-toast-close:hover {
        color: #374151;
    }

.ebys-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: currentColor;
    opacity: 0.2;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(110%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ebys-toast.closing {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
    to {
        transform: translateX(110%);
        opacity: 0;
    }
}

/* Sadece 'hide-k-loader' class'ı varken spinner'ı gizle */
.hide-k-loader .k-loading-mask {
    display: none !important;
}