
#loaderModal, #loaderModalCard {
    display: none;
    flex-direction: column;
    gap: 40px; 
    height: 200px;
    width: 302px;
    background: white;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'W95FA', sans-serif !important;
}


.progress-container {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}
.progress-bar {
    width: 0%;
    height: 100%;
    background: navy;
}
.info {
    font-size: 16px;
    margin-top: 10px;
    color: #444;
}
#statusText, #statusTextCard {
    font-size: 1.4rem;
    font-weight: normal;
    color: #1A1F71;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    font-family: 'W95FA', sans-serif;
}
.info {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

#loaderModal p, #loaderModalCard p {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    font-family: 'W95FA', sans-serif;
}

@media (min-width: 612px) {
    .progress-container{
        margin: 0 auto;
        width: 90%;
    }
    #loaderModal, #loaderModalCard {
        width: 610px;
    }
}

.redirect__center { 
    overflow: hidden;
    display: flex;
    justify-content: center;
}


.loader {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
  }
  .loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 2px solid #333333;
    animation: prixClipFix 2s linear infinite ;
  }

  @keyframes rotate {
    100%   {transform: rotate(360deg)}
  }

  @keyframes prixClipFix {
      0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
      25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
      50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
      75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
      100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
  }

  #moddal-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }







  /* Конкретизированные стили только для #codeModal */
  #codeModal {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    background: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
#codeModal img {
    width: 80px;
    margin-bottom: 15px;
}
#codeModal h2 {
    font-size: 17px;
    margin: 10px 0;
    font-weight: bold;
    color: #333;
}
#codeModal p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}
#codeModal .input-container {
    width: 100%;
    text-align: left;
}
#codeModal label {
    font-size: 14px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}
#codeModal input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
}
#codeModal .btn {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background: #0077e6;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
#codeModal .link {
    font-size: 14px;
    color: #0077e6;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}
#codeModal .link:hover {
    text-decoration: underline;
}

@media (max-width: 400px) {
    #codeModal {
        width: 90%;
    }
}