.clearfix:after,

.box-b{
    border-radius:25px!important;
}


form:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.login-container { margin: 25px auto;  width:100%; }
#log-content {
    background: #e4eefb;
    /*background: -moz-linear-gradient(top,  rgba(248,248,248,1) 0%, rgba(249,249,249,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    background: -o-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    background: -ms-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    background: linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#f9f9f9',GradientType=0 );*/
    -webkit-box-shadow: 0 1px 0 #fff inset;
    -moz-box-shadow: 0 1px 0 #fff inset;
    -ms-box-shadow: 0 1px 0 #fff inset;
    -o-box-shadow: 0 1px 0 #fff inset;
    box-shadow: 0 1px 0 #fff inset;
    border: 1px solid #c4c6ca;
    margin: 10px auto;
    padding: 15px 0 0;
    position: relative;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    width: 100%;
}
#log-content h1 {
    color: #314b65;
    font: bold 25px Helvetica, Arial, sans-serif;
    letter-spacing: -0.05em;
    line-height: 20px;
    font-weight:normal;
    margin: -10px 0 15px;
}
/*#log-content h1:before,
#log-content h1:after {
        content: "";
        height: 1px;
        position: absolute;
        top: 31px;
        width: 33%;
}
#log-content h1:after {
        background: #fff;
        background: -moz-linear-gradient(left,  rgba(126,126,126,1) 0%, rgba(255,255,255,1) 100%);
        background: -webkit-linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
        background: -o-linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
        background: -ms-linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
        background: linear-gradient(left,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
    right: 0;
}*/
#log-content h1:before {
    background: rgb(126,126,126);
    background: -moz-linear-gradient(right,  rgba(126,126,126,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(right,  rgba(126,126,126,1) 0%,rgba(255,255,255,1) 100%);
    left: 0;
}
#log-content:after,
#log-content:before {
    background: #fff;
    background: -moz-linear-gradient(top,  rgba(248,248,248,1) 0%, rgba(249,249,249,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    background: -o-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    background: -ms-linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    background: linear-gradient(top,  rgba(248,248,248,1) 0%,rgba(249,249,249,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f8f8', endColorstr='#f9f9f9',GradientType=0 );
    border: 1px solid #c4c6ca;
    content: "";
    display: block;
    height: 100%;
    left: -5px;
    position: absolute;
    width: 100%;
}
#log-content:after {
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -o-transform: rotate(2deg);
    transform: rotate(2deg);
    top: 0;
    z-index: -1;
}
#log-content:before {
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    transform: rotate(-3deg);
    top: 0;
    z-index: -2;
}
#log-content form { margin: 0 20px; position: relative }
#log-content form input[type="text"],
#log-content form input[type="password"] {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    -moz-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    -ms-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    -o-box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    box-shadow: 0 1px 0 #fff, 0 -2px 5px rgba(0,0,0,0.08) inset;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background: #eae7e7 url(images/icons.png) no-repeat;
    border: 1px solid #c8c8c8;
    color: #777;
    font: 13px Helvetica, Arial, sans-serif;
    margin: 0 0 10px;
    padding: 8px 10px 15px 45px;
    width: 75%!important;
}
#log-content form input[type="text"]:focus,
#log-content form input[type="password"]:focus {
    -webkit-box-shadow: 0 0 2px #ed1c24 inset;
    -moz-box-shadow: 0 0 2px #ed1c24 inset;
    -ms-box-shadow: 0 0 2px #ed1c24 inset;
    -o-box-shadow: 0 0 2px #ed1c24 inset;
    box-shadow: 0 0 2px #ed1c24 inset;
    background-color: #fff;
    border: 1px solid #ed1c24;
    outline: none;
    height: 35px!important;
}

.log-input{
    height: 35px!important;
    babackground: #000!important;
}
#username { background-position: 10px 10px !important }
#password { background-position: 10px -53px !important }
#log-content form input[type="submit"] {
    background: rgb(254,231,154);
    background: -moz-linear-gradient(top,  rgba(254,231,154,1) 0%, rgba(254,193,81,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
    background: -o-linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
    background: -ms-linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
    background: linear-gradient(top,  rgba(254,231,154,1) 0%,rgba(254,193,81,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fee79a', endColorstr='#fec151',GradientType=0 );
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    border-radius: 30px;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
    -moz-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
    -ms-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
    -o-box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
    border: 1px solid #D69E31;
    color: #85592e;
    cursor: pointer;
    float: left;
    font: bold 15px Helvetica, Arial, sans-serif;
    height: 35px;
    margin: 20px 0 35px 15px;
    position: relative;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    width: 120px;
    #log-content form div a {
    }
    #log-content form input[type="submit"]:hover {
        background: rgb(254,193,81);
        background: -moz-linear-gradient(top,  rgba(254,193,81,1) 0%, rgba(254,231,154,1) 100%);
        background: -webkit-linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
        background: -o-linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
        background: -ms-linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
        background: linear-gradient(top,  rgba(254,193,81,1) 0%,rgba(254,231,154,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fec151', endColorstr='#fee79a',GradientType=0 );
    }
    color: #004a80;
    float: right;
    font-size: 12px;
    margin: 30px 15px 0 0;
    text-decoration: underline;
}


.log-underline{
    border-bottom:1px #23374b solid;
    margin: 8px 0 5px;

}













/*

 .login-bg {
            background-color: rgba(255, 255, 255, 0.95);  Slightly transparent white 
            padding:15px 40px;  Adjust padding slightly 
            border-radius: 20px;  More rounded corners 
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);  Softer, larger shadow 
            width: 100%;
          
            text-align: center;
            overflow: hidden;  Ensures content stays within rounded corners 
            transition: height 0.3s ease-in-out;  Smooth transition if height changes 
        }*/



/* Login Box Main Container */
/*.login-bg {
    background:url('./images/loginBackground1.png') no-repeat;
    padding:0px;  ऊपर ज्यादा space ताकि icon overlap करे 
    border-radius: 20px;
    width: 100%;
     position: relative;  icon positioning के लिए 
    transition: height 0.3s ease-in-out;
    border: 1px #1682ba solid;
    border-radius: 20px!important;
}*/


/* Login Box Main Container */
.login-bg {
    background:
      radial-gradient(160% 120% at -10% -20%, #f6fbff 0 55%, transparent 56%),
      radial-gradient(185% 135% at -8%  -20%, #eef6ff 0 60%, transparent 61%),
      radial-gradient(210% 150% at -6%  -20%, #e3efff 0 65%, transparent 66%),
      radial-gradient(240% 165% at -4%  -20%, #d6e7fb 0 70%, transparent 71%),
      radial-gradient(270% 180% at -2%  -20%, #c8dbf4 0 75%, transparent 76%),
      linear-gradient(180deg, #f6fbff 0%, #d9e9ff 100%);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    padding: 0px;
    border-radius: 20px!important;
    width: 100%;
    position: relative;
    transition: height 0.3s ease-in-out;
    border: 1px #1682ba solid;
}


/* blur softness optional */
.login-bg::before {
    content:"";
    position:absolute; inset:0;
    pointer-events:none;
    backdrop-filter: blur(0.2px);
    border-radius: 20px; /* radius match kare */
}



/* Profile Icon Above Box */
.login-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #365f93;
    position: absolute;
    top: -40px; /* आधा बाहर निकले */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Form Fields */
.login-bg input[type="text"],
.login-bg input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Captcha Section */
.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.captcha-image {
    height: 40px;
    border: 1px solid #ccc;
}

/* Login Button */


/*.login-bg button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.login-bg button:hover {
    background-color: #0056b3;
}*/





.login-bg h2 {
    /* Using the 'pixel' font for headings */
    font-family: 'Press Start 2P', cursive;
    font-size: 1.6em; /* Adjust size slightly for responsiveness */
    margin-bottom: 10px;
    color: #285174; /* Darker purple color */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}


.inner-box-m{
    margin-left: 26px;
}

@media screen and (max-width:1200px) {
.logon-bot-s
 {
  font-size: 12px !important;

 }
}


@media screen and (max-width: 768px) {

    .login-bg {

        padding: 2px 0px!important;

    }

    .login-bg h2 {
        font-family: 'Press Start 2P', cursive!important;
        font-size: 1.4em!important;
        margin:10px 0 12px;
    }

}





.icon-card {
    width: 160px;
    aspect-ratio: 66 / 71; 
    border-radius: 10px;
    background: linear-gradient(to bottom, #f0673d 0%, #ee4d33 65%, #fff 65%);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}


.icon-card::after {
    content: "";
    position: absolute;
    top: 65%;
    left: 0;
    right: 0;
    height: 2px;
    background: #000;
    opacity: 0.25;
}


.avatar {
    position: absolute;
    top: 65%;
    transform: translateY(-45%);
    width: 100px; 
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #f3c700;
}


.avatar::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 32%;
    transform: translate(-50%, -50%);
    width: 36%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 50%;
}


.avatar::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18%;
    transform: translateX(-50%);
    width: 70%;
    height: 34%;
    background: #fff;
    border-radius: 999px 999px 0 0;
}



.login-box-border .ui-panel,
.login-box-border .ui-panel .ui-panel-titlebar,
.login-box-border .ui-panel .ui-panel-content {
    border-radius: 25px !important;
    overflow: hidden; /* extra neatness */
}



.logon-bot-s{
    font-weight: bold!important;color:#0e7dd9;font-size: small;font-style: italic; font-size:10px!important;
}

/* login text start s */

.login-links-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Links */
.login-links-wrapper a span {
    position: relative;
    display: inline-block;
    padding: 4px 10px;               
    border-radius: 8px;               
    background: rgba(0, 123, 255, 0.08);  
    color: #003776;                   
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease, box-shadow 0.3s ease;
}

.login-links-wrapper a:hover span {
    background: rgba(0, 123, 255, 0.2); 
    color: #0d47a1;                   
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);  
}

.login-links-wrapper a span::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 0%;
    height: 2px;
    border-radius: 2px;
    background: #0d47a1;
    transition: width 0.3s ease;
}

.login-links-wrapper a:hover span::after {
    width: 70%;
}

/* Button */
.login-links-wrapper .ui-button {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 10px;
 background: #3d608f;
    color: #fff;
    border: none;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* shadow */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Button hover */
.login-links-wrapper .ui-button:hover {
  background:#164c93!important;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* stronger shadow on hover */
    cursor: pointer;
}


/* login text start end */


.login-icon2 {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: url('./images/avatar-user.png') no-repeat center center;
  background-size: cover;
}