﻿

#loaderOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(246 246 246 / 70%);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Spinner animation */
.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Text */
.loader-text {
    font-size: 16px;
    color: #1f3c88;
}


.hidden{
    display :none !important;
}




/*==========================================
  MAFIA ORANGE GRITTY SWEETALERT THEME
===========================================*/

.swal2-popup {
    background: #d8932b !important; /* mafia orange base */
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR4AWOQkpP9DwAD4wHsANX2VwAAAABJRU5ErkJggg=="), radial-gradient(circle at top left, #e8a848, #c67f21);
    background-size: 3px, cover;
    border-radius: 16px !important;
    border: 3px solid rgba(255,255,255,0.55);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    color: #2b1c03 !important;
    padding: 25px !important;
}

/* Title styling */
.swal2-title {
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #efefef !important; /* mafia red */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Body text */
.swal2-html-container {
    font-size: 18px !important;
    color: #fafafa !important; /* deep readable brown */
}

/* Buttons */
.swal2-confirm {
    background: #2d7a46 !important; /* mafia green */
    border: 2px solid rgba(255,255,255,0.35) !important;
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 8px !important;
}

.swal2-cancel {
    background: #b22a2a !important; /* mafia red */
    border: 2px solid rgba(255,255,255,0.35) !important;
    color: #fff !important;
    font-weight: bold !important;
    border-radius: 8px !important;
}

    .swal2-confirm:hover,
    .swal2-cancel:hover {
        filter: brightness(1.1);
    }

/* Textarea matches mafia theme */
.swal2-textarea {
    background: rgba(255,255,255,0.7) !important;
    border-radius: 10px !important;
    border: 2px solid rgba(0,0,0,0.3) !important;
    color: #2b1c03 !important;
}

/* Dark overlay */
.swal2-container {
    background: rgba(0,0,0,0.55) !important;
}


/*=========================================================
  HIGH-CONTRAST SWEETALERT ICON COLORS FOR ORANGE BACKGROUND
=========================================================*/

/* SUCCESS — Strong Green */
.swal2-icon.swal2-success {
    border-color: #1fad38 !important; /* stronger green */
}

    .swal2-icon.swal2-success .swal2-success-ring {
        border-color: #1fad38 !important;
    }

    .swal2-icon.swal2-success [class^="swal2-success-line"] {
        background-color: #1fad38 !important;
    }

/* ERROR — Strong Mafia Red */
.swal2-icon.swal2-error {
    border-color: #c42020 !important; /* stronger red */
}

    .swal2-icon.swal2-error .swal2-x-mark-line-left,
    .swal2-icon.swal2-error .swal2-x-mark-line-right {
        background-color: #c42020 !important;
    }

/* WARNING — Strong Yellow/Orange */
.swal2-icon.swal2-warning {
    border-color: #eab308 !important; /* bold yellow */
    color: #eab308 !important;
}

/* INFO — Strong Blue */
.swal2-icon.swal2-info {
    border-color: #1d6edb !important; /* bold blue */
    color: #1d6edb !important;
}


.disablePointerEvents{
    pointer-events : none !important
}

.direction-ltr{
    direction : ltr !important;
}

.field-validation-error{
    font-size: 12px !important;
}
.color-orange {
    color: #cf8f19;
}
/*pagination*/
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

    .pagination li {
        list-style: none;
    }

    .pagination a,
    .pagination span {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-family: "Geist Mono", monospace;
        background: linear-gradient(145deg,#111,#000);
        border: 2px solid #c12121;
        color: #c12121;
        text-decoration: none;
        box-shadow: 0 0 10px rgba(193,33,33,.4);
        transition: 0.3s ease;
    }

        /* Hover */
        .pagination a:hover {
            background: #c12121;
            color: white;
            box-shadow: 0 0 18px rgba(193,33,33,.8);
            transform: translateY(-2px) scale(1.05);
        }

    /* Active */
    .pagination .active span {
        background: #c12121 !important;
        color: white !important;
        border-color: #c12121 !important;
        box-shadow: 0 0 20px rgba(193,33,33,1);
        transform: scale(1.1);
    }

    /* Disabled */
    .pagination .disabled span {
        background: #333;
        color: #777;
        border-color: #555;
        box-shadow: none;
    }


    /*Loader Animation */
/* ===============================
         OVERLAY
      ================================ */
.anime-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.88);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    clip-path: inset(0 0 0 0);
}

    .anime-fullscreen-overlay.show {
        opacity: 1;
        pointer-events: all;
    }

    /* Tear-away animation */
    .anime-fullscreen-overlay.tearing {
        animation: overlayTear 650ms ease-in forwards;
    }

/* ===============================
         CONTENT
      ================================ */
.anime-wrap {
    position: relative;
    width: min(920px, 92vw);
    padding: 18px 16px;
    text-align: center;
}

/* ===============================
         BULLET
      ================================ */
.bullet {
    position: absolute;
    left: -45%;
    top: 50%;
    transform: translateY(-50%);
    height: 10px;
    width: 44%;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient( 90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 90, 50, 0.95) 55%, rgba(255, 255, 255, 0.14) 75%, transparent 100% );
    filter: drop-shadow(0 0 12px rgba(255, 90, 50, 0.45));
    will-change: transform, opacity;
}

    .bullet.fire {
        animation: bulletFly 900ms cubic-bezier(0.15, 0.85, 0.25, 1) 1;
    }

/* ===============================
         TEXT
      ================================ */
.anime-effect-text {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: clamp(18px, 4.5vw, 54px);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 18px rgba(255, 90, 50, 0.35);
}

    .anime-effect-text span {
        display: inline-block;
        clip-path: inset(0 100% 0 0);
    }

        .anime-effect-text span.reveal {
            animation: textWipe 520ms ease-out forwards;
        }

/* ===============================
         ANIMATIONS
      ================================ */
@keyframes bulletFly {
    0% {
        opacity: 0;
        transform: translate(-40%, -50%) scaleX(0.7);
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(260%, -50%) scaleX(1.1);
    }
}

@keyframes textWipe {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

/* Overlay tear from left → right */
@keyframes overlayTear {
    0% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
}

/* ===============================
         REDUCED MOTION
      ================================ */
@media (prefers-reduced-motion: reduce) {
    .bullet.fire,
    .anime-effect-text span.reveal,
    .anime-fullscreen-overlay.tearing {
        animation: none !important;
    }

    .anime-fullscreen-overlay {
        clip-path: inset(0 0 0 0);
        opacity: 0;
    }

    .anime-effect-text span {
        clip-path: inset(0 0 0 0);
    }
}