/* Postman-style login — isolated from app theme */

.login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 16px 32px;
    background: #f7f7f7;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #212121;
    -webkit-font-smoothing: antialiased;
}

.login-page *,
.login-page *::before,
.login-page *::after {
    box-sizing: border-box;
}

.login-page__main {
    width: 100%;
    max-width: 352px;
}

.login-page__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.login-page__logo svg {
    display: block;
    width: 48px;
    height: 48px;
}

.login-page__title {
    margin: 0 0 28px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #212121;
}

.login-page__alert {
    margin-bottom: 16px;
    padding: 10px 12px;
    font-size: 13px;
    color: #b71c1c;
    background: #ffebee;
    border: 1px solid #ef9a9a;
    border-radius: 3px;
}

.login-page__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-page__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #6b6b6b;
    text-transform: none;
}

.login-page__field input[type="email"],
.login-page__field input[type="password"],
.login-page__field input[type="text"] {
    display: block;
    width: 100%;
    height: 36px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: inherit;
    color: #212121;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    box-shadow: none;
    appearance: none;
}

.login-page__field input:hover {
    border-color: #a8a8a8;
}

.login-page__field input:focus {
    outline: none;
    border-color: #14a800;
    box-shadow: inset 0 0 0 1px #14a800;
}

.login-page__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: -4px;
}

.login-page__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #424242;
    cursor: pointer;
    position: relative;
}

.login-page__check input {
    position: absolute;
    opacity: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.login-page__check-box {
    width: 16px;
    height: 16px;
    border: 1px solid #bdbdbd;
    border-radius: 2px;
    background: #fff;
    flex-shrink: 0;
}

.login-page__check input:checked + .login-page__check-box {
    background: #14a800;
    border-color: #14a800;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='white' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

.login-page__forgot {
    font-size: 13px;
    font-weight: 500;
    color: #14a800;
    text-decoration: none;
}

.login-page__forgot:hover {
    text-decoration: underline;
}

.login-page__submit {
    width: 100%;
    height: 40px;
    margin-top: 4px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background: #14a800;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.login-page__submit:hover {
    background: #108a00;
}

.login-page__submit:active {
    background: #0d6b00;
}

.login-page__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 20px;
    color: #757575;
    font-size: 13px;
}

.login-page__divider::before,
.login-page__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.login-page__oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    color: #424242;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    cursor: not-allowed;
    opacity: 0.72;
}

.login-page__oauth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.login-page__oauth--half {
    margin-bottom: 0;
    font-size: 13px;
}

.login-page__oauth-hint {
    margin: 10px 0 0;
    text-align: center;
    font-size: 11px;
    color: #9e9e9e;
}

.login-page__signup {
    display: block;
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #14a800;
    text-decoration: none;
}

.login-page__signup:hover {
    text-decoration: underline;
}

.login-page__legal {
    margin-top: 32px;
    font-size: 12px;
    color: #9e9e9e;
    text-align: center;
}

@media (max-width: 400px) {
    .login-page__oauth-row {
        grid-template-columns: 1fr;
    }

    .login-page__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}
