/* =======================
   LEVEL 5 - PREMIUM ICONS
   edit (blue) + delete (red)
========================= */

/* WRAPPER */
.icon-wrapper-l5 {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
    cursor: pointer;
}

/* GLOBAL RIPPLE */
.icon-ripple-l5 {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
    z-index: 0;
}

/* ICON */
.icon-core-l5 {
    font-size: 18px;
    z-index: 2;
    transition: transform .2s cubic-bezier(.175, .885, .32, 1.275),
        filter .25s ease;
}

/* CONFETTI / PARTICLES */
.icon-confetti-l5 {
    position: absolute;
    width: 1px;
    height: 1px;
    top: -4px;
    left: 12px;
    z-index: 4;
}

.icon-confetti-l5 .p {
    position: absolute;
    width: 3px;
    height: 3px;
    opacity: 0;
    animation: iconConfFall .9s ease-out forwards;
}

@keyframes iconConfFall {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(12px) scale(1.5) rotate(40deg);
        opacity: 0;
    }
}

/* 3D hover */
.icon-core-l5:hover {
    transform: rotateX(12deg) rotateY(-12deg) scale(1.35);
}

/* CLICK SPIN */
.icon-core-l5.spin {
    animation: iconSpin .8s linear;
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1.1);
    }
}

/* =====================
   EDIT (Mavi)
====================== */
.icon-edit-l5 .icon-core-l5 {
    color: #0d6efd;
}

.icon-edit-l5:hover .icon-core-l5 {
    filter: drop-shadow(0 0 6px rgba(0, 123, 255, 0.9));
}

.icon-edit-l5 .icon-ripple-l5 {
    background: rgba(0, 123, 255, 0.5);
}

/* =====================
   DELETE (Kırmızı)
====================== */
.icon-delete-l5 .icon-core-l5 {
    color: #dc3545;
}

.icon-delete-l5:hover .icon-core-l5 {
    filter: drop-shadow(0 0 6px rgba(220, 53, 69, 0.9));
}

.icon-delete-l5 .icon-ripple-l5 {
    background: rgba(220, 53, 69, 0.5);
}