.td-password-protected {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 400px);
    padding: 60px 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 68% 42%, rgba(190, 60, 200, 0.55) 0%, rgba(190, 60, 200, 0) 32%),
        radial-gradient(circle at 72% 20%, rgba(120, 90, 255, 0.45) 0%, rgba(120, 90, 255, 0) 40%),
        linear-gradient(115deg, #050b3d 0%, #0b1f8c 45%, #1a3fd6 75%, #2f5dff 100%);
}

.td-password-protected::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 68%;
    width: 640px;
    height: 640px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.td-password-protected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 68%;
    width: 900px;
    height: 900px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.td-password-protected__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    padding: 40px 32px;
    background: #ffffff;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(5, 11, 61, 0.35);
    text-align: center;
}

.td-password-protected__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eef4ff;
    color: #1a6aff;
}

.td-password-protected__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 600;
    color: #101c2f;
}

.td-password-protected__subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: #5b6474;
}

.td-password-protected__error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 500;
    color: #b11206;
}

.td-password-protected__error svg {
    flex-shrink: 0;
}

.td-password-protected__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.td-password-protected__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.td-password-protected__input {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    color: #101c2f;
    background: #f7f8fa;
    border: 1px solid #d7dce3;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.td-password-protected__input:focus {
    outline: none;
    border-color: #1a6aff;
    box-shadow: 0 0 0 3px rgba(26, 106, 255, 0.15);
}

.td-password-protected__input--error {
    border-color: #b11206;
    background: #f7f8fa;
}

.td-password-protected__input--error:focus {
    border-color: #b11206;
    box-shadow: 0 0 0 3px rgba(177, 18, 6, 0.15);
}

.td-password-protected__submit {
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #00008b;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.td-password-protected__submit:hover,
.td-password-protected__submit:focus-visible {
    background: #1a6aff;
}
