/*
 * Toast შეტყობინებები (GlobalComponent::displayToast + js/toast-handler.js)
 * ადრე მხოლოდ main.scss-ში იყო, რომელსაც ბრაუზერი არ იყენებდა (.scss MIME) —
 * ამიტომ შეტყობინება გვერდის თავში უბრალო ტექსტად ჩანდა.
 */

.toast-item {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 90%;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(17, 12, 46, .18);
    z-index: 9999;
    transition: all .4s cubic-bezier(.68, -.55, .265, 1.55);
}

.toast-item.show { top: 20px; }
.toast-item.hide { top: -100px; opacity: 0; }

.toast-success { background-color: #12805c; color: #fff; }
.toast-error   { background-color: #e03131; color: #fff; }
.toast-warning { background-color: #f1c40f; color: #333; }
.toast-info    { background-color: #EB5B12; color: #fff; }

.toast-content { display: flex; align-items: center; gap: 10px; }
.toast-icon    { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.toast-text    { font-size: 14px; font-weight: 500; }

.toast-close {
    background: transparent;
    border: none;
    color: currentColor;
    opacity: .7;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    display: flex;
    align-items: center;
    transform: rotate(90deg);
}
.toast-close:hover { opacity: 1; }
