:root {
    --max-width-container: 768px;
    /* --max-width-container: 1168px; */
    /* --max-width-container: 1024px; */
}

/* Текстовые поля */
.custom-textarea {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-Secondary);
    padding: 12px;
    margin-top: 16px;
    background-color: var(--background-Secondary-alpha);
    color: var(--text-Primary);
    caret-color: var(--text-Primary);
    border: none;
    outline: none;
    box-shadow: none;
}
.custom-textarea.warning {
    border: 1px solid var(--border-Negative);
}

.input-container {
    display: flex;
    align-items: center;
    border-radius: 14px;
    border: 2px solid var(--border-Secondary);
    color: var(--text-Secondary);
    font-weight: 400;
    font-size: var(--font-size-16);
    line-height: var(--line-hieght-24);
    letter-spacing: var(--line-spacing-0);
    width: 100%;
    max-width: 400px;
    max-height: 48px;
    height: 100%;
    margin-bottom: 12px;
    padding: 0 10px;
}
.input-container-recovery
{
    margin-bottom:0;
}
.input-container-pass
{
    margin-bottom: 10px;
}

.input-container:hover {
    border: 2px solid var(--border-Brand);
    color: var(--text-Primary);
}
.input-container:focus-within {
    border: 2px solid var(--border-Brand);
    color: var(--text-Secondary);
}

input.form-control, .custom-input {
width: 100%;
background-color: var(--background-Secondary);
color: var(--text-Primary);
caret-color: var(--text-Primary);
border: none;
outline: none;
box-shadow: none;
height: 44px;
}

input.form-control:focus, .custom-input:focus {
    border: none;
    outline: none;
    box-shadow: none;
    color: var(--text-Primary) !important;
    background-color: var(--background-Secondary) !important;
}

input.form-control::placeholder, .custom-input::placeholder {
    border: none;
    outline: none;
    box-shadow: none;
    color: var(--text-Secondary) !important;
    background-color: var(--background-Secondary) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--background-Secondary) inset;
    -webkit-text-fill-color: var(--text-Primary);
    caret-color: var(--text-Primary);
    transition: background-color 9999s ease-in-out 0s;
}
/* Текстовые поля */

/* Картинки */
.img-round {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    
    object-fit: cover;
    object-position: center;
}
.icon-size-24 {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
  }
  
  .icon-size-24 > svg[height] {
    width: 100% !important;
    height: 100% !important;
  }
/* Картинки */

/* Scrollbar Custom */
.custom-scrollbar,
.sheduler-header,
.container-speakers,
.custom-modal__body,
.container-notifications {
    scrollbar-width: 6px;
    scrollbar-color: none;
  }
  
  .custom-scrollbar::-webkit-scrollbar,
  .sheduler-header::-webkit-scrollbar,
  .container-speakers::-webkit-scrollbar,
  .custom-modal__body::-webkit-scrollbar,
  .container-notifications::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
  
  .custom-scrollbar::-webkit-scrollbar-track,
  .sheduler-header::-webkit-scrollbar-track,
  .container-speakers::-webkit-scrollbar-track,
  .custom-modal__body::-webkit-scrollbar-track,
  .container-notifications::-webkit-scrollbar-track {
    background-color: var(--background-Secondary);
    border-radius: 100px;
    padding: 0;
  }
  
  .custom-scrollbar::-webkit-scrollbar-track:hover,
  .sheduler-header::-webkit-scrollbar-track:hover,
  .container-speakers::-webkit-scrollbar-track:hover,
  .custom-modal__body::-webkit-scrollbar-track:hover,
  .container-notifications::-webkit-scrollbar-track:hover {
    background-color: var(--background-Secondary);
  }
  
  .custom-scrollbar::-webkit-scrollbar-track:active,
  .sheduler-header::-webkit-scrollbar-track:active,
  .container-speakers::-webkit-scrollbar-track:active,
  .custom-modal__body::-webkit-scrollbar-track:active,
  .container-notifications::-webkit-scrollbar-track:active {
    background-color: var(--background-Secondary);
  }
  
  .custom-scrollbar::-webkit-scrollbar-thumb,
  .sheduler-header::-webkit-scrollbar-thumb,
  .container-speakers::-webkit-scrollbar-thumb,
  .custom-modal__body::-webkit-scrollbar-thumb,
  .container-notifications::-webkit-scrollbar-thumb {
    background-color: var(--border-Tertiary-alpha);
    border-radius: 100px;
    min-height: 30px;
  }
  
  .custom-scrollbar::-webkit-scrollbar-thumb:hover,
  .sheduler-header::-webkit-scrollbar-thumb:hover,
  .container-speakers::-webkit-scrollbar-thumb:hover,
  .custom-modal__body::-webkit-scrollbar-thumb:hover,
  .container-notifications::-webkit-scrollbar-thumb:hover {
    background-color: var(--border-Tertiary-alpha);
  }
  
  .custom-scrollbar::-webkit-scrollbar-thumb:active,
  .sheduler-header::-webkit-scrollbar-thumb:active,
  .container-speakers::-webkit-scrollbar-thumb:active,
  .custom-modal__body::-webkit-scrollbar-thumb:active,
  .container-notifications::-webkit-scrollbar-thumb:active {
    background-color: var(--border-Tertiary-alpha);
  }
  
  .custom-scrollbar::-webkit-scrollbar-button,
  .sheduler-header::-webkit-scrollbar-button,
  .container-speakers::-webkit-scrollbar-button,
  .custom-modal__body::-webkit-scrollbar-button,
  .container-notifications::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }
/* Scrollbar Custom */

/* Bottom Modal */
.body-modal-item { display: flex; align-items: center; gap: 8px; margin: 12px 0; width: -webkit-fill-available; }
.body-modal-item a { text-decoration: none; color: var(--text-Primary) !important; }
.body-modal-item:first-child { margin-top: 0; }
.body-modal-item:last-child { margin-bottom: 0; }
/* Bottom Modal */