/* Authentication styles */
.content-locked {
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Increased minimum height to ensure visibility */
    width: 100%;
    border-radius: var(--border-radius);
    margin-top: -30px; /* Negative margin to move content up */
    padding-top: 30px; /* Padding to compensate for the negative margin */
}

.content-blur {
    filter: blur(5px); /* Increased blur effect */
    -webkit-filter: blur(5px); /* Increased blur effect */
    pointer-events: none;
    user-select: none;
    opacity: 0.9; /* Slightly transparent to enhance "locked" feeling */
}

.login-overlay {
    position: absolute;
    top: 0; /* Position at the very top */
    left: 0;
    width: 100%;
    height: 350px; /* Fixed height for the top portion */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center vertically */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.8) 70%,
        rgba(255, 255, 255, 0.4) 100%
    ); /* Gradient background */
    z-index: 100;
    pointer-events: auto;
    animation: fadeIn 0.5s ease-in-out;
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* Rounded corners only at top */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-overlay-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
    margin-bottom: 15px; /* Added margin to separate from text */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.login-overlay-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin: 15px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
}

.login-overlay-button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px; /* Added margin to separate from text */
}

.login-overlay-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Anti-inspector protection */
@media print {
    .content-blur {
        display: none !important;
    }
}

/* Additional protection against dev tools */
.content-blur::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
} 