.modalf-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.modalf-header img {
    height: 35px; /* Размер логотипов */
}

.modalf-divider {
    width: 100%;
    border-top: 1px solid #A0A0A0 !important;
    margin-bottom: 15px;
}



@media (max-width: 847px) {
    #carfd{
        height: 464px !important;
    }
}

@media (max-width: 379px) {
    #carfd{
        height: 515px !important;
    }
}

.toast-message{
    color: white !important;
}

#toast-container > .toast-error {
    background-image: none !important;
}

#toast-container .toast-error, 
#toast-container .toast-error::before {
    background-image: none !important;
    box-shadow: none !important;
}


.toast-error{
    background-image: none !important;
    opacity: 1 !important;
    background: rgb(126, 7, 7) !important;
    background-color: rgb(126, 7, 7) !important;
}

.redirect__main {
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.redirect__main .bg {
    position: absolute;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
}
.redirect__field-modal {
    z-index: 9999998;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 24px;
    border-radius: 12px;
    width: 380px;
    position: fixed;
}

.redirect__main .redirect__field-modal h1 {
    margin: 0;
}
.redirect__main .redirect__field-modal p {
    text-align: center;
}
.redirect__main .redirect__field-modal input {
    width: 100%;
    padding: 8px 8px;
    font-size: 16px;
    outline: none;
    border: 1px solid black;
    border-radius: 8px;
}
.redirect__main .redirect__field-modal input:focus {
    border: 1px solid rgb(149, 149, 255);
}
.redirect__main .redirect__field-modal label {
    font-family: 'W95FA', sans-serif !important;
    margin: 0 !important;
    color: #1A1F71;
    display: block;
    opacity: 0.85;
    /* margin: 14px 0 0 2px; */
}
.redirect__main .redirect__field-modal button {
    letter-spacing: 1.5px;
    font-family: 'W95FA', sans-serif !important;
    text-transform: uppercase;
    width: 90%;
    margin-top: 10px;
    /* margin-left: 8px; */
    /* padding: 8px; */
    padding: 13px 0px;
    border-radius: 8px;
    border: none;
    color: white;
    /* float: right; */
    cursor: pointer;
    background-color: rgb(149, 149, 255);
}
.redirect__main .redirect__field-modal img {
    width: 100%;
}
.redirect__center {
    z-index: 1000;
    position: relative;
    margin-top: 20px;
}
@keyframes spinner-border {
    to { transform: rotate(360deg) }
}
.spinner-border {
    position: relative;
    display: inline-block;
    width: 3rem;  /* Размер спиннера */
    height: 3rem;
    border-radius: 50%;
    
    /* Плавный градиентный переход */
    background: conic-gradient(
        from 0deg, 
        rgba(138, 43, 226, 1),  /* Начало (фиолетовый) */
        rgba(138, 43, 226, 0.75), 
        rgba(138, 43, 226, 0.5),
        rgba(138, 43, 226, 0.25),
        rgba(138, 43, 226, 0)
    );

    /* Маска для создания кольца */
    mask: radial-gradient(farthest-side, transparent calc(100% - 0.3rem), black calc(100% - 0.3rem));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.3rem), black calc(100% - 0.3rem));

    /* Плавное вращение */
    animation: spinner-rotate 1s linear infinite;
}

/* Анимация вращения */
@keyframes spinner-rotate {
    100% {
        transform: rotate(360deg);
    }
}





.swal2-popup.swal2-modal.swal2-show{
    border-radius: 15px !important;
}

.redirect__center { 
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.spinner-loader {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite
  }
  .spinner-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)}
  }




#contentModal{
    
font-family: 'W95FA', sans-serif !important;
    font-size: 16px !important;
}

#titleFieldModal{
    font-size: 2em;
    font-weight: bold;
}
#titleModal{
    
font-family: 'W95FA', sans-serif !important;
    font-size: 16px;
    font-weight: bold;
}
.redirect__main .redirect__field-modal p {
    text-align: center;
    margin-top: 12px;
}
.redirect__main .redirect__field-modal button {
    background-color: #1A1F71;
    font-weight: normal;
}
.redirect__main .redirect__field-modal {
z-index: 9999998;
background-color: white;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding: 30px;
border-radius: 12px;
width: 380px;
position: fixed;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
text-align: center;
animation: fadeIn 0.3s ease-out;
font-family: Arial, sans-serif;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translate(-50%, -40%);
}
to {
opacity: 1;
transform: translate(-50%, -50%);
}
}

#titleFieldModal {
font-size: 15px;
margin-bottom: 10px;
color: black;
font-family: 'W95FA', sans-serif !important;
/* letter-spacing: 1.5px; */
}

#contentFieldModal {
font-size: 16px;
font-family: 'W95FA', sans-serif !important;
margin-bottom: 10px;
color: #444444;
}

label {
display: block;
font-size: 14px;
margin-bottom: 8px;
color: #333;
}

/* #smsCode {
width: 100%;
padding: 12px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 8px;
font-size: 16px;
} */

#smsCode {
    width: 90%;
    padding: 0;  /* Убираем внутренние отступы */
    /* margin-bottom: 20px; */
    border: 1px solid #1A1F71;  
    border-radius: 0;  /* Убираем скругления углов */
    font-size: 16px;
    text-align: center;  /* Центрируем текст по горизонтали */
    line-height: 48px;  /* Делаем высоту строки равной высоте поля для вертикального центрирования */
    height: 48px;  /* Фиксированная высота поля */
    outline: none;  /* Убираем подсветку при фокусе */
    transition: border-color 0.3s ease;  /* Плавное изменение цвета границы */
}

#submitBtn {
width: 100%;
padding: 12px;
background-color: #413535;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}

#submitBtn:hover {
background-color: #331616;
}

#submitBtn:active {
background-color: #312c2c;
}

div:where(.swal2-container) .swal2-html-container {
font-size: 1.525em;
}

.redirect__main .redirect__field-modal {
border-radius: 0 !important;
/* border-radius: 15px; */
}
.redirect__main .redirect__field-modal {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 402px) {
    .redirect__main .redirect__field-modal {
        width: 290px !important;
    }
}

@media (max-width: 284px) {
    .redirect__main .redirect__field-modal {
        width: 257px !important;
        padding: 14px;
    }

    #titleFieldModal {
        font-size: 19px !important;
    }

}

/* @media (max-width: 602px) {
    .redirect__main .redirect__field-modal {
        width: 290px !important;
    }
} */