/* =============================================
   SECURITY STYLES
   =============================================
   Subor: assets/css/core/security.css
   Zodpovednosť: Bezpečnostné štýly pre celú aplikáciu
   Verzia: 1.0.0
   ============================================= */

/* ANTI-BOT HONEYPOT FIELD */
.anti-bot-field {
    position: absolute !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* SECURITY NOTIFICATION */
#securityNotification {
    display: none;
}

/* LOADING INDICATORS */
#header-container:not(:empty) .header-loading,
#footer-container:not(:empty) .footer-loading {
    display: none;
}

.header-loading, .footer-loading {
    background: linear-gradient(135deg, #1a2b6e, #0d1a4d);
    padding: 15px;
    color: white;
    text-align: center;
    font-weight: bold;
}

/* BACK TO TOP BUTTON */
.back-to-top-btn {
    opacity: 1 !important;
    visibility: visible !important;
}

/* BLOCK OVERLAY ANIMATION */
@keyframes blockSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LOADING SPINNER */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* BLOKOVACÍ OVERLAY */
#blockedOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}
/* Auto-logout warning styles */
.auto-logout-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 10000;
    text-align: center;
    max-width: 500px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 4px solid #ffc107;
}

.auto-logout-warning.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auto-logout-warning h2 {
    color: #1a2b6e;
    margin-bottom: 15px;
    font-size: 24px;
}

.auto-logout-warning p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

#logoutCountdown {
    font-weight: bold;
    color: #dc3545;
    font-size: 24px;
    transition: color 0.3s ease;
}

.auto-logout-warning .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auto-logout-warning .btn-primary {
    background: linear-gradient(135deg, #1a2b6e, #0f1a4d);
    color: white;
}

.auto-logout-warning .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 43, 110, 0.3);
}

.auto-logout-warning .btn-danger {
    background: #dc3545;
    color: white;
}

.auto-logout-warning .btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
    .auto-logout-warning {
        padding: 30px 20px;
    }
    
    .auto-logout-warning h2 {
        font-size: 20px;
    }
    
    .auto-logout-warning .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}