html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Main wrapper MUST have height */
.main-wrapper-data {
    min-height: 100vh;        /* ✅ key fix */
    display: flex;
    justify-content: center;  /* horizontal center */
    align-items: center;      /* vertical center */
    padding: 16px;            /* prevents edge cut on small screens */
    box-sizing: border-box;
}

.login-box {
    background: #fff;
    border-radius: 25px;
    padding: 25px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1;
}



.login-logo-top-mrgn {
    margin-top: -15px;
}

/* Login Box for Registration Page */
.login-box-reg {
    background: #fff;
    border-radius: 25px;
    padding: 25px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1;
}




.form-control-data {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-footer a {
    font-size: 12px;
    color: #3498db;
    text-decoration: none;
}

.login-header-txt {
    font-size: 28px;
    color: #fff;
    font-weight: bold;
}

.login-subheader-txt {
    font-size: 18px;
    color: #fff;
}

.login-mrgn-top {
    margin-top: 8px;
}

.space-data {
    margin-top: 15px;
    margin-left: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.space-flex 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    margin-top: -15px;
}

.sub-head-txt {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

a.sub-head-link-txt {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.head-sub-txt {
    text-align: right;
    font-size: 13px;
    color: #999;
}

a.head-sublink-txt {
    color: #3498db;
    font-size: 13px;
    text-decoration: none;
}

.header-title-txt {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.it-title-txt {
    font-size: 12px;
}


@media (min-width: 1701px) and (max-width: 1920px) {

    .section-display {
        display: none;
    }


}

@media (min-width: 1500px) and (max-width: 1700px) {
    .section-display {
        display: none;
    }

}

@media (min-width: 1025px) and (max-width: 1499px) {
    .section-display {
        display: none;
    }

}

@media (min-width: 769px) and (max-width: 1024px) {
    .main-wrapper {
        flex-direction: column;
        padding: 20px;
        justify-content: center;
    }

       .space-flex 
{
    display:none;
}


    .login-box,
    .login-box-reg {
        max-width: 440px;
    }

}


@media (min-width: 481px) and (max-width: 768px) {
    .main-wrapper {
        flex-direction: column;
        padding: 20px;
        justify-content: center;
    }

       .space-flex 
{
    display:none;
}



    .login-box,
    .login-box-reg {
        max-width: 400px;
    }

}



@media (min-width: 320px) and (max-width: 480px) {
    .main-wrapper {
        flex-direction: column;
        padding: 20px;
        justify-content: center;
    }



    .login-box,
    .login-box-reg {
        max-width: 300px;
    }

    .space-flex 
{
    display:none;
}


    .header-title-txt {
        font-size: 14px;
        font-weight: bold;
        margin: 0;
    }

    .alert-txt {
        font-size: 12px;
    }

    .reg-detail-txt {
        font-size: 11px;
    }

    a.reg-detail-link-txt {
        font-size: 11px;
    }
    
}