*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 12px;
}

body{
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
      background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('../img/stallsbg3.jpeg') top center;
    background-size: cover;
    background-blend-mode: multiply;
    background-repeat: no-repeat;
}

h1,
h2,
h3,
h4,
h5{
  color: green;
  text-align: center;
}

.container2{
    height:auto;
    max-width: 800px;
    width: 80%;
    background: rgba(255, 255, 255, 0.99);
    padding: 28px;
    margin: 0 auto;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: auto;
/*    box-shadow: inset -2px 2px 2px white;*/
    /*border:solid red 1px;*/
}

.filterz{
    border-color: blue;
}

.input_new:hover{
    border-color: rgba(0,200,0,0.4);
}

.input_new:focus{
    border-color: rgba(0,200,0,0.4);
}

.form-title{
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 6px;
    color: white;
    text-shadow: 2px 2px 2px black;
    border-bottom: solid 1px white;
}

.main-user-info{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    font-size: 10px;
    margin:0px;
/*    border: 2px solid green;*/
}


.user-input-box:nth-child(2n){
    justify-content: end;
}

.user-input-box{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 15px;
/*    border:solid green 1px;*/
}

.user-input-box label{
    width: 100%;
    color: darkgreen;
    font-size: 12px;
    font-weight: 400;
    margin: 5px 0;
/*    border:solid red 1px;*/
}

.user-input-box .nsr{
    color: darkgreen;
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    padding:0;
/*    border:solid red 1px;*/
}

.user-input-box .nsr input{
    height: 50px;
    width: 100%;
    border-radius: 7px;
    background: rgba(0, 0, 0, 0.09);
    outline: none;
    border: none;
    padding: 10px;
}

.user-input-box input{
    height: 30px;
    width: 100%;
    border-radius: 7px;
    background: white;
    outline: none;
    border: none;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

h5 {
    color: blue;
}

.user-input-box .ro{
    background: rgba(0, 0, 0, 0.09);
}

.user-input-box input:hover{
    background: rgba(0, 255, 0, 0.2);
    transition: 0.5s;
}


.sub-user-info{
    display: flex;
    font-size: 10px;
/*    border:solid red 2px;*/
    width: 100%;
    justify-content: center;
    text-align: center;
     padding: 0 30 0 0px;
}

.top-user-info{
    display: flex;
    font-size: 10px;
/*    border:solid red 2px;*/
    width: 40%;
    justify-content: center;
    text-align: center;
     padding: 0 30 0 0px;
}

.top-user-info select{
    width:95%;
    border: none;
    outline: none;
    border-radius: 5px;
    border-bottom: 2px solid rgba(0, 100, 0, 0.3);
    text-align: center;
}

.top-user-info .search label{
    text-align: left;
}

.top-user-info .input{
    width:95%;
    background: rgba(0, 0, 0, 0.09);
    border: none;
    outline: none;
    border-radius: 5px;
    border-bottom: 2px solid rgba(0, 100, 0, 0.3);
    text-align: center;
}

.top-user-info .user-input-box .innerSelect{
    background: rgba(0, 100, 0, 0.1);
    width:95%;
/*    border:solid red 2px;*/
    outline: none;
    border-radius: 5px;
    border-bottom: 2px solid rgba(0, 100, 0, 0.3);
}

.select-box:nth-child(2n){
    justify-content: end;
}



.select-box label{
    width:95%;
    color: darkgreen;
    font-size: 12px;
    margin: 0px 0;
}

.select-box input{
    background: white;
    height: 30px;
    width: 50%;
    border-radius: 7px;
    outline: none;
    border: none;
    padding: 0 0px;
    border-bottom: 2px solid rgba(0, 100, 0, 0.3);
    text-align: center;
/*    border: 1px solid red;*/
}

.select-box .ro{
    background: rgba(0, 0, 0, 0.09);
    border-bottom: 2px solid rgba(0, 100, 0, 0.2);
}
.gender-title{
    color:white;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 1px solid white;
}

.gender-category{
    margin: 15px 0;
    color: white;
}

.gender-category label{
    padding: 0 20px 0 5px;
}

.gender-category label,
.gender-category input,
.form-submit-btn input{
    cursor: pointer;
}

.form-submit-btn{
    margin-top: 40px;
}

.form-submit-btn input{
    display: block;
    width: 100%;
    margin-top: 10px;
    font-size: 20px;
    padding: 10px;
    border:none;
    border-radius: 3px;
    color: rgb(209, 209, 209);
    background: rgba(63, 114, 76, 0.7);
}

.form-submit-btn input:hover{
    background: rgba(56, 204, 93, 0.7);
    color: rgb(255, 255, 255);
}

.btns{
  display: inline-block;
  margin: 10px auto;
  text-align: center;
  width: 100%;
  height: 50px;
  float: left;
  padding: 10px 40px 20px 40px;
/*  border:1px solid red;*/
  outline: none;
}

.search_btn{
  margin: 0 20px 20px 20px;
  width: 100px;
  border: 2px lightgrey solid;
  border-radius: 5px;
  background: none;
}

.search_btn:hover{
  background: rgb(0,255,0,0.3);
  transition: 0.3s;
}

.page_btn{
  margin: 0 20px 20px 20px;
  width: 100px;
  border: 2px lightgrey solid;
  border-radius: 5px;
  background: none;
}

.page_btn:hover{
  border-color: rgb(0,100,0,1);
  color: rgb(0,100,0,1);
  transition: 0.3s;
}

.sms select{
    border: none;
    outline: none;
    border-radius: 5px;
    border-bottom: 2px solid rgba(0, 100, 0, 0.3);
}

.dropdowns select{
    border: none;
    outline: none;
    border-radius: 5px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    height: 30px;
    background: rgba(0, 0, 0, 0.09);
}

.dropdowns2{
    text-align: center;
}

.dropdowns{
    text-align: center;
}

.dropdowns2 select{
    border: none;
    outline: none;
    border-radius: 5px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 50%;
    text-align: center;
    background: none;
}

.dropdowns select:hover{
    border: none;
    outline: none;
    border-radius: 5px;
    border-bottom: 2px solid rgba(0, 100, 0, 0.3);
}

.changePASS_div{
    text-align: center;
}

.changePASS{
    outline: none;
    border: none;
    color: darkgreen;
    text-align: center;
}

.changePASS:hover{
    color: limegreen;
    transition: 0.3s;
}

.card{
  width: 500px;
  max-width:90%;
  border:none;
    background: rgba(255,255,255,.8);
    overflow: none;
  backdrop-filter: blur(13px) saturate(180%) contrast(120%);
  -webkit-backdrop-filter: blur(15px) saturate(180%) contrast(120%);
}

/*.center{*/
/*    border: 1px solid red;*/
/*    max-height: 400PX;*/
/*}*/




.btr{

  border-top-right-radius: 5px !important;
}


.btl{

  border-top-left-radius: 5px !important;
}

.btn-dark {
    color: #fff;
    background-color: green;
    border-color: darkgreen;
}


.btn-dark:hover {
    color: #fff;
    background-color: rgba(39, 174, 96,1);
    border-color: rgba(39, 174, 96,1);
}


.nav-pills{

  display:table !important;
  width:100%;
}

.nav-link{
  color: green;
}

.nav-link:hover{
  color: black;
}

.nav-pills .nav-link {
    border-radius: 0px;
        border-bottom: 1px solid green;

}

.nav-item{
      display: table-cell;
       background: rgba(39, 174, 96,0.2);
       
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: white;
    background-color: green;
}

.forgot{
    /*border: 1px solid red;*/
    text-align: center;
    padding: 15px;
}

.forgot:hover{
    transition: 0.5s;
}

.forgot_link{
    text-decoration: none;
    color: green;
    /*border: 1px solid blue;*/
    text-align: center;
}

.forgot_link:hover{
    color: lightgreen;
    transition: 0.5s;
}

.other_link{
    text-decoration: none;
    color: white;
    /*border: 1px solid blue;*/
    text-align: center;
}

.other_link:hover{
    color: lightgreen;
    transition: 0.5s;
}

.form{
  padding: 10px;
  max-height: 600px;
}

.form input{
  margin-bottom: 12px;
  border-radius: 3px;
}


.form input:focus{

  box-shadow: none;
}


.form button{
margin: 0 auto;
}

.modal {
  --gap: 15px;

  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: var(--gap);
  background: rgba(0, 0, 0, 0.5);
  font-family: sans-serif;
  display: none;
}

.modal__inner {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  border-radius: 4px;
}

.modal__top {
  display: flex;
  align-items: center;
  background-color: #eeeeee;
}

.modal__title {
  flex-grow: 1;
  padding: 0 var(--gap);
  font-size: 20px;
}

.modal__close {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: var(--gap);
  background: none;
  border: none;
  outline: none;
}

.modal__content {
  padding: 0 var(--gap);
  line-height: 1.5;
  font-size: 10px;
  overflow-y: scroll !important;
  max-height: 300px;
  text-align: left;
  color: grey;
}

.modal__bottom {
  text-align: right;
  padding: 0 var(--gap) var(--gap) var(--gap);
  background-color: #eeeeee;
}

.modal__button {
  display: inline-block;
  padding: 6px 12px;
  margin-top: 10px;
  background: #ffffff;
  border-color: #32CD32;
  outline: none;
  border-radius: 3px;
  color: green;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  
}

.modal__button:not(:last-child) {
  margin-right: var(--gap);
  
}

.modal__button:hover {
  background: #32CD32;
  transition: 0.3s;
  color: #ffffff;
}

.terms{
  margin-left: 10px;
  width: 250px;
  color: red;
  font-size: 11px;
  cursor: pointer;
  font-weight: bold;
/*  border: 1px solid blue;*/
}

.check{
    margin-right: 5px;
    top: 20px;
}

.terms:hover{
    color: green;
    transition: 0.3s;
}

.TC {
/*    border: 1px solid red;*/
    text-align: center;
    margin: 20px;
    padding:5px;
}

.cellNumber{
    /* border: 1px solid red; */
    margin-left: 0px;
}

.areaCodes{
    width: 15%;
    height: 20px;
    margin-right: 10px;
    text-align: center;
  }

.number{
    width: 80%;
}

.resend{
    width: 100px;
    margin: 0 auto;
    text-decoration: none;
    border-radius: 5px;
    color: green;
    border-color: green;
    background-color: rgba(0, 0, 0, 0);
    font-size: 10px;
    font-weight: bold;
    padding: 5px;
}

.resendDiv{
    display: flex;
}

.resendForm{
    height: 30px;
    margin: 10px;
}


/* Copyright and Credits Styling */
.copyright {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  z-index: 10;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  pointer-events: none; /* Allow clicking through to elements behind */
  font-size: 12px;
}

/*.credits {*/
/*  font-size: 10px;*/
/*  margin-top: 5px;*/
/*  opacity: 0.9;*/
  /*pointer-events: auto;*/
  /* Re-enable pointer events for the link */
/*}*/

.copyright a {
    padding: 2px;
  color: white;
  font-weight: bolder;
  text-decoration: none;
  margin-left: 5px;
  transition: color 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(13px) saturate(180%) contrast(120%);
  -webkit-backdrop-filter: blur(15px) saturate(180%) contrast(120%);
}

.copyright a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Ensure card has proper margin to make space for copyright */


@media(max-width: 600px){

    
    .container2{
        min-width: 280px;
    }

    .user-input-box{
        margin-bottom: 12px;
        width: 100%;
    }

    .select-box{
        margin-bottom: 12px;
        width: 100%;
    }

    .user-input-box:nth-child(2n){
        justify-content: space-between;
    }

    .select-box:nth-child(2n){
        justify-content: space-between;
    }

    .gender-category{
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .main-user-info{
        max-height: 380px;
        overflow: auto;
    }

    .sub-user-info{
        max-height: 380px;
        overflow: auto;
    }

    .main-user-info::-webkit-scrollbar{
        width: 0;
    }

    .sub-user-info::-webkit-scrollbar{
        width: 0;
    }

    .btns{
        margin: 0px 0px 0px 0px;

    }

    .page_btn{
          width: 70px;
    }

    .search_btn{
          width: 80px;
          border: 2px solid green;
          margin: 10px 50px 50px 500px;
    }
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal > div {
  /*width: 100%;*/
  max-width: 95%;
  max-height: 90vh;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.modal__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.modal__title {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.modal__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal__close:hover {
  background: #e9ecef;
  color: #333;
}

.modal__content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Enhanced Error Styling with Smoother Animations */
#errDiv {
    position: absolute;
    height: auto;
    min-height: 15px;
    margin: auto;
    padding: 10px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    /* Center horizontally */
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    /* Position it appropriately */
    top: 10px; /* Position below the tabs */
    width: 90%;
    max-width: 500px;
    z-index: 10;
    will-change: transform, opacity, height;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

#errMsg {
    font-weight: 600;
    margin: 0;
    padding: 8px 8px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    font-size: 13px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
    line-height: 1.4;
    transform-origin: center;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

#errMsg:before {
    font-family: 'bootstrap-icons';
    font-size: 18px;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

#errMsg.error {
    background: linear-gradient(135deg, rgba(255, 223, 223, 0.98), rgba(255, 240, 240, 0.98));
    color: #d32f2f;
    border-left: 5px solid #d32f2f;
    border-right: 1px solid rgba(211, 47, 47, 0.1);
    box-shadow: 
        0 4px 20px rgba(211, 47, 47, 0.15),
        0 2px 8px rgba(211, 47, 47, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

#errMsg.error:before {
    content: '\f33a'; /* Bootstrap icon for exclamation triangle */
    animation: gentlePulse 2s ease-in-out infinite;
}

#errMsg.success {
    background: linear-gradient(135deg, rgba(227, 255, 227, 0.98), rgba(240, 255, 240, 0.98));
    color: #2e7d32;
    border-left: 5px solid #2e7d32;
    border-right: 1px solid rgba(46, 125, 50, 0.1);
    box-shadow: 
        0 4px 20px rgba(46, 125, 50, 0.15),
        0 2px 8px rgba(46, 125, 50, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 0.5);
}

#errMsg.success:before {
    content: '\f26e'; /* Bootstrap icon for check circle */
    animation: gentleBounce 2s ease-in-out infinite;
}

.errorOff {
    opacity: 0;
    height: 0;
    transform: translateY(-20px) scale(0.95);
    overflow: hidden;
    transition: 
        opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.errorOn {
    opacity: 1;
    height: auto;
    transform: translateY(0) scale(1);
    transition: 
        opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-bottom: 15px;
    padding: 10px;
    pointer-events: auto;
    animation: gentleEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Enhanced Animations */
@keyframes gentleEntrance {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    70% {
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes subtleShake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

/* Add a subtle shake for error messages */
#errMsg.error.errorOn {
    animation: gentleEntrance 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both,
               subtleShake 0.5s ease-in-out 0.7s;
}

/* Add a subtle glow effect on hover */
#errMsg:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.15),
        0 3px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 3px rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#errMsg:hover:before {
    transform: scale(1.15);
}

/* Responsive adjustments */
@media(max-width: 600px){
    #errDiv {
        top: 50px;
        width: 95%;
        padding: 8px;
    }
    
    #errDiv.errorOn {
        margin-bottom: 10px;
    }
    
    #errMsg {
        padding: 14px 18px;
        font-size: 12px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        border-radius: 8px;
    }
    
    #errMsg:before {
        font-size: 16px;
    }
    
    @keyframes gentleEntrance {
        0% {
            opacity: 0;
            transform: translateY(-15px) scale(0.95);
        }
        70% {
            transform: translateY(3px) scale(1.01);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

/* Styled Accept Button for Terms Modal */
.modal__accept {
    display: block;
    width: 100%;
    padding: 14px 20px;
    margin: 20px auto 0;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    position: relative;
    overflow: hidden;
}

.modal__accept:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.modal__accept:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.modal__accept:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.3);
}

/* Add a subtle ripple effect */
.modal__accept::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.modal__accept:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

/* Update the existing modal bottom styling */
.modal__bottom {
    text-align: center;
    padding: 15px 20px 20px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* Add a success animation when button is clicked */
.modal__accept.success {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    animation: buttonSuccess 0.6s ease-in-out;
}

@keyframes buttonSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments for the accept button */
@media(max-width: 600px){
    .modal__accept {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .modal__bottom {
        padding: 12px 15px 15px;
    }
}

/* Modern Smooth Loader */
.modern-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-container {
    text-align: center;
    max-width: 300px;
    width: 90%;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: containerEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes containerEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.spinner-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: spinnerRotate 2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-circle:nth-child(1) {
    border: 4px solid rgba(39, 174, 96, 0.2);
    border-top-color: #27ae60;
    animation-delay: -0.15s;
}

.spinner-circle:nth-child(2) {
    border: 4px solid rgba(52, 152, 219, 0.2);
    border-top-color: #3498db;
    animation-delay: -0.3s;
}

.spinner-circle:nth-child(3) {
    border: 4px solid rgba(155, 89, 182, 0.2);
    border-top-color: #9b59b6;
    animation-delay: -0.45s;
}

.spinner-circle:nth-child(4) {
    border: 4px solid rgba(241, 196, 15, 0.2);
    border-top-color: #f1c40f;
    animation-delay: -0.6s;
}

@keyframes spinnerRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

.loader-progress {
    width: 100%;
    height: 4px;
    background: rgba(236, 240, 241, 0.8);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71, #27ae60);
    border-radius: 2px;
    animation: progressFill 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: shine 1s ease-in-out infinite;
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Optional: Add a completion animation */
.modern-loader.completing {
    animation: loaderExit 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderExit {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Responsive adjustments */
@media(max-width: 600px){
    .loader-container {
        padding: 30px 20px;
        max-width: 250px;
    }
    
    .loader-spinner {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .loader-text {
        font-size: 14px;
    }
}