.speculr-login__container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.speculr-login__container {
    width: 100%;
    height: 100%;
    min-height: 50vh;
    min-width: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none;
    border-radius: 0;
    position: relative;
    padding: 1vh;
} 

.speculr-login__logo-wrapper {
    margin-bottom: 32px;
}

.speculr-login__logo {
    display: block;
    margin: 0 auto;
    max-width: 180px;
    height: auto;
    margin-top: 24px;
}

.speculr-login__subtitle {
    font-size: 20px;
    color: #222;
    font-style: italic;
    margin-bottom: 36px;
    margin-top: 0;
    text-align: center;
    font-weight: 100;
}

.speculr-login__footer {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    text-align: center;
    color: #222;
    font-size: 12px;
    font-weight: 100;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.speculr-login__footer:hover {
    color: #94B9FF;
}

.speculr-login__password-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 9vh 0;
    margin-bottom: 80px;
}

.speculr-login__password-section.active {
    display: flex;
}

.speculr-login__password-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
}

.speculr-login__password-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 20px;
    font-style: italic;
    color: #222;
    background: transparent;
    padding: 14px 12px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 100;
}

.speculr-login__password-toggle {
    background: none;
    border: none;
    outline: none;
    padding: 0 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.speculr-login__password-eye {
    width: 22px;
    height: 22px;
    color: #222;
    transition: color 0.2s;
}

.speculr-login__password-toggle:hover .speculr-login__password-eye {
    color: #888;
}

.speculr-login__navigation {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.speculr-login__return {
    margin-right: auto;
}

.speculr-login__password-submit {
    margin-left: auto;
}

.speculr-login__return,
.speculr-login__password-submit {
    background: none;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    align-self: flex-end;
}

.speculr-login__return span,
.speculr-login__password-submit span{
    font-size: 20px;
    color: #222;
}

.speculr-login__password-section .speculr-login__subtitle {
    font-style: italic;
    color: #222;
    font-size: 20px;
    font-weight: 100;
}

.speculr-login__password-inner {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    padding: 0 5px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border: none;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
    letter-spacing: 0.01em;
    overflow: hidden;
}

.speculr-login__password-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    /* border thickness */
    background: linear-gradient(to right, #CDFFD8, #94B9FF);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 600px) {
    .speculr-login__container {
        min-height: 70vh;
        height: 100vh;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        background-color: rgba(255, 255, 255, 0.92) !important;
        box-sizing: border-box;
        position: relative;
    }

    .speculr-login__footer {
        font-size: 12px;
        bottom: 12px;
    }

    .speculr-login__password-section {
        margin-bottom: 0;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding-left: 20px;
        padding-right: 20px;
    }
}