:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #51cf66, #40b955);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
}

/* 🎨 Главная страница */
.create-post-page {
    min-height: 100vh;
    background: var(--primary-gradient);
    position: relative;
    overflow-x: hidden;
}

.create-post-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="20" cy="20" r="2" fill="url(%23a)"><animate attributeName="r" values="2;3;2" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="80" r="1.5" fill="url(%23a)"><animate attributeName="r" values="1.5;2.5;1.5" dur="4s" repeatCount="indefinite"/></circle></svg>');
    pointer-events: none;
    z-index: 0;
}

/* 🔥 СВЕТЛО-КРАСНАЯ КНОПКА ОТМЕНЫ - ДОБАВИТЕ ЗДЕСЬ */
#cancelFilesBtn {
    background: linear-gradient(135deg, #ff9999, #ff8080) !important;
    border: 2px solid #ffb3b3 !important;
    color: #d63333 !important;
    padding: 0.75rem 1.25rem !important;  /* ✅ ПОУЖЕ - меньше padding */
    min-width: 140px !important;         /* ✅ Фиксированная ширина */
    font-size: 0.95rem !important;       /* ✅ Меньший шрифт */
}

#cancelFilesBtn:hover {
    background: linear-gradient(135deg, #ff8080, #ff6666) !important;
    border-color: #ff9999 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 153, 153, 0.4);
}

#cancelFilesBtn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 153, 153, 0.3);
}


/* 🎭 Hero Header */
.hero-header {
    position: relative;
    text-align: center;
    padding: 0rem 0rem;
    color: white;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.2) 0%, transparent 50%);
    animation: heroShine 6s ease-in-out infinite;
}

@keyframes heroShine {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 0rem;
    background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

/* 🏗️ Контейнер */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0rem 0rem;
    position: relative;
    z-index: 2;
}

/* 🧱 Glassmorphism Card */
.post-form-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    overflow: hidden;
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-effect:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 35px 70px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 📋 Секции формы */
.profile-form-section {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.profile-form-section:last-child {
    border-bottom: none;
    padding-bottom: 2rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.label-icon {
    font-size: 1.5rem;
    background: none;
    background-image: none;
    /* убираем градиент для текста */
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    color: currentColor; /* иконка будет как обычный текст/иконка */
}

/* 📝 Текстовое поле */
.post-textarea {
    width: 100%;
    min-height: 60px;
    padding: 1.5rem 1.75rem;
    border: 2px solid transparent;
    border-radius: 24px;
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-sizing: border-box;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.post-textarea:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 
        0 0 0 4px rgba(81, 207, 102, 0.2),
        0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    background: rgba(255,255,255,0.95);
}

.gradient-border {
    background: linear-gradient(white, white) padding-box,
                var(--success-gradient) border-box;
    border: 2px solid transparent;
}

/* 📸 Зона загрузки - 🔥 ПРЕМИУМ ДИЗАЙН */
.upload-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.file-counter {
    background: linear-gradient(135deg, #51cf66, #40b955);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(81,207,102,0.4);
    animation: pulse-green 2s infinite;
}

.file-counter.ready {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: pulse-success 2s infinite;
}

.file-counter.full {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse-danger 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 15px rgba(81,207,102,0.4); }
    50% { box-shadow: 0 4px 25px rgba(81,207,102,0.6); }
}

@keyframes pulse-success {
    0%, 100% { box-shadow: 0 4px 20px rgba(16,185,129,0.5); }
    50% { box-shadow: 0 4px 30px rgba(16,185,129,0.7); transform: scale(1.05); }
}

@keyframes pulse-danger {
    0%, 100% { box-shadow: 0 4px 15px rgba(239,68,68,0.4); }
    50% { box-shadow: 0 4px 25px rgba(239,68,68,0.6); }
}

.file-upload-zone {
    position: relative;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.upload-label-wrapper {
    display: block;
    cursor: pointer;
}
/*
.upload-area {
    border: 3px dashed transparent;
    border-radius: 28px;
    padding: 1rem 1rem;
    text-align: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.upload-area::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--success-gradient);
    border-radius: 31px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-area.highlight::before {
    opacity: 1;
}

.upload-area.highlight {
    border-color: transparent;
    background: linear-gradient(145deg, rgba(81,207,102,0.1), rgba(64,185,85,0.1));
    transform: scale(1.03);
    box-shadow: 
        0 25px 50px rgba(81,207,102,0.3),
        inset 0 1px 0 rgba(255,255,255,0.5);
}
*/
.upload-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 8px 20px rgba(81,207,102,0.4));
    transition: all 0.3s ease;
}

.upload-area.highlight .upload-icon {
    transform: scale(1.1) rotate(10deg);
    filter: drop-shadow(0 10px 25px rgba(81,207,102,0.5));
}

.upload-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a2d;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.upload-hint {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.upload-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.upload-stats span {
    background: rgba(81,207,102,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* 🔥 Галерея превью 
.image-preview-container {
    margin-top: 2rem;
    min-height: 120px;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}
*/
/*
.preview-item {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: slideInPreview 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}
*/
@keyframes slideInPreview {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.preview-item:nth-child(1) { animation-delay: 0.1s; }
.preview-item:nth-child(2) { animation-delay: 0.2s; }
.preview-item:nth-child(3) { animation-delay: 0.3s; }
.preview-item:nth-child(4) { animation-delay: 0.4s; }
.preview-item:nth-child(5) { animation-delay: 0.5s; }

.preview-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(81,207,102,0.3),
        0 0 0 4px rgba(81,207,102,0.2);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.preview-item:hover img {
    transform: scale(1.05);
}

.preview-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff6b6b, #ef4444);
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(239,68,68,0.4);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.audio-preview, .doc-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin: 5px 0;
}


.preview-item:hover .preview-remove {
    opacity: 1;
    transform: scale(1);
}

.preview-remove:hover {
    background: linear-gradient(145deg, #ef4444, #dc2626);
    transform: scale(1.1);
}

.preview-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: white;
    font-size: 11px;
    padding: 0.75rem 0.5rem 0.5rem;
    text-align: center;
}

.filename {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 🔥 Прогресс бар */
.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(145deg, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    color: white;
    padding: 0.5rem;
    backdrop-filter: blur(15px);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-fill {
    height: 100%;
    background: var(--success-gradient);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 10px rgba(81,207,102,0.6);
}

.progress-text {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.upload-icons-row {
    display: flex;
    gap: 0px;
    justify-content: center;
    margin: 1px 0;
    padding: 1px 0;
}

.upload-icon {
    padding: 10px; /* отступ от иконок сбоку */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.upload-icon:hover {
    transform: scale(1.2);
    color: #007bff;
    text-shadow: 0 0 10px rgba(0,123,255,0.5);
}

.upload-icon span {
    font-size: 14px;
    margin-top: 3px;
    font-weight: 500;
    opacity: 0.8;
}

.photo-icon { color: #ff6b6b; }
.video-icon { color: #186964; }
.audio-icon { color: #892dad; }  /* Фиолетовый */
.doc-icon { color: #0d3550; }    /* Синий */

/* ✅ СКРЫТЬ ВСЕ input[type=file] */
#fileInput, #videoInput, #uploadArea, .file-input, 
input[type="file"], .upload-area {
    display: none !important;
    opacity: 0;
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    overflow: hidden;
    z-index: -1;
}


/* 🔥 ВИДЕО СТИЛИ */
.video-upload-zone { position: relative; }
.video-upload-area { display: block; cursor: pointer; }

.video-preview-container {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.3);
    border-radius: 20px;
    min-height: 120px;
    backdrop-filter: blur(10px);
}


#videoPreview {
    min-height: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
}

.video-preview-item {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    max-width: 240px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-thumbnail {
    position: relative;
    width: 200px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
}

.filename {
    font-size: 12px;
    margin: 8px 0;
    color: #374151;
    word-break: break-all;
}

.preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(239,68,68,0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
}


.video-preview-item:nth-child(1) { animation-delay: 0.1s; }

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 80%;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview-item {
    position: relative;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-overlay {
    position: absolute;
    top: 8px; right: 8px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.video-overlay.processing {
    background: rgba(59,130,246,0.9); /* Синий */
    animation: pulse 1.5s infinite;
}

.video-overlay.ready {
    background: rgba(34,197,94,0.9); /* Зелёный */
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-bar {
    margin-top: 8px;
    height: 4px;
    background: #f3f4f6;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar div {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transition: width 0.3s ease;
}

.play-icon {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.7));
}

.duration-badge, .compression-stats {
    background: rgba(0,0,0,0.85);
    color: #10b981;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    min-width: 2.5rem;
    text-align: center;
}

.compression-stats {
    color: #10b981;
    background: rgba(16,185,129,0.2);
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

.video-info {
    padding: 0.75rem 1rem;
}

.filename {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.filesize {
    font-size: 0.75rem;
    color: #64748b;
}



/* 🎥 Видео секция */
.video-upload-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.gradient-input {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gradient-input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 4px rgba(81,207,102,0.2);
    background: rgba(255,255,255,0.95);
}

/* ⚙️ Настройки */
.settings-row {
    display: flex;
    gap: 2rem;
    align-items: end;
    flex-wrap: wrap;
}

.glass-toggle {
    background: rgba(255,255,255,0.3);
    padding: 1rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-toggle:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.checkbox:checked + .checkbox-label .checkmark {
    background: var(--success-gradient);
    border-color: transparent;
    transform: scale(0.95);
}

.checkbox:checked + .checkbox-label .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}
/*************************************************/


/* 🚀 Кнопки 3D */
.form-actions {
    display: flex;
    gap: 1.5rem;
    padding-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    position: relative;
    background: var(--success-gradient);
    color: white;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 
        0 15px 35px rgba(81,207,102,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    min-width: 220px;
    justify-content: center;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 
        0 25px 50px rgba(81,207,102,0.5),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid rgb(255, 255, 255);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-secondary {
    background: rgba(255,255,255,0.25);
    color: white;
    padding: 1.25rem 3rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* 📱 Адаптивность */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .container { padding: 0.5rem; }
    .form-section { padding: 0.5rem; }
    .settings-row { flex-direction: column; align-items: stretch; gap: 1rem; }
    .form-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .form-label { padding: 0rem 0rem; }
    .upload-area { padding: 1rem 1rem; min-height: 150px; }
    .upload-icon { font-size: 3.5rem; }
}

/* 🌟 Уведомления */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    padding: 1.25rem 2rem;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    min-width: 300px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: translateX(400px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.notification.show {
    transform: translateX(0) scale(1);
}

.notification.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.notification-icon {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.notification.success { background: linear-gradient(135deg, #10b981, #059669); }
.notification.error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.notification.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.notification.info { background: linear-gradient(135deg, #3b82f6, #2563eb); }