.button-loading {
    position: relative;
    pointer-events: none;
    cursor: not-allowed;
}

/*.button-loading.button-loading-light .otp-spinner {*/
/*    border-top-color: rgba(255, 255, 255, 0.5);*/
/*    border-left-color: rgba(255, 255, 255, 0.5);*/
/*}*/

/*.button-loading.button-loading-dark .otp-spinner {*/
/*    border-top-color: rgba(0, 0, 0, 0.5);*/
/*    border-left-color: rgba(0, 0, 0, 0.5);*/
/*}*/

/*.otp-spinner {*/
/*  display: inline-block;*/
/*  width: 2rem;*/
/*  height: 2rem;*/
/*  border: 4px solid rgba(255, 255, 255, 0.4);*/
  /*border-top-color: #fff;*/
/*  border-radius: 50%;*/
/*  animation: spin 0.7s linear infinite;*/
/*  margin-left: 6px;*/
/*  margin-right:6px;*/
/*  vertical-align: middle;*/
/*}*/

.otp-spinner {
  width: 2rem;
  height: 2rem;
  border: 3px dotted #FFF;
  border-style: solid solid dotted dotted;
  border-radius: 50%;
  margin-right:8px;
  margin-left:8px;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 2s linear infinite;
}
.otp-spinner::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px dotted #FF3D00;
  border-style: solid solid dotted;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  animation: rotationBack 1s linear infinite;
  transform-origin: center center;
}
    
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} 
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
} 

/* اطمینان از اینکه متن دکمه مخفی نمی‌شود */
.button-loading .btn-text {
  opacity: 0.6;
}

@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
#message .alert {
    animation: fadeIn 0.3s ease-in-out;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.col-md-6 {
    padding-right: 5px;
    padding-left: 5px;
}
