/* =============================================
   SECURITY PIN MODAL STYLES
   ============================================= */

.pin-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pin-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pin-modal {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pin-modal-overlay.active .pin-modal {
    transform: translateY(0);
}

.pin-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--accent-red);
    font-size: 2rem;
}

.pin-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 12px;
}

.pin-modal p {
    font-size: 0.95rem;
    color: #4b5563;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.pin-input-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.pin-box {
    width: 60px;
    height: 65px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    background: #f9fafb;
    transition: all 0.2s ease;
    outline: none;
}

.pin-box:focus {
    border-color: var(--accent-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pin-box.error {
    border-color: #ef4444;
    background: #fef2f2;
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Success Animation */
.checkmark-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.checkmark-circle {
    width: 100%;
    height: 100%;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .pin-modal {
        padding: 35px 20px;
    }
    .pin-box {
        width: 50px;
        height: 55px;
        font-size: 1.5rem;
    }
    .pin-input-container {
        gap: 10px;
    }
}*,:root,html,body,textarea,select,.modal,.modal-overlay,.admin-table-wrap{scrollbar-width:thin;scrollbar-color:#FF0000 #F5F5F5;}::-webkit-scrollbar{width:10px;height:10px;}::-webkit-scrollbar-track{background:#F5F5F5;border-radius:5px;}::-webkit-scrollbar-thumb{background:#FF0000;border-radius:5px;border:2px solid #F5F5F5;}::-webkit-scrollbar-thumb:hover{background:#CC0000;cursor:pointer;}::-webkit-scrollbar-corner{background:#F5F5F5;}.modal::-webkit-scrollbar,.premium-modal-container::-webkit-scrollbar,.modal-overlay::-webkit-scrollbar{width:8px;height:8px;}.modal::-webkit-scrollbar-track,.premium-modal-container::-webkit-scrollbar-track{background:#F5F5F5;}.modal::-webkit-scrollbar-thumb,.premium-modal-container::-webkit-scrollbar-thumb{background:#FF0000;border-radius:5px;border:1px solid #F5F5F5;}.modal::-webkit-scrollbar-thumb:hover,.premium-modal-container::-webkit-scrollbar-thumb:hover{background:#CC0000;}textarea::-webkit-scrollbar{width:8px;}textarea::-webkit-scrollbar-track{background:#F5F5F5;}textarea::-webkit-scrollbar-thumb{background:#FF0000;border-radius:5px;}textarea::-webkit-scrollbar-thumb:hover{background:#CC0000;}.admin-table-wrap::-webkit-scrollbar,.table-wrap::-webkit-scrollbar{height:10px;width:10px;}.admin-table-wrap::-webkit-scrollbar-track,.table-wrap::-webkit-scrollbar-track{background:#F5F5F5;}.admin-table-wrap::-webkit-scrollbar-thumb,.table-wrap::-webkit-scrollbar-thumb{background:#FF0000;border-radius:5px;}.admin-table-wrap::-webkit-scrollbar-thumb:hover,.table-wrap::-webkit-scrollbar-thumb:hover{background:#CC0000;}