﻿@media screen and (max-height: 760px) {
    .modal-root, .modal-root * {
        font-size: 14px !important;
    }
    .margin-bottom-modal {
        margin-bottom: 0.5rem;
    }
}

@media screen and (max-height: 580px) {
    .modal-root, .modal-root * {
        font-size: 13px !important;
    }

    .modal-frame {
        padding: 0 2rem;
    }

    .modal-outer-panel {
        padding-top: 16px;
    }

    .change-password-pin-modal-panel {
        padding: 1.25rem 0;
        width: 30rem;
    }

    .change-password-pin-modal-body {
        padding: 0px 1.25rem 1.25rem;
    }

    .change-password-pin-modal-controls {
        width: 100%;
    }

    .cancel-btn-style-modal, .sendpass-btn-style-modal {
        width: 12rem;
        height: 3rem;
    }

    .newlogo-image-modal {
        width: 65px;
        height: 35px;
    }

    .logininput-modal {
        padding: 0.55rem;
        height: 3rem;
        margin-bottom: 0.65rem;
    }

    .div-new-password-modal {
        width: 100%;
    }

    .inputlabel-modal {
        height: 1.6rem;
    }

    .show-password-icon-modal {
        top: 0.55rem;
        height: 2rem;
        width: 2rem;
    }

    .newlogo-container-modal {
        gap: 0;
        height: 3.5rem;
        bottom: 0.6rem;
    }

    .newlogo-image-modal {
        transform: scale(0.75);
    }

    .shared-icon-modal {
        width: 2.1rem;
        height: 1.75rem;
        transform: scale(0.9);
        top: calc(50% - 0.9rem);
    }

    .change-password-pin-validation-div-modal {
        margin: 0.45rem 0;
    }

    .change-password-pin-helper-div-modal {
        height: 1rem;
        margin-bottom: 1rem;
    }

    .shared-button-div-modal {
        width: 100%;
        height: 2.1rem;
        padding-top: 0.8rem;
    }

    .newlogo-text-modal {
        padding: 1rem 0px 0px;
    }

    .margin-bottom-modal {
        margin-bottom: 0.5rem;
    }

    .solo-cancel-btn-style-modal {
        padding: 0px 14px;
        width: 22rem;
        height: 2.2rem; 
        border-radius: 4px;
    }
}

/* 720p main screen ,Specific adjustments for 400p height (Font size 12px) */
@media screen and (max-height: 445px) {
    .modal-root, .modal-root * {
        font-size: 11px !important;
    }

    .modal-frame {
        padding: 0 1.5rem;
    }

    .modal-outer-panel {
        padding-top: 2px;
    }

    .change-password-pin-modal-panel {
        padding: 1rem 0;
        width: 26rem;
    }

    .change-password-pin-modal-body {
        padding: 0px 1rem 1rem;
        margin-top: 0.5rem;
    }

    .change-password-pin-modal-header {
        margin-bottom: 0.5rem;
    }

    .change-password-pin-modal-controls {
        width: 100%;
    }

    .cancel-btn-style-modal, .sendpass-btn-style-modal {
        width: 10rem;
        height: 2.5rem;
    }

    .newlogo-image-modal {
        width: 60px;
        height: 30px;
    }

    .logininput-modal {
        padding: 0.5rem;
        height: 2.5rem;
        margin-bottom: 0.63rem;
    }

    .div-new-password-modal {
        width: 100%;
    }

    .inputlabel-modal {
        height: 1.5rem;
    }

    .show-password-icon-modal {
        top: 0.33rem;
        height: 1.67rem;
        width: 1.67rem;
    }

    .newlogo-container-modal {
        gap: 0;
        height: 3rem;
        bottom: 0.5rem;
    }

    .newlogo-image-modal {
        transform: scale(0.7);
    }

    .shared-icon-modal {
        width: 2rem;
        height: 1.5rem;
        transform: scale(0.8);
        top: calc(50% - 1rem);
    }

    .change-password-pin-validation-div-modal {
        margin: .4rem 0;
    }

    .change-password-pin-helper-div-modal {
        height: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .shared-button-div-modal {
        width: 100%;
        height: 2rem;
        padding-top: 1rem;
    }

    .margin-bottom-modal {
        margin-bottom: 0;
    }

    .headerdividercontainer-modal {
        height: 0.5rem;
    }

    .newlogo-text-modal {
        padding: 1.5rem 0px 0px;
    }

    .solo-cancel-btn-style-modal {
        padding: 0px 12px;
        width: 20rem; 
        height: 2rem; 
        border-radius: 4px;
    }
}

@media screen and (max-height: 345px) {
    .modal-root, .modal-root * {
        font-size: 9px !important;
    }

    .modal-frame {
        padding: 0 1rem;
    }

    .modal-outer-panel {
        padding-top: 0;
    }

    .change-password-pin-modal-panel {
        padding: 1rem 0;
        width: 21rem;
    }

    .change-password-pin-modal-body {
        padding: 0px 1rem 1rem;
        margin-top: 0.5rem;
    }

    .change-password-pin-modal-header {
        margin-bottom: 0.3rem;
    }

    .change-password-pin-modal-controls {
        width: 100%;
    }

    .cancel-btn-style-modal, .sendpass-btn-style-modal {
        width: 8rem;
        height: 2rem;
    }

    .newlogo-container-modal {
        height: 3rem;
        height: 2rem;
        bottom: 0.8rem;
    }

    .newlogo-image-modal {
        width: 50px;
        height: 20px;
    }

    .logininput-modal {
        padding: 0.3rem;
        height: 2rem;
        margin-bottom: 0.4rem;
    }

    .div-new-password-modal {
        width: 100%;
    }

    .inputlabel-modal {
        height: 1.2rem;
    }

    .show-password-icon-modal {
        top: 0.33rem;
        height: 1.5rem;
        width: 1.5rem;
    }

    .newlogo-image-modal {
        transform: scale(0.6);
    }

    .shared-icon-modal {
        width: 1.5rem;
        height: 1.5rem;
        transform: scale(0.7);
        top: calc(50% - 0.9rem);
    }

    .change-password-pin-validation-div-modal {
        margin: .4rem 0;
    }

    .change-password-pin-helper-div-modal {
        height: 1rem;
    }

    .shared-button-div-modal {
        width: 100%;
        height: 1.5rem;
        padding-top: 1rem;
    }

    .margin-bottom-modal {
        margin-bottom: 0;
    }

    .headerdividercontainer-modal {
        height: 0.3rem;
    }

    .newlogo-text-modal {
        padding: 2rem 0px 0px;
    }

    .solo-cancel-btn-style-modal {
        padding: 0px 10px;
        width: 18rem;
        height: 1.8rem;
        border-radius: 4px;
    }
}
