/**
 * Fake Notifications Styles
 * Sol altta gösterilen satın alma bildirimi
 *
 * @author BMathers
 * @date 16.01.2025
 */

/* Container */
.fake-notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    pointer-events: none;
}

/* Bildirim kartı */
.fake-notification {
    position: relative;
    width: 400px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.14);
    cursor: pointer;
    pointer-events: auto;
    overflow: hidden;
    transform: translateY(16px);
    opacity: 0;
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1), opacity .3s ease;
}

.fake-notification.show {
    transform: none;
    opacity: 1;
}

.fake-notification.hide {
    transform: translateY(16px);
    opacity: 0;
}

.fake-notification-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 36px 12px 12px;
}

/* Solda platform ikonu */
.fake-notification-icon {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 8px;
    background: #f3f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--fn-color, #1f6f9f);
}

.fake-notification-body {
    flex: 1;
    min-width: 0;
}

/* "Nevşehir şehrinden Facebook 20.000 Beğeni paketi satın alındı." */
.fake-notification-text {
    margin: 0 0 6px;
    color: #1d2a5b;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.fake-notification-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.fake-notification-time {
    color: #2b7a99;
}

.fake-notification-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6c7ff2;
    font-weight: 600;
}

.fake-notification-verified svg {
    width: 14px;
    height: 14px;
}

/* Kapatma */
.fake-notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #9aa5b8;
    opacity: 0;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}

.fake-notification:hover .fake-notification-close {
    opacity: 1;
}

.fake-notification-close:hover {
    background: #fdecec;
    color: #e5484d;
}

@media (max-width: 768px) {
    .fake-notification-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .fake-notification {
        width: auto;
        max-width: 420px;
    }

    .fake-notification-content {
        gap: 12px;
        padding: 10px 32px 10px 10px;
    }

    .fake-notification-icon {
        width: 58px;
        height: 58px;
        font-size: 24px;
    }

    .fake-notification-text {
        font-size: 14px;
    }

    .fake-notification-meta {
        font-size: 12px;
    }

    /* Dokunmatik ekranda kapatma görünür kalsın */
    .fake-notification-close {
        opacity: 1;
    }
}
