/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

/********  START **********                                             Design form Production table*/
.production-table-wrapper {
    max-height: 500px;
    overflow-y: auto;
}

.production-table thead th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
}

.production-table tfoot td {
    position: sticky;
    bottom: 0;
    background: #d1e7dd;
    font-weight: bold;
    z-index: 2;
}
/********  END **********                                               Design form Production table*/

/********  START **********                                             Design for Notification*/
.notification-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: .4s;
    z-index: 9999;
}

    .notification-bar.show {
        opacity: 1;
        transform: translateY(0);
    }

.notification-icon {
    width: 28px;
    height: 28px;
}

/* SUCCESS ICON */

.success-icon {
    border: 3px solid #28a745;
    border-radius: 50%;
    position: relative;
}

    .success-icon::after {
        content: "";
        position: absolute;
        width: 8px;
        height: 16px;
        border-right: 3px solid #28a745;
        border-bottom: 3px solid #28a745;
        top: 4px;
        left: 8px;
        transform: rotate(45deg) scale(0);
        animation: drawCheck .4s .2s forwards;
    }

@keyframes drawCheck {
    to {
        transform: rotate(45deg) scale(1);
    }
}

/* ERROR ICON */

.error-icon {
    border: 3px solid #dc3545;
    border-radius: 50%;
    position: relative;
}

    .error-icon::before,
    .error-icon::after {
        content: "";
        position: absolute;
        width: 16px;
        height: 3px;
        background: #dc3545;
        top: 11px;
        left: 4px;
        transform: scaleX(0);
        animation: drawCross .3s forwards;
    }

    .error-icon::before {
        transform: rotate(45deg) scaleX(0);
    }

    .error-icon::after {
        transform: rotate(-45deg) scaleX(0);
        animation-delay: .2s;
    }

@keyframes drawCross {
    to {
        transform: scaleX(1);
    }
}

/* WARNING ICON */

.warning-icon {
    border: 3px solid #ffc107;
    border-radius: 50%;
    position: relative;
    animation: pulseWarning 1s infinite alternate;
}

    .warning-icon::after {
        content: "!";
        position: absolute;
        font-weight: bold;
        color: #ffc107;
        top: 0;
        left: 8px;
        font-size: 18px;
    }

@keyframes pulseWarning {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Shake animation for notification */

@keyframes notifyShake {
    0% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-8px);
    }

    40% {
        transform: translateX(8px);
    }

    60% {
        transform: translateX(-6px);
    }

    80% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

.notification-shake {
    animation: notifyShake 0.5s ease;
}


/* Flash checkbox highlight */
@keyframes checkboxFlash {
    0% {
        background-color: transparent;
    }

    50% {
        background-color: #ffe082;
    }

    100% {
        background-color: transparent;
    }
}

.checkbox-flash {
    animation: checkboxFlash 0.8s ease-in-out 2;
}
/********  END **********                                               Design for Notification*/