@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background: #FDF5EF;
    padding-bottom: 90px;
}

.section{
    margin-top: 25px;
}

.sectionMain{
    margin-top: 35px;
}

.container {
    width: 1320px;
}

@media(min-width: 320px) and (max-width: 1320px){
    .container{
        width: 95%;
    }
}

.titlePage{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
}

.userAvatar{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
}

.userAvatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titlePage h1{
    text-align: left;
    font-size: 26px;
}


/* нижнее меню */

.sectionMenu {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    pointer-events: none;
}

.menuContainer {
    display: flex;
    gap: 20px;
    background: #5d5fef0d;
    padding: 5px 10px;
    border-radius: 20px;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.menuItem {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: transparent;
}

.menuItem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #5d5fef;
    opacity: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s ease;
}

.menuItem:hover::before,
.menuItem.active::before {
    opacity: 0.1;
    transform: scale(1);
}

.menuItem:hover,
.menuItem.active {
    transform: translateY(-2px);
}

.menuIcon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(28%) sepia(84%) saturate(3668%) hue-rotate(235deg) brightness(95%) contrast(101%);
    transition: filter 0.3s ease;
    pointer-events: none;
}

.menuItem:hover .menuIcon,
.menuItem.active .menuIcon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(84%) saturate(3668%) hue-rotate(235deg) brightness(95%) contrast(101%);
}

@media (min-width: 480px) {
    .menuContainer {
        gap: 20px;
        padding: 12px 20px;
    }
    
    .menuItem {
        width: 52px;
        height: 52px;
    }
    
    .menuIcon {
        width: 22px;
        height: 22px;
    }
}


.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btnMain {
    gap: 10px;
    background: #396054;
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 14px;
}

.btnMain:hover {
    background: #2b4940;
    transform: translateY(-3px);
}

.btnArrow::after {
    content: "→";
    font-size: 18px;
    font-weight: bold;
}

.btnCancel {
    gap: 10px;
    background: #ef4444;
    color: white;
    font-weight: 500;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 14px;
}

.btnCancel:hover {
    background: #dc2626;
    transform: translateY(-3px);
}

.btnGray {
    background: #e5e7eb;
    color: #374151;
    padding: 10px 20px;
    border-radius: 14px;
}

.btnGray:hover {
    background: #d1d5db;
    transform: translateY(-3px);
}

.btnOutline{
    gap: 10px;
    background: none;
    color: #396054;
    border: 1px solid #396054;
    font-weight: 500;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: 14px;
}

.btnOutline:hover{
    background: #396054;
    color: #fff;
    transform: translateY(-3px);
}

/* form */

.formInput, .formTextarea {
    width: calc(100% - 24px);
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    transition: border 0.2s ease;
    background: #fff;
}

.formInput:focus, .formTextarea:focus {
    outline: none;
    border-color: #5d5fef;
}

.formTextarea {
    min-height: 160px;
    resize: vertical;
}

.formActions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.formTitle {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.formGroup {
    margin-bottom: 16px;
}

.formLabel {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.formControl {
    width: calc(100% - 28px);
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.2s ease;
}

.formControl:focus {
    border-color: #6aa8ff;
    box-shadow: 0 0 0 3px rgba(106, 168, 255, 0.25);
}

.formControl::placeholder {
    color: #aaa;
}

.selectWrapper {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.selectWrapper label{
    display: inline-block;
    margin-bottom: 5px;
    color: #575757;
}

.form .btn{
    margin-top: 15px;
}