@font-face {
    font-family: 'SF-Pro-Display';
    src: url('fonts/SF-Pro-Display-Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Оптимизация загрузки */
}

@font-face {
    font-family: 'SF-Pro-Display-light';
    src: url('fonts/SF-Pro-Display-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; 
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(3px);
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.drawer.open {
    transform: translateY(0);
}

.drawer.fullscreen {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
}

body.drawer-open {
    overflow: hidden;
}
/* Хедер панели */
.drawer-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: grab;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.drawer-header:active {
    cursor: grabbing;
}

.drawer-handle {
    box-sizing: border-box;
    width: 40px;
    height: 5px;
    background: #ddd;
    border-radius: 3px;
    margin: 0 auto 15px;
}
.SettingsTitle{
    color: #000;
    font-family: "SF-Pro-Display";
    font-size: 17px;
}
.PopolnitTitle{
    color: #000;
    font-family: "SF-Pro-Display";
    font-size: 20px;
    display: flex;
    justify-content: center;
}
.SettingsTitleDip{
    align-items: center;
    width: 100%;
    display: flex;
    gap: 10px;
}
.SettingsPanel{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    align-items: center;
}
.SettingsLeft{
    display: flex;
    flex-direction: column;
}
.SettingsPanelTitle{
    font-family: "SF-Pro-Display";
    font-size: 20px;
}
.SettingsPanelDesc{
    font-family: "SF-Pro-Display-light";
    color: #656877;
    margin-top: 4px;
}
.SelectSposob{
    padding: 5px;
    background-color: #E2E6EE;
    width: min-content;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-top: 15px;
    box-sizing: border-box;
}
.radio-button input[type="radio"] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
}
.radio-text{
    background:none;
    color: #656877;
    padding: 8px 15px;
    border-radius: 100px;
    font-family: "SF-Pro-Display";
    font-size: 14px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-button input[type="radio"]:checked ~ .radio-text {
    background-color: #0075F8;
    color: #ffffff;
}
.SelectedElement{
    width: 100%;
    height: 300px;
}
.EnterButton{
    width: 100%;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "SF-Pro-Display";
    font-size: 16px;
    color: #ffffff;
    background-color: #0075F8;
    height: 40px;
    z-index: 99999999;
}
.SelectedStars{
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.CenterIt{
    margin: auto;
    display: flex;
    align-items: end;
}
.inputSetting
{
    background:none;
    border: none;
    font-family: "SF-Pro-Display";
    font-size: 40px;
    padding: 0;
    text-align: end;
    line-height: 1;
    height: 40px;
    width: 2ch;
    box-sizing: content-box;
}
.inputSetting:focus{
    background:none;
    border: none;
    outline: none;
}
.starsText{
    font-family: "SF-Pro-Display";
    color: #656877;
    text-transform: uppercase;
    margin-bottom:2px;
}
.VivodPanel{
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.MyContactInfo{
    display: flex;
    text-decoration: none;
    font-family: "SF-Pro-Display";
    padding: 7px 13px;
    background-color: #0075F8;
    color: #ffffff;
    border-radius: 8px;
    font-size: 18px;
}
.textUnderVivodPanel{
    color: #656877;
    margin-top: 7px;
    font-size: 14px;
    font-family: "SF-Pro-Display";
    display: flex;
    justify-content: center;
    text-align: center;
}
.DopInfo{
    display: flex;
    flex-direction: column;
    position: absolute;
    margin: auto;
    top: 180px;
}
.TitleStars{
    color: #000;
    font-size: 16px;
    font-family: "SF-Pro-Display";
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}
.DescStars{
    color: #656877;
    font-size: 14px;
    font-family: "SF-Pro-Display";
    text-transform: uppercase;
    margin-top: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
}