.firework {
    position: absolute;
    width: 20px;
    height: 20px;
    
    background: radial-gradient(circle, violet, blue, green, yellow, orange, red);
    border-radius: 50%;
    animation: explode 1s ease-out;
}

@keyframes explode {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(20); opacity: 0; }
}

.emoji {
    position: absolute;
    font-size: 2rem;
    animation: floatUp 1s ease-out;
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(1.5); opacity: 0; }
}

.star {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, gold, orange, transparent);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: explode 1s ease-out;
}

.slider-image {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.slider-image.fade-in {
    opacity: 1;
}

.slider-image.fade-out {
    opacity: 0;
}


.slider-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
}

.prev-slide, .next-slide {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.slider-nav label {
    display: flex;
    align-items: center;
    gap: 5px;
}

.photo-block {
    margin: 20px auto;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.photo-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.photo-slider {
    width: 100%;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.photo-filters {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.photo-thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

.delete-photo-icon {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

/* Заголовок "Галерея фото" */
.photo-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.photo-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px 5px 0 0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400; /* Стандартный вес для тулбара */
}

/* Панель фильтров */
.photo-filters {
    display: flex;
    align-items: center;
    padding: 5px;
    gap: 10px; /* Промежутки между элементами */
}

/* Надпись "Ефекти фото" */
.photo-brightness-label {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Кнопки фильтров */
.photo-filter-btn {
    padding: 5px 10px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    /*  font-family: 'Roboto', sans-serif; */
    font-size: 14px;
    font-weight: 400;
}

.photo-filter-btn:hover {
    background: #e0e0e0;
}

/* Кнопка удаления блока */
.delete-photo-block {
    background: transparent; /* Прозрачный фон */
    border: none;
    padding: 0;
    cursor: pointer;
}
.video-block {
    width: 100%;
    margin: 10px;
    position: relative;
    z-index: 10;
}

.video-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: white; /* По умолчанию белый фон */
    border-radius: 5px;
    position: relative;
}

.toolbar-left {
    display: flex;
    align-items: center;
}

.toolbar-right {
    display: flex;
    align-items: center;
}

.video-drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background-color: #f9f9f9;
    margin-top: 5px;
}

.video-drop-area:hover {
    background-color: #f0f0f0;
}

.video-content {
    max-width: 100%;
    border-radius: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}