/* Cybersecurity Loader - Light Theme */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader__spinner {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 24px;
}

.lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a237e;
    /* Primary color */
    z-index: 2;
}

.shield {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #1a237e;
    /* Primary color */
    border-top-color: transparent;
    animation: shield-rotate 1.5s linear infinite;
}

.binary {
    position: absolute;
    width: 200px;
    text-align: center;
    color: #1a237e;
    /* Primary color */
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 5px;
    bottom: -40px;
    opacity: 0.8;
    animation: binary-fade 2s infinite alternate;
}

@keyframes shield-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes binary-fade {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.8;
    }
}