@media only screen and (orientation: portrait) and (min-device-width: 320px) and (max-device-width: 374px) {

    .login-block {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .input-box {
        margin-top: 7.5px;
        height: 25px;
    }

    .legal-box {
        margin-top: 5px;
    }

    .form-send-button {
        margin-bottom: 7.5px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }

    .legal-box {
        width: 260px;
    }
    .captcha-block {
        width: 150px;
        height: 60px;
    }
    .captcha-block {
        margin-top: 7.5px;
    }

}

@media only screen and (orientation: portrait) and (min-device-width: 375px) and (max-device-width: 500px) {

    .login-box-title {
        margin-top: 10px;
    }
    .form-send-button {
        font-size: 16px;
    }

    .input-box {
        height: 30px;
    }

    .legal-box {
        width: 310px;
    }
    .captcha-block {
        width: 170px;
        height: 80px;
    }

}

/* universal 380px < (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 320px) and (max-device-width: 379px) {

    .login-box {
        width: 310px;
    }
    .input-box {
        width: 290px;
    }

}

/* universal 380px > and 479px < (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 380px) and (max-device-width: 479px) {

    .login-box {
        width: 350px;
    }
    .input-box {
        width: 320px;
    }

}

/* universal 479px > (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 479px) and (max-device-width: 500px) {

    .login-box {
        width: 380px;
    }
    .input-box {
        width: 340px;
    }

}

/* iPhone 5, 5S, 5C, 5 SE (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 320px) and (max-device-width: 352px) and (-webkit-min-device-pixel-ratio: 2) {

    .login-box {
        width: 300px;
    }
    .input-box {
        width: 280px;
    }

}

/* Pixel 4 (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 353px) and (max-device-width: 359px) and (-webkit-min-device-pixel-ratio: 2) {

    .login-box {
        width: 320px;
    }
    .input-box {
        width: 290px;
    }

}

/* Galaxy note 3, Galaxy S3, Galaxy S3 and other with 360px width (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 360px) and (max-device-width: 374px) and (-webkit-min-device-pixel-ratio: 2) {

    .login-box {
        width: 320px;
    }
    .input-box {
        width: 290px;
    }

}

/* iPhone 6, 6S, 7, 8, SE 2020 (портретный режим) */
/* iPhone X, XS, 11 Pro, 13 mini (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 375px) and (max-device-width: 383px) and (-webkit-min-device-pixel-ratio: 2) { 

    .login-box {
        width: 350px;
    }
    .input-box {
        width: 330px;
    }

}

/* LG Optimus, Nexus and other with 384px width (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 384px) and (max-device-width: 389px) and (-webkit-min-device-pixel-ratio: 2) {

    .login-box {
        width: 350px;
    }
    .input-box {
        width: 330px;
    }

}

/* iPhone 12, 12 Pro, 13, 13 Pro, Apple iPhone 14 (портретный режим) */
/* iPhone 14 Pro, Apple iPhone 15, Apple iPhone 15 Pro, Apple iPhone 16 (--- 393px ---) (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 390px) and (max-device-width: 413px) and (-webkit-device-pixel-ratio: 3) {

    .login-box {
        width: 370px;
    }
    .input-box {
        width: 340px;
    }

}

/* iPhone 6+, 7+, 8+ (портретный режим) */
/* iPhone XS Max, XR, 11, 11 Pro Max (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 414px) and (max-device-width: 427px) and (-webkit-min-device-pixel-ratio: 3) { 

    .login-box {
        width: 380px;
    }
    .input-box {
        width: 350px;
    }

}

/* iPhone 16 Pro Max (портретный режим) */
/* iPhone 12 Pro Max, 13 Pro Max, Apple iPhone 14 Plus (--- 428px ---) (портретный режим) */
/* iPhone 14 Pro Max, iPhone 15 Plus, Apple iPhone 15 Pro Max (--- 430px ---) (портретный режим) */
@media only screen and (orientation: portrait) and (min-device-width: 428px) and (max-device-width: 500px) and (-webkit-device-pixel-ratio: 3) {

    .login-box {
        width: 380px;
    }
    .input-box {
        width: 350px;
    }

}

/* -- -- -- -- -- */
/* - LANDSCAPE - */
/* -- -- -- -- -- */

/* universal 700px < (альбомный режим) */
@media only screen and (orientation: landscape) and (min-device-width: 320px) and (max-device-width: 700px) {

    .login-block {
        margin-top: 10px;
        margin-bottom: 10px;
    }

}