.section-sign-in {
    min-height: 100vh;
    background: var(--bg-color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 16px;
    position: relative;
    overflow: hidden;
}

.section-sign-in::before,
.section-sign-in::after {
    content: "";
    position: absolute;
    border: 1px solid #ececf4;
    border-radius: 50%;
    width: 900px;
    height: 900px;
    z-index: 0;
}

.ssection-sign-in::before {
    bottom: -620px;
    left: -260px;
}

.section-sign-in::after {
    bottom: -700px;
    right: -220px;
}

.sign-in-card {
    /*width: 620px;*/
    /*height: 959px;*/
    max-width: 560px;
    /*padding: 40px 44px;*/
    padding: 20px;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    border: 1px solid var(--bg-color-secondary);
    background: var(--color-white);
    box-shadow: 0 24px 40px -16px rgba(163, 166, 177, 0.20);
}

.screws {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.sign-in-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    align-self: stretch;
    padding: 20px 40px;
}

.sign-in-logo {
    width: 36px;
    height: 36px;
    margin: 0 auto 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.sign-in-title {
    text-align: center;
    font-size: 38px;
    line-height: 140%;
    font-weight: 500;
    margin: 0 0 10px;
}

.sign-in-subtitle {
    text-align: center;
    font-size: 20px;
    line-height: 120%;
    color: #8e8ea3;
    margin-bottom: 36px;
}

form {
    width: 100%;
}

.sign-in-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sign-in-form-row .sign-in-field {
    flex: 1;
    min-width: 0;
}

.sign-in-field label {
    margin-bottom: 8px;
    color: var(--Dark-Shade-blue-300);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.16px;
}

.sign-in-input,
.sign-in-select {
    width: 100%;
    height: 48px;
    border: 1px solid #E7E7EB;
    padding: 0 14px;
    font-size: 16px;
    color: #14133b;
    background: var(--color-white);
    transition: .2s ease;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 1px 4px 0 #E6E6E6;
}

.sign-in-input::placeholder{
    color: #B3B3C0;
}

.sign-in-input:focus,
.sign-in-select:focus {
    outline: none;
    border-color: #6b4eff;
    box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.12);
}

.sign-in-phone {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
}

.sign-in-password-wrap {
    position: relative;
}

.sign-in-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9d9db3;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
}

.sign-in-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.sign-in-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #B3B3C0;
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: -0.14px;
}

.sign-in-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #5335D9;
}

.sign-in-forgot-password,
.sign-in-forgot-password:visited {
    font-size: 14px;
    color: #5335D9;
    text-decoration: none;
    font-weight: 400;
    line-height: 22px; /* 157.143% */
    letter-spacing: -0.14px;
}

.sign-in-forgot-password:hover {
    text-decoration: underline;
}

.sign-in-submit {
    color: var(--color-white);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    width: 100%;
    height: 52px;
    cursor: pointer;
    margin-top: 24px;
    transition: .2s ease;
    display: flex;
    padding: 12px 34px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid #3B269A;
    background: linear-gradient(142deg, #5335D9 23.13%, #3922A1 94.85%);
    box-shadow: 0 4px 12px 0 rgba(83, 53, 217, 0.20), 0 2px 4px 0 rgba(255, 255, 255, 0.48) inset;
}

.sign-in-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(75, 47, 227, 0.34);
}

.sign-in-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 22px 0;
    color: #9d9db3;
    font-size: 14px;
}

.sign-in-divider::before,
.sign-in-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ececf4;
}

.sign-in-google {
    width: 100%;
    height: 52px;
    border: 1px solid #e4e4ef;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: .2s ease;
    color: var(--Dark-Shade-blue-500);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
    letter-spacing: -0.16px;
}

.sign-in-google:hover {
    border-color: #d4d4e7;
    box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

@media (max-width: 640px) {
    .sign-in-card {
        padding: 16px;
    }

    .sign-in-card-content {
        padding: 20px 12px;
        gap: 30px;
    }

    .sign-in-header {
        gap: 16px
    }

    .sign-in-title {
        font-size: 28px;
        letter-spacing: -1.12px;
    }

    .sign-in-subtitle {
        font-size: 16px;
        margin-bottom: 0;
    }

    .sign-in-form-row {
        flex-direction: column;
        gap: 0;
    }
}