potree_build/src/components/PotreeSidebar.css
2025-07-30 14:09:58 +07:00

1213 lines
22 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* Панель настроек */
.sidebar-panel {
position: relative;
z-index: 2000;
transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sidebar-panel.hidden {
opacity: 0;
transform: translateX(-100px) scale(0.8);
pointer-events: none;
}
.sidebar-panel.stone-drop {
animation: stoneDrop 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes stoneDrop {
0% {
opacity: 1;
transform: translateX(0) translateY(0) scale(1) rotate(0deg);
}
30% {
opacity: 0.8;
transform: translateX(-20px) translateY(10px) scale(0.95) rotate(-5deg);
}
60% {
opacity: 0.4;
transform: translateX(-60px) translateY(40px) scale(0.7) rotate(-15deg);
}
100% {
opacity: 0;
transform: translateX(-120px) translateY(100px) scale(0.3) rotate(-30deg);
pointer-events: none;
}
}
/* Кнопка-триггер */
.sidebar-trigger {
width: 50px;
height: 50px;
border-radius: 50%;
background: rgba(54, 153, 255, 0.9);
border: none;
color: white;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 12px rgba(54, 153, 255, 0.3);
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}
.sidebar-trigger:hover {
background: rgba(54, 153, 255, 1);
transform: scale(1.1);
box-shadow: 0 6px 16px rgba(54, 153, 255, 0.4);
}
.sidebar-trigger.active {
background: rgba(54, 153, 255, 1);
transform: scale(1.05);
}
.sidebar-trigger img {
transition: transform 0.3s ease;
}
.sidebar-trigger.active img {
transform: rotate(180deg);
}
.sidebar-trigger:disabled {
opacity: 0.5;
cursor: not-allowed;
background: rgba(120, 120, 120, 0.6);
}
.sidebar-trigger:disabled:hover {
transform: none;
background: rgba(120, 120, 120, 0.6);
box-shadow: 0 4px 12px rgba(120, 120, 120, 0.2);
}
/* Оверлей */
.sidebar-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: transparent;
z-index: 1999;
animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* Попап с настройками */
.sidebar-popup {
position: absolute;
left: 60px;
top: -10px;
background: rgba(255, 255, 255, 0.95);
border-radius: 12px;
box-shadow: 0 8px 32px rgba(54, 153, 255, 0.2);
backdrop-filter: blur(20px);
border: 1px solid rgba(54, 153, 255, 0.1);
min-width: 320px;
max-width: 380px;
max-height: calc(85vh - 80px);
animation: slideInLeft 0.3s ease;
z-index: 2001;
overflow: hidden;
display: flex;
flex-direction: column;
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-20px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Заголовок попапа */
.sidebar-popup-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
border-bottom: 1px solid rgba(54, 153, 255, 0.1);
background: rgba(54, 153, 255, 0.05);
border-radius: 12px 12px 0 0;
flex-shrink: 0;
}
.sidebar-popup-header h3 {
margin: 0;
color: #181c32;
font-size: 16px;
font-weight: bold;
}
.sidebar-close {
background: none;
border: none;
color: #7e8299;
font-size: 24px;
cursor: pointer;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.2s ease;
flex-shrink: 0;
}
.sidebar-close:hover {
background: rgba(54, 153, 255, 0.1);
color: #3699ff;
transform: scale(1.1);
}
/* Содержимое попапа */
.sidebar-popup-content {
padding: 0;
overflow-y: auto;
overflow-x: hidden;
flex: 1;
min-height: 0;
}
/* Секции настроек */
.sidebar-section {
border-bottom: 1px solid rgba(54, 153, 255, 0.1);
}
.sidebar-section:last-child {
border-bottom: none;
}
.section-header {
background: #f5f8fa;
color: #181c32;
padding: 15px 20px;
margin: 0;
cursor: pointer;
font-size: 14px;
font-weight: bold;
border: none;
transition: all 0.2s ease;
user-select: none;
width: 100%;
text-align: left;
display: flex;
justify-content: space-between;
align-items: center;
}
.section-header:hover {
background: rgba(54, 153, 255, 0.1);
}
.section-header.active {
background: rgba(54, 153, 255, 0.15);
}
.section-arrow {
transition: transform 0.3s ease;
color: #7e8299;
font-size: 12px;
}
.section-content {
padding: 15px 20px;
background: white;
animation: slideDown 0.3s ease;
}
@keyframes slideDown {
from {
opacity: 0;
max-height: 0;
padding-top: 0;
padding-bottom: 0;
}
to {
opacity: 1;
max-height: 1000px;
padding-top: 15px;
padding-bottom: 15px;
}
}
/* Разделители */
.divider {
margin: 15px 0 10px 0;
padding: 5px 0;
font-size: 12px;
font-weight: bold;
color: #7e8299;
text-transform: uppercase;
border-bottom: 1px solid rgba(54, 153, 255, 0.1);
}
/* Группы контролов */
.control-group {
margin-bottom: 15px;
}
.control-group label {
display: block;
margin-bottom: 5px;
font-size: 12px;
font-weight: bold;
color: #181c32;
}
.control-group .value {
color: #3699ff;
font-weight: bold;
margin-left: 5px;
}
/* Слайдеры */
.slider {
width: 100%;
height: 6px;
border-radius: 3px;
background: #e4e6ea;
outline: none;
-webkit-appearance: none;
margin: 8px 0;
position: relative;
cursor: pointer;
transition: all 0.2s ease;
}
.slider:hover {
background: #d7dae2;
}
/* WebKit слайдеры */
.slider::-webkit-slider-track {
width: 100%;
height: 6px;
cursor: pointer;
background: transparent;
border-radius: 3px;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
height: 18px;
width: 18px;
border-radius: 50%;
background: #3699ff;
cursor: pointer;
box-shadow: 0 2px 6px rgba(54, 153, 255, 0.3);
transition: all 0.2s ease;
position: relative;
z-index: 2;
}
.slider::-webkit-slider-thumb:hover {
background: #1e7ff0;
transform: scale(1.1);
box-shadow: 0 3px 8px rgba(54, 153, 255, 0.4);
}
.slider::-webkit-slider-thumb:active {
transform: scale(1.15);
background: #0056d6;
box-shadow: 0 4px 12px rgba(54, 153, 255, 0.5);
}
/* Firefox слайдеры */
.slider::-moz-range-track {
width: 100%;
height: 6px;
cursor: pointer;
background: #e4e6ea;
border-radius: 3px;
border: none;
}
.slider::-moz-range-thumb {
height: 18px;
width: 18px;
border-radius: 50%;
background: #3699ff;
cursor: pointer;
box-shadow: 0 2px 6px rgba(54, 153, 255, 0.3);
border: none;
transition: all 0.2s ease;
}
.slider::-moz-range-thumb:hover {
background: #1e7ff0;
transform: scale(1.1);
box-shadow: 0 3px 8px rgba(54, 153, 255, 0.4);
}
.slider::-moz-range-thumb:active {
transform: scale(1.15);
background: #0056d6;
box-shadow: 0 4px 12px rgba(54, 153, 255, 0.5);
}
.slider::-moz-range-progress {
background: #3699ff;
height: 6px;
border-radius: 3px;
}
/* IE слайдеры */
.slider::-ms-track {
width: 100%;
height: 6px;
cursor: pointer;
background: transparent;
border-color: transparent;
color: transparent;
}
.slider::-ms-fill-lower {
background: #3699ff;
border-radius: 3px;
}
.slider::-ms-fill-upper {
background: #e4e6ea;
border-radius: 3px;
}
.slider::-ms-thumb {
height: 18px;
width: 18px;
border-radius: 50%;
background: #3699ff;
cursor: pointer;
border: none;
}
.slider::-ms-thumb:hover {
background: #1e7ff0;
}
/* Прогресс-индикатор для слайдеров */
.slider::before {
content: '';
position: absolute;
top: 0;
left: 0;
height: 6px;
background: #3699ff;
border-radius: 3px;
pointer-events: none;
transition: width 0.2s ease;
width: var(--progress, 0%);
z-index: 1;
}
@supports not (width: var(--progress)) {
.slider::before {
width: 0%;
}
}
.slider[style*="--progress: 100%"]::before {
border-radius: 3px;
}
.slider:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(54, 153, 255, 0.2);
border-radius: 3px;
}
.slider:hover::before {
background: #1e7ff0;
}
/* Чекбоксы */
.checkbox-label {
display: flex;
align-items: center;
margin-bottom: 8px;
cursor: pointer;
font-size: 12px;
color: #181c32;
}
.checkbox-label input[type="checkbox"] {
margin-right: 8px;
width: 16px;
height: 16px;
accent-color: #3699ff;
}
/* Радио кнопки */
.radio-group {
display: flex;
flex-direction: column;
gap: 8px;
margin: 10px 0;
}
.radio-label {
display: flex;
align-items: center;
cursor: pointer;
font-size: 12px;
color: #181c32;
}
.radio-label input[type="radio"] {
margin-right: 8px;
width: 16px;
height: 16px;
accent-color: #3699ff;
}
/* Переключатели */
.toggle-group {
display: flex;
background: #e4e6ea;
border-radius: 8px;
padding: 2px;
margin: 8px 0;
position: relative;
overflow: hidden;
--active-index: 0;
}
.size-type-group {
--active-index: 1;
}
.shape-group {
--active-index: 0;
}
.color-group {
--active-index: 0;
}
/* Фон для активного переключателя */
.toggle-group::before {
content: '';
position: absolute;
top: 2px;
left: 2px;
height: calc(100% - 4px);
background: #3699ff;
border-radius: 6px;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
z-index: 1;
pointer-events: none;
}
.toggle-group::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
transform: translateX(-100%);
transition: transform 0.6s ease;
pointer-events: none;
}
.toggle-group:hover::after {
transform: translateX(100%);
}
/* Позиция фона для двух кнопок */
.toggle-group:not(.three-buttons)::before {
width: calc(50% - 2px);
transform: translateX(calc(var(--active-index) * 100%));
}
/* Позиция фона для трёх кнопок */
.toggle-group.three-buttons::before {
width: calc(33.333% - 2px);
transform: translateX(calc(var(--active-index) * 100%));
}
.toggle-group.three-buttons .toggle-button {
flex: 1;
min-width: 0;
}
.size-type-group .toggle-button {
min-width: 80px;
font-size: 11px;
}
.toggle-button {
background: transparent;
border: none;
padding: 8px 12px;
color: #7e8299;
font-size: 12px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
z-index: 2;
flex: 1;
white-space: nowrap;
text-align: center;
border-radius: 6px;
user-select: none;
}
.toggle-button:hover {
color: #181c32;
background: rgba(54, 153, 255, 0.1);
}
.toggle-button.active {
color: white;
font-weight: bold;
}
.toggle-button.active:hover {
color: white;
}
/* Сетка инструментов */
.tools-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8px;
margin: 10px 0;
}
/* Состояние загрузки */
.loading-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 30px;
min-height: 120px;
}
.spinner {
width: 32px;
height: 32px;
border: 3px solid #e4e6ea;
border-top: 3px solid #3699ff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loading-text {
margin-top: 12px;
font-size: 12px;
color: #7e8299;
opacity: 0;
transition: opacity 0.25s ease;
}
.loading-text.visible {
opacity: 1;
}
.loading-text.hidden {
opacity: 0;
}
@keyframes pulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
/* Кнопки инструментов */
.tool-button {
width: 50px;
height: 50px;
background: rgba(54, 153, 255, 0.1);
border: 1px solid rgba(54, 153, 255, 0.2);
border-radius: 8px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.tool-button:hover {
background: rgba(54, 153, 255, 0.2);
border-color: rgba(54, 153, 255, 0.4);
transform: scale(1.05);
}
.tool-button img {
width: 24px;
height: 24px;
filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(200deg) brightness(104%) contrast(97%);
transition: all 0.2s ease;
}
.tool-button:hover img {
transform: scale(1.1);
filter: brightness(1.2);
}
.tool-button.active {
background: rgba(255, 59, 48, 0.9);
border-color: rgba(255, 59, 48, 0.8);
box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
transform: scale(1.05);
}
.tool-button.active:hover {
background: rgba(255, 59, 48, 1);
transform: scale(1.1);
}
.tool-button.active img {
filter: brightness(1.3) contrast(1.2);
}
.tool-button:disabled {
opacity: 0.5;
cursor: not-allowed;
background: rgba(120, 120, 120, 0.6);
}
.tool-button:disabled:hover {
transform: none;
background: rgba(120, 120, 120, 0.6);
box-shadow: 0 4px 12px rgba(120, 120, 120, 0.2);
}
/* Новые стили для фильтров */
/* Опции обрезки */
.clip-options {
margin: 10px 0;
}
.radio-label {
display: flex;
align-items: center;
margin-bottom: 6px;
cursor: pointer;
font-size: 11px;
color: #181c32;
padding: 2px 0;
}
.radio-label input[type="radio"] {
margin-right: 6px;
width: 14px;
height: 14px;
accent-color: #3699ff;
}
/* Классификационные фильтры */
.classification-controls {
margin: 10px 0;
}
.classification-buttons {
display: flex;
gap: 6px;
margin-bottom: 10px;
}
.filter-button {
flex: 1;
padding: 6px 8px;
background: rgba(54, 153, 255, 0.1);
border: 1px solid rgba(54, 153, 255, 0.2);
border-radius: 4px;
color: #3699ff;
font-size: 10px;
font-weight: bold;
cursor: pointer;
transition: all 0.2s ease;
}
.filter-button:hover {
background: rgba(54, 153, 255, 0.2);
border-color: rgba(54, 153, 255, 0.4);
transform: translateY(-1px);
}
.classification-list {
max-height: 150px;
overflow-y: auto;
border: 1px solid rgba(54, 153, 255, 0.1);
border-radius: 4px;
padding: 6px;
background: #f9fafb;
}
.classification-item {
display: flex;
align-items: center;
margin-bottom: 4px;
cursor: pointer;
font-size: 10px;
padding: 3px 4px;
border-radius: 3px;
transition: background-color 0.2s ease;
}
.classification-item:hover {
background: rgba(54, 153, 255, 0.05);
}
.classification-item input[type="checkbox"] {
margin-right: 6px;
width: 12px;
height: 12px;
accent-color: #3699ff;
}
.classification-name {
flex: 1;
color: #181c32;
margin-right: 6px;
}
.classification-color {
width: 14px;
height: 14px;
border-radius: 2px;
border: 1px solid rgba(0, 0, 0, 0.1);
flex-shrink: 0;
}
/* Фильтры возвратов */
.return-filters {
margin: 10px 0;
}
.range-control {
margin-bottom: 12px;
}
.range-control label {
display: block;
margin-bottom: 6px;
font-size: 10px;
font-weight: bold;
color: #181c32;
}
.range-inputs {
display: flex;
gap: 6px;
align-items: center;
}
.range-inputs input[type="range"] {
flex: 1;
height: 3px;
background: #e4e6ea;
border-radius: 2px;
outline: none;
-webkit-appearance: none;
}
.range-inputs input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background: #3699ff;
cursor: pointer;
box-shadow: 0 1px 3px rgba(54, 153, 255, 0.3);
}
.range-inputs input[type="range"]::-moz-range-thumb {
width: 12px;
height: 12px;
border-radius: 50%;
background: #3699ff;
cursor: pointer;
border: none;
box-shadow: 0 1px 3px rgba(54, 153, 255, 0.3);
}
/* GPS время фильтр */
.gps-time-filter {
margin: 10px 0;
}
.gps-time-filter label {
display: block;
margin-bottom: 6px;
font-size: 10px;
font-weight: bold;
color: #181c32;
}
/* Управление режимом камеры */
.camera-mode-controls {
margin: 10px 0;
}
.camera-mode-controls .filter-button {
width: 100%;
padding: 12px 16px;
font-size: 14px;
font-weight: 500;
text-align: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.camera-mode-controls .filter-button:hover {
background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.camera-mode-controls .filter-button:active {
transform: translateY(0);
box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}
/* Кнопка обновления отображения */
.camera-mode-controls .filter-button:last-child {
margin-top: 8px;
background: linear-gradient(135deg, #28a745, #20c997);
font-size: 12px;
padding: 8px 12px;
}
.camera-mode-controls .filter-button:last-child:hover {
background: linear-gradient(135deg, #218838, #1e7e34);
}
/* Скроллбар */
.sidebar-popup-content::-webkit-scrollbar {
width: 4px;
}
.sidebar-popup-content::-webkit-scrollbar-track {
background: transparent;
border-radius: 2px;
}
.sidebar-popup-content::-webkit-scrollbar-thumb {
background: rgba(54, 153, 255, 0.3);
border-radius: 2px;
}
.sidebar-popup-content::-webkit-scrollbar-thumb:hover {
background: rgba(54, 153, 255, 0.5);
}
/* Адаптивность */
@media (max-width: 768px) {
.sidebar-panel {
font-size: 14px;
}
.sidebar-trigger {
width: 45px;
height: 45px;
}
.sidebar-popup {
left: 55px;
min-width: 280px;
max-width: 320px;
max-height: 90vh;
}
.sidebar-popup-header {
padding: 12px 15px;
}
.section-content {
padding: 12px 15px;
}
.tools-grid {
grid-template-columns: repeat(2, 1fr);
gap: 6px;
}
.tool-button {
width: 45px;
height: 45px;
}
.tool-button img {
width: 20px;
height: 20px;
}
.loading-state {
padding: 20px;
}
.spinner {
width: 28px;
height: 28px;
}
.loading-text {
font-size: 11px;
}
.toggle-button {
padding: 6px 8px;
font-size: 11px;
}
.toggle-group {
margin: 6px 0;
}
.size-type-group .toggle-button {
min-width: 70px;
font-size: 10px;
}
.classification-list {
max-height: 120px;
}
}
@media (max-width: 480px) {
.sidebar-popup {
position: fixed;
left: 0;
top: auto;
bottom: 0;
right: 0;
max-width: none;
min-width: auto;
border-radius: 12px 12px 0 0;
animation: slideInUp 0.3s ease;
max-height: 70vh;
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(100%);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.classification-list {
max-height: 100px;
}
.range-control {
margin-bottom: 8px;
}
}
/* Стили для секции настроек пользователя */
.user-settings-panel {
padding: 15px;
background: rgba(0, 0, 0, 0.05);
border-radius: 8px;
border: 1px solid rgba(54, 153, 255, 0.1);
}
.settings-info {
margin-bottom: 15px;
font-size: 14px;
color: #666;
}
.settings-info p {
margin: 5px 0;
}
.settings-info strong {
color: #3699ff;
font-weight: 600;
}
.settings-actions {
display: flex;
flex-direction: column;
gap: 10px;
}
.btn-save-settings,
.btn-reset-settings {
padding: 10px 15px;
border: none;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 5px;
}
.btn-save-settings {
background: linear-gradient(135deg, #28a745, #20c997);
color: white;
box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}
.btn-save-settings:hover:not(:disabled) {
background: linear-gradient(135deg, #218838, #1e7e34);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}
.btn-reset-settings {
background: linear-gradient(135deg, #ffc107, #fd7e14);
color: #212529;
box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}
.btn-reset-settings:hover:not(:disabled) {
background: linear-gradient(135deg, #e0a800, #e8590c);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}
.btn-save-settings:disabled,
.btn-reset-settings:disabled {
opacity: 0.6;
cursor: not-allowed;
transform: none;
}
.settings-message {
margin-top: 10px;
padding: 8px 12px;
border-radius: 4px;
font-size: 13px;
font-weight: 500;
text-align: center;
animation: fadeInMessage 0.3s ease;
}
.settings-message.success {
background: rgba(40, 167, 69, 0.1);
color: #28a745;
border: 1px solid rgba(40, 167, 69, 0.2);
}
.settings-message.error {
background: rgba(255, 59, 48, 0.1);
border-color: rgba(255, 59, 48, 0.3);
color: #ff3b30;
}
.settings-message.info {
background: rgba(54, 153, 255, 0.1);
border-color: rgba(54, 153, 255, 0.3);
color: #3699ff;
}
@keyframes fadeInMessage {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Подтверждение сброса */
.reset-confirm {
padding: 15px;
background: rgba(220, 53, 69, 0.05);
border: 2px solid rgba(220, 53, 69, 0.2);
border-radius: 8px;
text-align: center;
animation: slideInConfirm 0.3s ease;
margin-bottom: 15px;
}
.reset-confirm p {
margin: 0 0 15px 0;
color: #721c24;
font-weight: 500;
font-size: 14px;
}
.confirm-buttons {
display: flex;
gap: 10px;
justify-content: center;
}
/* Специальные стили для кнопок сброса с подписями */
.tool-button {
position: relative;
}
.tool-button span {
position: absolute;
bottom: -20px;
left: 50%;
transform: translateX(-50%);
font-size: 9px;
color: #3699ff;
font-weight: 500;
white-space: nowrap;
opacity: 0;
transition: opacity 0.2s ease;
}
.tool-button:hover span {
opacity: 1;
}
/* Увеличиваем отступ для grid с подписями */
.tools-grid:has(.tool-button span) {
gap: 25px 10px;
padding-bottom: 10px;
}
/* Анимации */
@keyframes slideInConfirm {
from {
opacity: 0;
transform: scale(0.9) translateY(-10px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}
/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
.confirm-buttons {
flex-direction: column;
}
}