/* Password gate page styling (homepage v3 look) */
.password-protected-hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: var(--header-height, 105px);
    padding-bottom: 64px;
}

/* Keep background element behind the card */
.password-protected-hero .hero-bottom-right-image {
    pointer-events: none;
}

.password-protected-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
}

.password-protected-card {
    width: min(520px, calc(100vw - 48px));
    padding: 32px;
	padding-bottom: 12px;
    border-radius: 32px;
    border: 1px solid rgba(235, 235, 238, 0.15);
    background: linear-gradient(
        180deg,
        rgba(235, 235, 238, 0.05) 0%,
        rgba(235, 235, 238, 0.01) 100%
    );
    box-shadow: 0 6px 36px rgba(13, 1, 19, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
}

.password-protected-subtitle {
    display: block;
    margin: 32px 0 16px 0;
    font-family: var(--font-family-inter-tight, "Inter Tight", sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--fg-primary-rest, #D4D4DE);
}

.password-protected-subtitle--error {
    color: #ff6b6b;
}

.password-protected-input {
    margin: 0 auto;
    width: 100%;
    max-width: 400px; /* Match search dropdown width */
	box-shadow: none !important;
}

.password-protected-input .input-field:focus-within {
    box-shadow: none;
}

.password-protected-input .input-field input {
    box-shadow: none !important;
}

.password-protected-input .input-field input:focus {
    box-shadow: none !important;
	outline: none;
}

/* Ensure event-page input defaults don't shift vertical alignment */
.password-protected-input .input-field .input-text {
    padding: 0;
    margin: 0;
    height: 100%;
    line-height: 56px; /* match .input-field height for vertical centering */
	font-size: var(--font-size-text-m, 16px);
}

.password-protected-submit {
    margin: 24px auto 0 auto;
    width: fit-content;
    max-width: 100%;
}

.password-protected-card--shake {
    animation: password-card-shake 360ms ease;
}

@keyframes password-card-shake {
    0%,
    100% {
        transform: translateX(0);
    }
    15% {
        transform: translateX(-8px);
    }
    30% {
        transform: translateX(8px);
    }
    45% {
        transform: translateX(-6px);
    }
    60% {
        transform: translateX(6px);
    }
    75% {
        transform: translateX(-3px);
    }
    90% {
        transform: translateX(3px);
    }
}

@media (max-width: 768px) {
    .password-protected-hero {
        padding-top: var(--header-height, 90px);
    }

    .password-protected-card {
        padding: 24px;
        border-radius: 28px;
    }

    .password-protected-title {
        font-size: 32px;
        line-height: 40px;
    }

}
