:root {
    /*--bg-up-down: #F0ECE0;*/
    --bg-up-down: #F6FAFF;
    /*--bg-main: #F9F7EF;*/
    --bg-main: #ffffff;
    --bg-app: #FFFFFF;
    --hf-border-color: gray;
    --footer-text-color: black;
    --header-text-color: black;
}

.app {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    font-family: 'Inter', sans-serif;
}

.main-container {
    width: 100%;
    height: 100%;
    background: var(--bg-main);
}
.header {
    width: 100%;
    height: 60px;
    background: var(--bg-up-down);
    /*padding: 0 10px;*/
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    .nav-link {
        color: black!important;
        font-size: 1.5em!important;
        font-weight: 500;
    }
}
.main-content {
    width: 100%;
    height: calc(100% - 120px);
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo__wraper {
    width: 60px;
    height: 60px;
}
.logo {
    width: 100%;
    height: 100%;
}
.nav-links {
    background: var(--bg-up-down);
    color: var(--header-text-color);
}

.lang-select {
    option {
        color: black!important;
    }
}
.lang-select {
    background: transparent;
    color: black!important;
    border: none;
    font-size: 16px;
    font-weight: 500;
    /*padding: 6px 12px;*/
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
    --retool-list-box-hover-background: orange;
    cursor: pointer;
    outline: none;
    position: relative;
}


/* Убираем стандартную стрелку и добавляем кастомную */
.lang-select {
    background: url("data:image/svg+xml;utf8,<svg fill='black' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 10px center;
    background-size: 10px;
    padding-right: 25px;
}



/* Опционально: стилизуем выпадающий список */
.lang-select option {
    background-color: var(--bg-up-down);
    color: #2f2f2f;
    border: none;
}


footer {
    width: 100%;
    height: 60px;
    bottom: 0;
    background: var(--bg-up-down);
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-kart {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: left;
    cursor: pointer;
}
.contact-logo {
    height: 40px;
    width: 40px;
    margin: 10px;
}
.contact-wraper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-family: "Tw Cen MT";
    font-size: 2em;
    color: var(--footer-text-color);
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
}

.contact-kart:hover {
    .contact-wraper {
        width: auto;
        /*.phone {*/
        /*    width: 200px;*/
        /*}*/
        /*.gmail {*/
        /*    width: 200px;*/
        /*}*/
        /*.telegram {*/
        /*    width: 150px;*/
        /*}*/
        /*.instagram {*/
        /*  width: 500px;*/
        /*}*/
    }
}


.modal-container {
    margin: auto;
    width: 80%;
    height: 80vh;
    position: fixed;
    .modal-title {
        width: 100%;
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .lg {
        width: 80%;
    }
    .sm {
        width: 60%;
    }
}

.auth-content {
    width: 100%;
    height: calc(100% - 120px);
    padding: 30px;
    overflow-y: scroll;
}


.login-form {
    width: 300px;
    background: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 20px;
    border-radius: 10px;
  }

.hamberger-menu {
    position: static;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.7em;
    height: 60px;
    width: 60px;
    font-weight: bold;
    cursor: pointer;
}
.hamburger-wraper {
    height: 100%;
    min-height: 60px;
}

@media (max-width: 720px) {
    .header {
        flex-direction: column;
        height: fit-content;
    }
    .nav-links {
        z-index: 200;
        display: none; 
        flex-direction: column;
        align-items: self-end;
        width: 100%;
    }
    .hamburger-wraper {
        min-height: 60px;
        width: 100%;
    }
    .logo__wraper {
        display: none;
    }
    .hamberger-menu {
        display: flex;
    }
    .hamburger-wraper:hover .hamberger-menu {
        display: none;
    }
    .hamburger-wraper:hover .nav-links {
        position: absolute;
        display: flex;
    }
    footer {
        flex-direction: column;
        height: fit-content!important;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    .contact-kart {
        gap: 0;
    }
    .contact-wraper {
        width: 100%;
        text-wrap: wrap;
    }
    .contact-logo {
        margin: 0;
    }
    .main-container {
        flex-grow: 1;
        overflow-y: scroll;
    }
    .main-content {
        height: fit-content;
        overflow-y: visible;
    }
}