﻿


@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }

  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }

  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }

  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }

  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }

  100% { transform: translate(1px, -2px) rotate(-1deg); }
}



@keyframes upDown {
    0% {
        transform: translateY(0); /* Start at original position */
    }

    100% {
        transform: translateY(-20px); /* Move up by 20 pixels (adjust as needed) */
    }
}



/* pulse css animation*/





.orange {
    background: #f17c57fa;
}

.blue {
    background: #3652D9;
}

.rose {
    background: #FF66CC;
}

.center {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 100vh;
}

.circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0px 0px 1px 1px #0000001a;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}


.master {
    color: black;
    float: right;
}

@media (max-width:900px) {
    .master {
        display: none
    }
}

/* ==========================================================================
   ENHANCED CARD-LIKE ROW ANIMATIONS
   ========================================================================== */

/* Enhanced card movement animations for realistic row movement */
@keyframes cardMoveUp {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        background-color: white;
        z-index: 1;
    }
    20% {
        transform: translateY(-25px) scale(1.05);
        box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
        background-color: rgba(34, 197, 94, 0.08);
        z-index: 10;
    }
    40% {
        transform: translateY(-35px) scale(1.08);
        box-shadow: 0 20px 50px rgba(34, 197, 94, 0.4);
        background-color: rgba(34, 197, 94, 0.12);
        z-index: 10;
    }
    60% {
        transform: translateY(-20px) scale(1.05);
        box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
        background-color: rgba(34, 197, 94, 0.08);
        z-index: 10;
    }
    80% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
        background-color: rgba(34, 197, 94, 0.04);
        z-index: 5;
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
        background-color: white;
        z-index: 1;
    }
}

@keyframes cardMoveDown {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        background-color: white;
        z-index: 1;
    }
    20% {
        transform: translateY(25px) scale(1.05);
        box-shadow: 0 15px 40px rgba(239, 68, 68, 0.3);
        background-color: rgba(239, 68, 68, 0.08);
        z-index: 10;
    }
    40% {
        transform: translateY(35px) scale(1.08);
        box-shadow: 0 20px 50px rgba(239, 68, 68, 0.4);
        background-color: rgba(239, 68, 68, 0.12);
        z-index: 10;
    }
    60% {
        transform: translateY(20px) scale(1.05);
        box-shadow: 0 15px 40px rgba(239, 68, 68, 0.3);
        background-color: rgba(239, 68, 68, 0.08);
        z-index: 10;
    }
    80% {
        transform: translateY(8px) scale(1.02);
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
        background-color: rgba(239, 68, 68, 0.04);
        z-index: 5;
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
        background-color: white;
        z-index: 1;
    }
}

/* Smooth card hover effect */
@keyframes cardHover {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    100% {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 8px 25px rgba(79, 70, 229, 0.2);
    }
}

/* Card floating animation for active rows */
@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(79, 70, 229, 0.15);
    }
}

/* Enhanced reorder animation - simulates row physically moving to new position */
@keyframes cardReorder {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        background-color: white;
        z-index: 1;
    }
    25% {
        transform: translateY(-30px) scale(1.08);
        box-shadow: 0 20px 50px rgba(79, 70, 229, 0.4);
        background-color: rgba(79, 70, 229, 0.08);
        z-index: 15;
    }
    50% {
        transform: translateY(-40px) scale(1.1);
        box-shadow: 0 25px 60px rgba(79, 70, 229, 0.5);
        background-color: rgba(79, 70, 229, 0.12);
        z-index: 15;
    }
    75% {
        transform: translateY(-15px) scale(1.05);
        box-shadow: 0 15px 40px rgba(79, 70, 229, 0.3);
        background-color: rgba(79, 70, 229, 0.06);
        z-index: 10;
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 2px 8px rgba(79, 70, 229, 0.2);
        background-color: white;
        z-index: 1;
    }
}

/* Success pulse with card effect */
@keyframes cardSuccessPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background-color: transparent;
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
        background-color: rgba(34, 197, 94, 0.05);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        background-color: transparent;
    }
}

/* Card-like row base styling */
.card-row {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card-row:hover {
    animation: cardHover 0.3s ease-out forwards;
}

.card-row.moving-up {
    animation: cardMoveUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.card-row.moving-down {
    animation: cardMoveDown 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.card-row.reordering {
    animation: cardReorder 0.6s ease-in-out;
}

.card-row.success-feedback {
    animation: cardSuccessPulse 0.6s ease-out;
}

.card-row.floating {
    animation: cardFloat 2s ease-in-out infinite;
}