/* Fake Notification Toast v2 — Limon Bahçesi */

/* Container — stacking */
.fn-container {
    position: fixed;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    max-width: 340px;
    width: calc(100% - 32px);
    pointer-events: none;
}
.fn-container-right { right: 16px; }
.fn-container-left { left: 16px; }

/* Individual toast */
.fn-toast {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto;
}

.fn-toast.fn-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.fn-toast.fn-hide {
    opacity: 0;
    transform: translateX(30px) scale(0.9);
    transition: all 0.3s ease-in;
}

.fn-toast-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(18, 18, 28, 0.94);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
}

/* Subtle top accent */
.fn-toast-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

/* Icon */
.fn-toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.fn-toast-icon span {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: -0.3px;
}

/* Content */
.fn-toast-content {
    flex: 1;
    min-width: 0;
}

.fn-toast-name {
    font-size: 13px;
    font-weight: 700;
    color: #f0f0f0;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.fn-toast-msg {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.fn-toast-time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.22);
    margin-top: 3px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.fn-toast-time i {
    font-size: 8px;
    opacity: 0.7;
}

/* Close button */
.fn-toast-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.15);
    font-size: 15px;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s;
    line-height: 1;
    padding: 0;
    opacity: 0;
}
.fn-toast-inner:hover .fn-toast-close {
    opacity: 1;
}
.fn-toast-close:hover {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

/* Mobile */
@media (max-width: 480px) {
    .fn-container {
        bottom: 70px; /* above mobile bottom nav */
        max-width: calc(100% - 24px);
        gap: 8px;
    }
    .fn-container-right { right: 12px; }
    .fn-container-left { left: 12px; }
    .fn-toast-inner { padding: 10px 12px; border-radius: 12px; }
    .fn-toast-icon { width: 32px; height: 32px; font-size: 13px; }
    .fn-toast-icon span { font-size: 11px; }
    .fn-toast-name { font-size: 12px; }
    .fn-toast-msg { font-size: 10.5px; }
    .fn-toast-close { opacity: 1; }
}
