/* Sol Alt Sabit Kırmızı Bildirim Zili */
.push-floating-bell {
    position: fixed !important;
    left: 22px !important;
    bottom: 24px !important;
    z-index: 999999 !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    border: none !important;
    outline: none !important;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.42), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, background 0.3s !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
}
.push-floating-bell:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(220, 38, 38, 0.55) !important;
}
.push-floating-bell:active {
    transform: scale(0.95) !important;
}
.push-floating-bell .bell-inner-icon {
    font-size: 21px;
    color: #ffffff;
    transform-origin: top center;
    animation: pushBellShake 4.5s ease-in-out infinite;
}
@keyframes pushBellShake {
    0%, 82%, 100% { transform: rotate(0); }
    85% { transform: rotate(16deg); }
    89% { transform: rotate(-14deg); }
    93% { transform: rotate(10deg); }
    96% { transform: rotate(-6deg); }
}

/* Radar nabız halkaları */
.push-bell-radar {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(239, 68, 68, 0.7);
    animation: pushBellRadarPulse 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    pointer-events: none;
}
.push-bell-radar-inner {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(239, 68, 68, 0.4);
    animation: pushBellRadarPulse 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 0.7s;
    pointer-events: none;
}
@keyframes pushBellRadarPulse {
    0% { transform: scale(0.9); opacity: 1; }
    75% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* Küçük Rozet */
.push-floating-bell .bell-status-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    color: #dc2626;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    border: 2px solid #ef4444;
    transition: all 0.2s;
}

/* Bildirim İzni Verildiğinde (Aktif Durum - İzin Veren Kullanıcıda Buton Gizlenir) */
html.push-permission-granted .push-floating-bell,
.push-floating-bell.is-granted {
    display: none !important;
}

/* Kullanıcının gözünü sol alta yönlendiren dikkat çekme animasyonu */
.push-floating-bell.bell-highlight {
    animation: pushBellHighlight 0.7s ease-in-out 3;
    transform-origin: center bottom;
}
@keyframes pushBellHighlight {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.22) translateY(-8px); box-shadow: 0 20px 38px rgba(220, 38, 38, 0.65); }
}

/* Mobil Uyum (Alt menünün hemen üzerinde durur) */
@media (max-width: 768px) {
    .push-floating-bell {
        left: 14px !important;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
        width: 46px !important;
        height: 46px !important;
        z-index: 999999 !important;
    }
    .push-floating-bell .bell-inner-icon {
        font-size: 19px !important;
    }
    .push-floating-bell .bell-status-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 9.5px !important;
    }
}

/* Bildirim Rehber Modalı */
.push-guide-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100030;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.push-guide-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.push-guide-modal-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
    padding: 30px 24px 24px;
    transform: scale(0.92) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.push-guide-modal-overlay.show .push-guide-modal-card {
    transform: scale(1) translateY(0);
}
.push-guide-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
}
.push-guide-close:hover {
    background: #fee2e2;
    color: #dc2626;
}
.push-guide-header {
    text-align: center;
    margin-bottom: 20px;
}
.push-guide-bell-graphic {
    position: relative;
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.push-guide-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.4);
    z-index: 2;
}
.push-pulse-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.22);
    animation: pushPulseGlow 2s infinite ease-out;
}
@keyframes pushPulseGlow {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(1.3); opacity: 0; }
}
.push-guide-header h3 {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.35;
}
.push-guide-sub {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}
.push-guide-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
}
.push-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.push-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}
.mini-bell-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
}
.push-step-text {
    flex: 1;
}
.push-step-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}
.push-step-text span {
    display: block;
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
}
.push-step-ios-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 10px 12px;
}
.ios-tip-icon {
    color: #1e40af;
    font-size: 16px;
    margin-top: 1px;
}
.ios-tip-content strong {
    display: block;
    font-size: 12px;
    color: #1e40af;
    margin-bottom: 2px;
}
.ios-tip-content span {
    font-size: 11.5px;
    color: #3b82f6;
    line-height: 1.45;
}
.push-guide-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.push-guide-btn-primary {
    width: 100%;
    padding: 13px 20px;
    border-radius: 13px;
    border: none;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
    transition: all 0.2s;
}
.push-guide-btn-primary:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
    transform: translateY(-1px);
}
.push-guide-btn-secondary {
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s;
}
.push-guide-btn-secondary:hover {
    background: #f1f5f9;
    color: #334155;
}

/* Şık Toast Mesajı */
.push-toast-box {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 100060;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 90%;
    text-align: center;
}
.push-toast-box.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.push-toast-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}
.push-toast-box.success {
    background: #064e3b;
    border-color: #10b981;
}
.push-toast-box.success i {
    color: #34d399;
}
.push-toast-box.warning {
    background: #78350f;
    border-color: #f59e0b;
}
.push-toast-box.warning i {
    color: #fbbf24;
}
