.settings-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 249, 245, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(237, 123, 171, 0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(237, 123, 171, 0.05);
}

.form-section h3 {
    color: #ed7bab;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #f5d3dd;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #ed7bab;
    box-shadow: 0 0 0 3px rgba(237, 123, 171, 0.2);
}

.size-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.btn-save {
    background: #ed7bab;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-save:hover {
    background: #db6a9b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 123, 171, 0.3);
}

.error {
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}
        :root {
            --premium-color: #ff99c2;
            --free-color: rgba(255, 249, 245, 0.7);   
            --text-color: #937CB3; /* Новый цвет текста */
            font-family: 'Shantell Sans', cursive;
            /* 937CB3 */
        }
        * {
            font-family: 'Shantell Sans', cursive;
            

        }

        body {
            background-color: rgba(255, 249, 245, 0.7) !important;
        }

        .comparison-section {
            padding: 4rem 0;
            background:  rgba(255, 249, 245, 0.7);
        }

        

        .pricing-card {
            background: white;
            border-radius: 15px;
            padding: 2rem;
            margin: 1rem;
            box-shadow: 
                0 2px 8px rgba(237, 123, 171, 0.24), /* Более тонкая тень */
                inset 1px 1px 2px rgba(255,255,255,0.6);
            border: 2px solid rgba(255, 255, 255, 0.3);
            transition: transform 0.3s ease;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
        }

        .premium-card {
            border: 3px solid var(--premium-color);
            position: relative;
            overflow: hidden;
        }

        .price-amount {
        background: var(--premium-color);
        color: white;
        padding: 8px 15px;
        border-radius: 12px;
        display: inline-block;
        font-size: 1.4rem;
        line-height: 1;
        box-shadow: 0 2px 6px rgba(255, 153, 194, 0.3);
    }

    .price-period {
        color: var(--text-color);
        font-size: 0.9rem;
        display: block;
        margin-top: 4px;
        opacity: 0.9;
    }

    .price-tag {
        display: inline-flex;
        /* flex-direction: column; */
        align-items: center;
        gap: 2px;
        vertical-align: middle;
    }

    .premium-badge {
        position: absolute;
        top: 15px;
        right: -30px;
        background: var(--premium-color);
        color: white;;
        transform: rotate(45deg);
        z-index: 2;
        padding: 5px 30px;
        font-size: 0.8rem;
    }

    .premium-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1rem;
        position: relative;
    }

        .feature-list {
            list-style: none;
            padding: 0;
        }

        .feature-list li {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }

        .feature-list li i {
            margin-right: 10px;
            width: 25px;
            text-align: center;
        }

        .btn-premium {
            background: var(--premium-color);
            color: white;
            padding: 12px 30px;
            border-radius: 25px;
            font-weight: bold;
            text-transform: uppercase;
            transition: all 0.3s ease;
        }

        .btn-premium:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 15px rgba(255,107,107,0.3);
        }

        .section-title {
            /* color: #f5dedd; */
            /* text-shadow: 2px 2px 4px rgba(0,0,0,0.1); */
            margin-bottom: 2rem;
        }

        @media (max-width: 768px) {
            .pricing-card {
                margin: 1rem 0;
            }
        }

        .logo {
            color: #f5d3dd;
            font-size: 4em;
            line-height: 1;
            font-weight: bold;
            text-shadow: 
                2px 2px 0px #ff99c2,
                3px 3px 0px #ff99c2,
                4px 4px 0px #ff99c2,
                5px 5px 0px #ff99c2,
                6px 6px 0px #ff99c2,
                8px 8px 6px rgba(237, 123, 171, 0.3),
                12px 12px 10px rgba(237, 123, 171, 0.2);
            display: inline-block;
            margin: 0 auto 20px;
        }

        .header {
            height: 10vh;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2vw;
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
            z-index: 1000;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 1.5vw;
        }
        .dropdown-menu.show-dropdown {
            display: block !important;
        }

        .user-menu {
            display: flex;
            align-items: center;
            margin-left: auto; /* Переносим блок вправо */
            position: relative;
        }

        .user-profile {
            width: 3vw;
            height: 3vw;
            position: relative;
            align-items: center;

            top: 0;
            left: 0;
            display: inline-block;

        }

        .user-profile img {
            width: 100%;
            height: 100%;
        }

        .dropdown-icon {
            cursor: pointer;
            padding: 8px;
            margin-right: 20px;
            display: flex;
            align-items: center;
        }

        .dropdown-icon svg {
            width: 24px;
            height: 24px;
            fill: #ff99c2;
            transition: transform 0.3s ease;
        }

        .dropdown-menu {
            right: 0;
            left: auto;
            background: white;
            margin-top: 8px;
            border-radius: 15px;
            box-shadow: 
                0 2px 8px rgba(237, 123, 171, 0.24), /* Более тонкая тень */
                inset 1px 1px 2px rgba(255,255,255,0.6);
            border: 2px solid rgba(255, 255, 255, 0.3);
            position: absolute;
            top: 100%;
            z-index: 1001; /* Убедимся что меню поверх других элементов */
        }

        .dropdown-menu a {
            color: #937CB3;
            text-decoration: none;
            padding: 10px 
        }

            /* Основной цвет текста для всего документа */
    body {
        color: var(--text-color);
    }

    /* Переопределение bootstrap цветов */
    .text-muted {
        color: var(--text-color) !important;
        opacity: 0.8;
    }

    .pricing-card {
        background: white;
        color: var(--text-color); /* Цвет текста в карточках */
    }

    .feature-list li {
        color: var(--text-color);
    }

    .benefit-item h4,
    .benefit-item p {
        color: var(--text-color);
    }

        .dropdown-menu a:hover {
            transform: scale(1.05);
            font-weight: bold;
            transition: all 0.2s ease; /* Добавить плавность */
            display: inline-block; /* Для работы transform */
        }

        .dropdown-trigger {
            cursor: pointer;
            padding: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .dropdown-menu.show-dropdown {
            display: flex !important; /* Показываем через flex */
            flex-direction: column !important;
        }

        .price-box {
        background: rgba(255, 153, 194, 0.15);
        border: 2px solid var(--premium-color);
        border-radius: 20px;
        padding: 15px 25px;
        margin: 20px 0;
        text-align: center;
        font-size: 1.8rem;
        font-weight: bold;
        color: var(--premium-color);
        box-shadow: 0 4px 15px rgba(255, 153, 194, 0.2);
        position: relative;
        display: inline-block;
    }

    p.text-premium {
        color: #f5d3dd !important;
    }

    h3.text-premium,
    h3 {
        color: #f5d3dd !important;
            font-size: 2em; /* Уменьшенный размер шрифта */
            line-height: 1;
            font-weight: bold;
            text-shadow: 
                1px 1px 0px #ff99c2,    /* Уменьшено в 2 раза */
                1.5px 1.5px 0px #ff99c2, /* Промежуточное значение */
                2px 2px 0px #ff99c2,
                2.5px 2.5px 0px #ff99c2,
                3px 3px 0px #ff99c2,
                4px 4px 3px rgba(237, 123, 171, 0.3), /* Уменьшено */
                6px 6px 5px rgba(237, 123, 171, 0.2); /* Уменьшено */
            display: inline-block;
            /* margin: 0 auto 10px; Уменьшенный отступ */
    }

    .user-profile:hover .user-avatar {
            opacity: 0;
        }

        .user-profile:hover::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:url("/static/images/default-avatar-hover.png");
            background-size: cover;
        }
        
        /* О стиле timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-badge {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    /* background: #f8f9fa;
    border: 2px solid #ff99c2; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.timeline-content {
    /* background: #f8f9fa; */
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid #ff99c2;
}

.timeline-content h5 {
    color: #937CB3;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.card {
    border-radius: 15px;
    border: none !important;;
}
.card-header {
    border-radius: 15px 15px 0px 0px !important;
    /* background: #937CB3 !important; */
    background-color: rgba(255, 249, 245, 0.7) !important;
    /* border-bottom: 1px solid #937CB3 !important; */
    border-bottom: none !important;
}



@media (max-width: 768px) {

    .user-profile {
        width: 50px;
        height: 50px;
    }

}

@media (max-width: 436px) {
    .logo {
        font-size: 3.5em;
    }
}