.rodauth-popover-container {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
}

.rodauth-popover-content {
    background-color: var(--white);
    border-radius: 20px;
    min-width: 520px;
    padding: 2rem;
}

.rodauth-popover-title {
    font-weight: 600;
    font-size: 28px;
    margin: 0 0 2rem 0;
    padding: 0;
    text-align: left;
}

.rodauth-login-form .rodauth-input {
    margin-bottom: 0.5rem;
}

.rodauth-login-form .rodauth-input-with-icon {
    position: relative;
}

.rodauth-login-form .rodauth-input-with-icon svg {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.rodauth-login-form .rodauth-input input {
    background-color: white !important;
    border: 1px solid #d4d4aa;
    border-radius: var(--s-sm);
    padding: 1rem 1.5rem;
    width: 100%;
    font-size: 1rem;
    margin: 0 !important;
    box-sizing: border-box;
}

.rodauth-login-form .rodauth-input-with-icon input {
    padding-left: 3rem;
}

.rodauth-login-form .rodauth-input input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.rodauth-forgot-password {
    text-align: center;
    margin: 0.5rem 0 1.5rem 0;
}

.rodauth-forgot-password a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
}

.rodauth-forgot-password a:hover {
    color: var(--brand-primary);
}

.rodauth-popover-content {
    display: flex;
    flex-direction: column;
}

.rodauth-login-form {
    flex: 1;
}

.rodauth-login-form .btn.btn-primary {
    display: none;
}

.rodauth-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.rodauth-signup-link {
    color: var(--dark-text);
    font-size: 0.9rem;
    margin: 0;
}

.rodauth-login-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.rodauth-login-form-footer .btn.btn-primary {
    margin: 0;
    flex-shrink: 0;
}

.rodauth-signup-link a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.rodauth-signup-link a:hover {
    text-decoration: underline;
}
