/* Стили для страницы станции */

.categories-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-full {
    background: white;
    border: 1px solid #e9ec ef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.category-header {
    padding: 20px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e9ecef;
}

.category-info {
    flex: 1;
}

.category-code {
    font-weight: 600;
    color: #333;
    font-size: 18px;
    margin: 0 0 8px 0;
}

.category-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.category-content {
    display: flex;
    flex-direction: column;
}

.image-section {
    padding: 30px;
    background: #fefefe;
    border-bottom: 1px solid #e9ecef;
}

.image-preview {
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-image {
    text-align: center;
    padding: 60px 40px;
    color: #999;
    font-style: italic;
    background: #fafafa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.actions-section {
    padding: 25px;
    background: #f8f9fa;
}

.upload-form {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.upload-form .file-input {
    flex: 1;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Адаптивность для страницы станции */
@media (max-width: 768px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .upload-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .image-preview img {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .image-section {
        padding: 20px;
    }
    
    .actions-section {
        padding: 20px;
    }
    
    .category-header {
        padding: 15px;
    }
}